| 8 |
#include <TObject.h> |
#include <TObject.h> |
| 9 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
| 10 |
#include <TRef.h> |
#include <TRef.h> |
| 11 |
|
#include <TROOT.h> |
| 12 |
|
#include <TSystem.h> |
| 13 |
|
|
| 14 |
#include <TrkStruct.h> |
//#include <TrkStruct.h> |
| 15 |
|
#include <TrkParams.h> |
| 16 |
|
|
| 17 |
#define INC_CUT 4. |
#define INC_CUT 4. |
| 18 |
/** |
/** |
| 62 |
Int_t GetMultiplicity(Float_t); ///< cluster multiplicity |
Int_t GetMultiplicity(Float_t); ///< cluster multiplicity |
| 63 |
Int_t GetMultiplicity() { return GetMultiplicity(INC_CUT); }; |
Int_t GetMultiplicity() { return GetMultiplicity(INC_CUT); }; |
| 64 |
|
|
| 65 |
cTrkLevel1* GetLevel1Struct(); |
void GetLevel1Struct(cTrkLevel1* l1); |
| 66 |
|
void GetLevel1Struct(){GetLevel1Struct(&level1event_);}; |
| 67 |
|
|
| 68 |
Float_t GetCOG(Int_t); |
Float_t GetCOG(Int_t); |
| 69 |
Float_t GetCOG(Float_t angle); |
Float_t GetCOG(Float_t angle); |
| 70 |
Float_t GetCOG(){ return GetCOG(0); }; |
Float_t GetCOG(){ return GetCOG(0); }; |
| 71 |
Float_t GetETA(Int_t,float); |
Float_t GetETA(Int_t,float,bool); |
| 72 |
Float_t GetETA(float angle){ return GetETA(0,angle); }; |
// Float_t GetETA(float angle){ return GetETA(0,angle); }; |
| 73 |
|
Float_t GetPositionPU(float); |
| 74 |
|
|
| 75 |
|
|
| 76 |
Bool_t IsBad(Int_t); ///< bad-cluster flag |
Bool_t IsBad(Int_t); ///< bad-cluster flag |
| 77 |
Bool_t IsSaturated(Int_t); ///< saturated-cluster flag |
Bool_t IsSaturated(Int_t); ///< saturated-cluster flag |
| 78 |
|
|
| 116 |
int nclstr() {return Cluster->GetEntries();} ///< number of stored clusters |
int nclstr() {return Cluster->GetEntries();} ///< number of stored clusters |
| 117 |
|
|
| 118 |
void Dump(); |
void Dump(); |
| 119 |
void SetFromLevel1Struct(cTrkLevel1 *, Bool_t); |
// void SetFromLevel1Struct(cTrkLevel1 *, Bool_t); |
| 120 |
// void GetLevel1Struct(cTrkLevel1 *) const; |
// void GetLevel1Struct(cTrkLevel1 *) const; |
| 121 |
cTrkLevel1* GetLevel1Struct(); |
void GetLevel1Struct(cTrkLevel1 *l1); |
| 122 |
|
void SetFromLevel1Struct(cTrkLevel1 *l1, Bool_t full); |
| 123 |
|
void GetLevel1Struct(){GetLevel1Struct(&level1event_);}; |
| 124 |
|
void SetFromLevel1Struct(Bool_t full){SetFromLevel1Struct(&level1event_,full);}; |
| 125 |
|
void SetFromLevel1Struct(){SetFromLevel1Struct(true);}; |
| 126 |
|
|
| 127 |
void Clear(); |
void Clear(); |
| 128 |
void Delete(); |
void Delete(); |
| 129 |
|
void Set(); |
| 130 |
|
|
| 131 |
TrkCluster* GetCluster(int); |
TrkCluster* GetCluster(int); |
| 132 |
|
|
| 133 |
TrkLevel1* GetTrkLevel1(){return this;} |
TrkLevel1* GetTrkLevel1(){return this;} |
| 134 |
TClonesArray* GetClusters(){return Cluster;}; ///< returns pointer to the cluster array |
TClonesArray* GetClusters(){return Cluster;}; ///< returns pointer to the cluster array |
| 135 |
|
|
| 136 |
int LoadPfaParam(TString); |
/* int LoadPfaParam(TString); */ |
| 137 |
|
/* int LoadFieldParam(TString); */ |
| 138 |
|
/* int LoadChargeParam(TString); */ |
| 139 |
|
/* int LoadAlignmentParam(TString); */ |
| 140 |
|
/* int LoadMipParam(TString); */ |
| 141 |
|
/* int LoadVKMaskParam(TString); */ |
| 142 |
|
/* int LoadPfaParam(){return LoadPfaParam("");}; */ |
| 143 |
|
/* int LoadFieldParam(){return LoadFieldParam("");}; */ |
| 144 |
|
/* int LoadChargeParam(){return LoadChargeParam("");}; */ |
| 145 |
|
/* int LoadAlignmentParam(){return LoadAlignmentParam("");}; */ |
| 146 |
|
/* int LoadMipParam(){return LoadMipParam("");}; */ |
| 147 |
|
/* int LoadVKMaskParam(){return LoadVKMaskParam("");}; */ |
| 148 |
|
/* int LoadParams(); */ |
| 149 |
|
|
| 150 |
|
// int ProcessEvent(int); |
| 151 |
|
// int ProcessEvent(){return ProcessEvent();}; |
| 152 |
|
int ProcessEvent(); |
| 153 |
|
|
| 154 |
|
int GetPfaNbinsAngle(); |
| 155 |
|
int GetPfaNbinsETA(); |
| 156 |
|
int GetPfaNbinsCharge(){return 0;}; |
| 157 |
|
float* GetPfaCoord(TString pfa, int nview, int nladder, int nang); |
| 158 |
|
float* GetPfaAbs(TString pfa, int nang); |
| 159 |
|
|
| 160 |
|
void StatusDump(int view); |
| 161 |
|
Bool_t StatusCheck(int view, int flagmask); |
| 162 |
|
|
| 163 |
|
|
| 164 |
|
void SetPFA(int pfaid){ sw_.pfaid = pfaid; }; |
| 165 |
|
int GetPFA(){ return sw_.pfaid; }; |
| 166 |
|
|
| 167 |
|
|
| 168 |
ClassDef(TrkLevel1,2); |
ClassDef(TrkLevel1,2); |
| 169 |
|
|
| 170 |
}; |
}; |