class_Cluster.h
Go to the documentation of this file.
1 #ifndef CLASS_CLUSTER_H
2 #define CLASS_CLUSTER_H
3 
4 #include "class_RecoHit.h"
5 
6 class cluster
7 {
8  public:
9  cluster(int cEvent, std::vector<recoHit> cHitVector);
10  cluster();
11 
12  int getEvent();
13  int getStartChan();
14  int getEndChan();
15  int getNChan();
16  int getChanWidth();
17  int getNHits();
18  int getType();
19  int getTriggerFlag();
20  float getHitSADC();
21  float getFirstTimeHit();
22  float getLastTimeHit();
23  float getTimeWidth();
24  double getMC_EnergyNu();
25  double getMC_EnergyLep();
26  double getMC_MarlTime();
27  void printCluster();
28  void setHitSADC(float cHitSADC);
29  void setTriggerFlag(int cTriggerFlag);
30  void setMC_EnergyNu(double cMC_EnergyNu);
31  void setMC_EnergyLep(double cMC_EnergyLep);
32  void setMC_MarlTime(double cMC_Marltime);
33  std::vector<recoHit> getHits();
34 
35  private:
36  int fEvent = 0;
37  int fStartChan = 0;
38  int fEndChan = 0;
39  int fNChan = 0;
40  int fChanWidth = 0;
41  int fNHits = 0;
42  int fType = 0;
43  int fTriggerFlag = 0;
44  float fHitSADC = 0;
45  float fFirstHitTime = 0;
46  float fLastHitTime = 0;
47  float fTimeWidth = 0;
48  double fMC_EnergyNu = 0;
49  double fMC_EnergyLep = 0;
50  double fMC_MarlTime = 0;
51  std::vector<recoHit> fHitVector;
52 };
53 
54 #endif
void setTriggerFlag(int cTriggerFlag)
float getLastTimeHit() const
void setMC_EnergyNu(double cMC_EnergyNu)
void setMC_MarlTime(double cMC_Marltime)
int getType() const
float getTimeWidth() const
void setHitSADC(float cHitSADC)
float getHitSADC() const
Cluster finding and building.
int getTriggerFlag() const
double getMC_EnergyLep() const
std::vector< recoHit > getHits() const
int getNHits() const
int getChanWidth() const
double getMC_MarlTime() const
int getNChan() const
int getEvent() const
void printCluster() const
void setMC_EnergyLep(double cMC_EnergyLep)
std::vector< recoHit > fHitVector
int getStartChan() const
double getMC_EnergyNu() const
float getFirstTimeHit() const
int getEndChan() const