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); |
114 |
int nclstr() {return Cluster->GetEntries();} ///< number of stored clusters |
int nclstr() {return Cluster->GetEntries();} ///< number of stored clusters |
115 |
|
|
116 |
void Dump(); |
void Dump(); |
117 |
void SetFromLevel1Struct(cTrkLevel1 *, Bool_t); |
// void SetFromLevel1Struct(cTrkLevel1 *, Bool_t); |
118 |
// void GetLevel1Struct(cTrkLevel1 *) const; |
// void GetLevel1Struct(cTrkLevel1 *) const; |
119 |
cTrkLevel1* GetLevel1Struct(); |
void GetLevel1Struct(cTrkLevel1 *l1); |
120 |
|
void SetFromLevel1Struct(cTrkLevel1 *l1, Bool_t full); |
121 |
|
void GetLevel1Struct(){GetLevel1Struct(&level1event_);}; |
122 |
|
void SetFromLevel1Struct(Bool_t full){SetFromLevel1Struct(&level1event_,full);}; |
123 |
|
void SetFromLevel1Struct(){SetFromLevel1Struct(true);}; |
124 |
|
|
125 |
void Clear(); |
void Clear(); |
126 |
void Delete(); |
void Delete(); |
127 |
void Set(); |
void Set(); |
131 |
TrkLevel1* GetTrkLevel1(){return this;} |
TrkLevel1* GetTrkLevel1(){return this;} |
132 |
TClonesArray* GetClusters(){return Cluster;}; ///< returns pointer to the cluster array |
TClonesArray* GetClusters(){return Cluster;}; ///< returns pointer to the cluster array |
133 |
|
|
134 |
int LoadPfaParam(TString); |
/* int LoadPfaParam(TString); */ |
135 |
int GetPfaNbinsAngle(){return pfa_.nangbin;}; |
/* int LoadFieldParam(TString); */ |
136 |
int GetPfaNbinsETA(){return pfa_.netaval;}; |
/* int LoadChargeParam(TString); */ |
137 |
|
/* int LoadAlignmentParam(TString); */ |
138 |
|
/* int LoadMipParam(TString); */ |
139 |
|
/* int LoadVKMaskParam(TString); */ |
140 |
|
/* int LoadPfaParam(){return LoadPfaParam("");}; */ |
141 |
|
/* int LoadFieldParam(){return LoadFieldParam("");}; */ |
142 |
|
/* int LoadChargeParam(){return LoadChargeParam("");}; */ |
143 |
|
/* int LoadAlignmentParam(){return LoadAlignmentParam("");}; */ |
144 |
|
/* int LoadMipParam(){return LoadMipParam("");}; */ |
145 |
|
/* int LoadVKMaskParam(){return LoadVKMaskParam("");}; */ |
146 |
|
/* int LoadParams(); */ |
147 |
|
|
148 |
|
// int ProcessEvent(int); |
149 |
|
// int ProcessEvent(){return ProcessEvent();}; |
150 |
|
int ProcessEvent(); |
151 |
|
|
152 |
|
int GetPfaNbinsAngle(); |
153 |
|
int GetPfaNbinsETA(); |
154 |
int GetPfaNbinsCharge(){return 0;}; |
int GetPfaNbinsCharge(){return 0;}; |
155 |
float* GetPfaCoord(TString pfa, int nview, int nladder, int nang); |
float* GetPfaCoord(TString pfa, int nview, int nladder, int nang); |
156 |
float* GetPfaAbs(TString pfa, int nang); |
float* GetPfaAbs(TString pfa, int nang); |
157 |
|
|
158 |
|
void StatusDump(int view); |
159 |
|
Bool_t StatusCheck(int view, int flagmask); |
160 |
|
|
161 |
|
|
162 |
|
void SetPFA(int pfaid){ sw_.pfaid = pfaid; }; |
163 |
|
int GetPFA(){ return sw_.pfaid; }; |
164 |
|
|
165 |
|
|
166 |
ClassDef(TrkLevel1,2); |
ClassDef(TrkLevel1,2); |
167 |
|
|
168 |
}; |
}; |