26 |
|
|
27 |
public: |
public: |
28 |
|
|
29 |
int view; ///< view |
int view; ///< view |
30 |
int maxs; ///< strip number (1-3072) of cluster center |
int maxs; ///< strip number (1-3072) of cluster center |
31 |
int indmax; |
int indmax; |
32 |
|
|
33 |
Int_t CLlength; ///< number of stored strip info (signal+sigma+adc+bad) |
Int_t CLlength; ///< number of stored strip info (signal+sigma+adc+bad) |
34 |
Float_t *clsignal; //[CLlength] |
Float_t *clsignal; //[CLlength] |
35 |
Float_t *clsigma; //[CLlength] |
Float_t *clsigma; //[CLlength] |
36 |
Int_t *cladc; //[CLlength] |
Int_t *cladc; //[CLlength] |
37 |
Bool_t *clbad; //[CLlength] |
Bool_t *clbad; //[CLlength] |
38 |
|
|
39 |
TrkCluster(); |
TrkCluster(); |
40 |
~TrkCluster(); |
~TrkCluster(); |
41 |
TrkCluster(const TrkCluster&); |
TrkCluster(const TrkCluster&); |
42 |
|
|
43 |
void Dump(); |
void Dump(); |
61 |
cTrkLevel1* GetLevel1Struct(); |
cTrkLevel1* GetLevel1Struct(); |
62 |
|
|
63 |
Float_t GetCOG(Int_t); |
Float_t GetCOG(Int_t); |
64 |
|
Float_t GetCOG(Float_t angle); |
65 |
Float_t GetCOG(){ return GetCOG(0); }; |
Float_t GetCOG(){ return GetCOG(0); }; |
66 |
Float_t GetETA(Int_t,float); |
Float_t GetETA(Int_t,float); |
67 |
Float_t GetETA(float angle){ return GetETA(0,angle); }; |
Float_t GetETA(float angle){ return GetETA(0,angle); }; |
86 |
class TrkLevel1 : public TObject { |
class TrkLevel1 : public TObject { |
87 |
|
|
88 |
private: |
private: |
89 |
|
|
90 |
public: |
public: |
91 |
|
|
92 |
Int_t good[12]; ///< event status |
Int_t good[12]; ///< event status |
93 |
Float_t cnev[24][12]; ///< CN |
Float_t cn[24][12]; ///< CN |
94 |
Int_t cnnev[24][12]; ///< number of strips for CN computation |
// Float_t cnrms[24][12]; ///< CN RMS |
95 |
|
Int_t cnn[24][12]; ///< number of strips for CN computation |
96 |
// Int_t fshower[12]; |
// Int_t fshower[12]; |
97 |
// Int_t good1; |
// Int_t good1; |
98 |
// Int_t crc[12]; |
// Int_t crc[12]; |
99 |
|
|
100 |
TClonesArray *Cluster; ///< clusters |
TClonesArray *Cluster; ///< clusters |
101 |
|
|
102 |
|
|
103 |
TrkLevel1(); |
TrkLevel1(); |
104 |
~TrkLevel1(){Delete();}; |
~TrkLevel1(){Delete();}; |
105 |
|
|
106 |
int nclstr() {return Cluster->GetEntries();} ///< number of stored clusters |
int nclstr() {return Cluster->GetEntries();} ///< number of stored clusters |
107 |
|
|
108 |
void Dump(); |
void Dump(); |
109 |
void SetFromLevel1Struct(cTrkLevel1 *); |
void SetFromLevel1Struct(cTrkLevel1 *); |
110 |
// void GetLevel1Struct(cTrkLevel1 *) const; |
// void GetLevel1Struct(cTrkLevel1 *) const; |
111 |
cTrkLevel1* GetLevel1Struct(); |
cTrkLevel1* GetLevel1Struct(); |
112 |
void Clear(); |
void Clear(); |
113 |
void Delete(); |
void Delete(); |
114 |
|
|
115 |
TrkCluster* GetCluster(int); |
TrkCluster* GetCluster(int); |
116 |
|
|
117 |
TrkLevel1* GetTrkLevel1(){return this;} |
TrkLevel1* GetTrkLevel1(){return this;} |
118 |
TClonesArray* GetClusters(){return Cluster;}; ///< returns pointer to the cluster array |
TClonesArray* GetClusters(){return Cluster;}; ///< returns pointer to the cluster array |
119 |
|
|
120 |
int LoadPfaParam(TString); |
int LoadPfaParam(TString); |
121 |
|
|
122 |
ClassDef(TrkLevel1,2); |
ClassDef(TrkLevel1,2); |
123 |
|
|
124 |
}; |
}; |
125 |
|
|