FairRoot/PandaRoot
PndLmdDigiStrips.h
Go to the documentation of this file.
1 /*
2  * PndLmdDigiStrips.h
3  *
4  * Created on: Aug 9, 2009
5  * Author: huagen
6  */
7 
8 #ifndef PNDLMDDIGISTRIPS_H_
9 #define PNDLMDDIGISTRIPS_H_
10 
11 #include "TObject.h"
12 #include <iostream>
13 #include "TString.h"
14 #include <vector>
15 using namespace std;
16 
17 
18 //define the class for the digis data, which include detName, detID
19 // FE numbers, FE channels, charge of the strip
20 // it shall be registered as a new data type
21 class PndLmdDigiStrips : public TObject
22 {
23 public:
25  PndLmdDigiStrips(Int_t index, Int_t detID, TString detName, Int_t fe, Int_t channel, Double_t charge);
26  //@param index is the position of PndLmdMCPoint in TClonesArray
27  //@param detName is the sensor name
28  //@param detID is the detID
29  //@param FE is the FE module number
30  //@param channel is the channel number in the FE moudule
31  //@param charge is the charge of the related channel
33 
34  //public method
35  std::vector<Int_t> GetIndex() const {return fIndex;}
36  Int_t GetFe() const {return fFE;}
37  Int_t GetChannel() const {return fChannel;}
38  Double_t GetCharge() const {return fCharge;}
39  TString GetDetName() const {return fdetName;}
40  Int_t GetDetID() const {return fdetID;}
41 
42 private:
44 // Int_t fIndex;
45  std::vector<Int_t> fIndex; //??
46  Int_t fdetID;
47  Int_t fFE;
48  Int_t fChannel;
50 
51 
52  ClassDef(PndLmdDigiStrips,1);
53 };
54 
55 
56 #endif /* PNDLMDDIGISTRIPS_H_ */
Int_t GetChannel() const
std::vector< Int_t > fIndex
std::vector< Int_t > GetIndex() const
Int_t GetDetID() const
TString GetDetName() const
Int_t GetFe() const
Double_t
int fe
Definition: anaLmdDigi.C:67
Double_t GetCharge() const