forked from JeffersonLab/SBS-offline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SBSGEMStand.h
43 lines (32 loc) · 1.13 KB
/
SBSGEMStand.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef SBSGEMSTAND_H
#define SBSGEMSTAND_H
#include <vector>
#include <THaTrackingDetector.h>
class THaRunBase;
class THaApparatus;
class THaEvData;
class SBSGEMPlane;
class THaCrateMap;
class SBSGEMStand : public THaTrackingDetector {
public:
SBSGEMStand( const char *name, const char *description = "",
THaApparatus *app = 0 );
virtual ~SBSGEMStand();
virtual void Clear( Option_t* opt="" );
virtual Int_t Decode( const THaEvData& );
virtual EStatus Init( const TDatime& date );
virtual Int_t ReadDatabase( const TDatime& date );
virtual Int_t CoarseTrack( TClonesArray& tracks );
virtual Int_t FineTrack( TClonesArray& tracks );
virtual Int_t DefineVariables( EMode mode = kDefine );
virtual void Print(const Option_t* opt) const;
virtual void SetDebug( Int_t level );
virtual Int_t Begin( THaRunBase* r=0 );
virtual Int_t End( THaRunBase* r=0 );
private:
std::vector <SBSGEMPlane *> fPlanes;
bool fIsMC;
THaCrateMap *fCrateMap;
ClassDef(SBSGEMStand ,0);
};
#endif