FairRoot/PandaRoot
PndSdsCell.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndSdsCell header file -----
3 // ----- Created by A. Karavdina -----
4 // -------------------------------------------------------------------------
5 
12 #ifndef PNDSDSCELL_H
13 #define PNDSDSCELL_H
14 
15 #include <stdio.h>
16 #include <iostream>
17 #include "TObject.h"
18 
19 class PndSdsCell : public TObject {
20  public:
22  PndSdsCell();
23 
24  PndSdsCell(unsigned int hitUp, unsigned int hitDw);
25 
27  ~PndSdsCell();
28 
31  void SetHitUp(unsigned int &ih) { fhit_upstream = ih; }
32  void SetHitDw(unsigned int &ih) { fhit_downstream = ih; }
33  void SetPV(int &ipv) { fpv = ipv; }
34  int GetHitUp() { return fhit_upstream; }
35  int GetHitDw() { return fhit_downstream; }
36  int GetPV() { return fpv; }
37 
38  private:
39  unsigned int fhit_upstream; // hit upstream
40  unsigned int fhit_downstream; // hit downstream
41  int fpv; // cell position in evolution
42 
43  /* Int_t fsecMC; ///< unique sensor ID */
44  /* bool fisMerged; */
45  ClassDef(PndSdsCell, 1);
46 };
47 
48 #endif
int GetPV()
Definition: PndSdsCell.h:36
unsigned int fhit_downstream
Definition: PndSdsCell.h:40
void SetHitDw(unsigned int &ih)
Definition: PndSdsCell.h:32
int GetHitDw()
Definition: PndSdsCell.h:35
unsigned int fhit_upstream
Definition: PndSdsCell.h:39
int GetHitUp()
Definition: PndSdsCell.h:34
void SetPV(int &ipv)
Definition: PndSdsCell.h:33
ClassDef(PndSdsCell, 1)
void SetHitUp(unsigned int &ih)
Definition: PndSdsCell.h:31