er  dev
ERGadastCsIDigi.h
1 // -------------------------------------------------------------------------
2 // ----- ERGadastCsIDigi header file -----
3 // ----- Created 03/15 by V. Schetinin -----
4 // -------------------------------------------------------------------------
5 
6 #ifndef ERGadastCsIDigi_H
7 #define ERGadastCsIDigi_H
8 
9 
10 #include "TObject.h"
11 #include "TVector3.h"
12 
13 #include "FairMultiLinkedData.h"
14 
15 class ERGadastCsIDigi : public FairMultiLinkedData
16 {
17  public:
20 
23  ERGadastCsIDigi(Int_t id, Float_t Edep, Int_t wall, Int_t block, Int_t cell);
24 
27 
29  virtual ~ERGadastCsIDigi();
30 
31  ERGadastCsIDigi& operator=(const ERGadastCsIDigi&) { return *this; }
32 
34  virtual void Print(const Option_t* opt = 0) const;
35 
36  /* Accessors */
37  Int_t ID () const {return fID;}
38  Float_t Edep() const {return fEdep;}
39 
40  protected:
41  Int_t fID;
42  Float_t fEdep;
43  Int_t fWall, fBlock, fCell;
44 
45  ClassDef(ERGadastCsIDigi,1)
46 };
47 
48 #endif
virtual ~ERGadastCsIDigi()
virtual void Print(const Option_t *opt=0) const