FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PixelDigi.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 /*
9  * PixelDigi.h
10  *
11  * Created on: 10.02.2016
12  * Author: M. Al-Turany
13  */
14 
15 #ifndef PixelDigi_H_
16 #define PixelDigi_H_
17 
18 #include "FairTimeStamp.h" // for FairTimeStamp
19 
20 #include <Rtypes.h> // for PixelDigi::Class, ClassDef, PixelDigi::St...
21 
22 class PixelDigi : public FairTimeStamp
23 {
24  public:
25  PixelDigi();
34  PixelDigi(Int_t index, Int_t detID, Int_t feID, Int_t col, Int_t row, Double_t charge, Double_t timestamp = -1);
35  virtual ~PixelDigi();
36 
37  void SetIndex(Int_t in) { fPointIndex = in; };
38  void SetDetectorID(Int_t det) { fDetectorID = det; };
39  void SetFeID(Int_t fe) { fFeID = fe; };
40  void SetCharge(Double_t ch) { fCharge = ch; };
41  void SetCol(Int_t col) { fCol = col; };
42  void SetRow(Int_t row) { fRow = row; };
43 
44  Int_t GetIndex() { return fPointIndex; };
45  Int_t GetDetectorID() { return fDetectorID; };
46  Int_t GetFeID() { return fFeID; };
47  Double_t GetCharge() { return fCharge; };
48  Int_t GetCol() { return fCol; };
49  Int_t GetRow() { return fRow; };
50 
51  private:
52  Int_t fPointIndex;
53  Int_t fDetectorID;
54  Int_t fFeID;
55  Double_t fCharge;
56  Int_t fCol;
57  Int_t fRow;
58 
59  ClassDef(PixelDigi, 1);
60 };
61 
62 #endif /* PixelDigi_H_ */
Int_t GetIndex()
Definition: PixelDigi.h:44
void SetDetectorID(Int_t det)
Definition: PixelDigi.h:38
void SetCol(Int_t col)
Definition: PixelDigi.h:41
void SetCharge(Double_t ch)
Definition: PixelDigi.h:40
void SetFeID(Int_t fe)
Definition: PixelDigi.h:39
Int_t GetRow()
Definition: PixelDigi.h:49
void SetRow(Int_t row)
Definition: PixelDigi.h:42
Int_t GetDetectorID()
Definition: PixelDigi.h:45
Int_t GetCol()
Definition: PixelDigi.h:48
Double_t GetCharge()
Definition: PixelDigi.h:47
void SetIndex(Int_t in)
Definition: PixelDigi.h:37
virtual ~PixelDigi()
Definition: PixelDigi.cxx:38
Int_t GetFeID()
Definition: PixelDigi.h:46