/[PAMELA software]/DarthVader/TrackerLevel2/inc/TrkLevel1.h
ViewVC logotype

Contents of /DarthVader/TrackerLevel2/inc/TrkLevel1.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 5 12:52:20 2006 UTC (18 years, 3 months ago) by pam-fi
Branch: MAIN
CVS Tags: v2r00BETA
File MIME type: text/plain
implemented class TrkLevel1

1 /**
2 * \file TrkLevel1.h
3 * \author Elena Vannuccini
4 */
5 #ifndef trklevel1_h
6 #define trklevel1_h
7
8 #include <TObject.h>
9 #include <TClonesArray.h>
10 #include <TRef.h>
11
12 #include <TrkStruct.h>
13
14 /**
15 * \brief Class to describe tracker clusters.
16 *
17 * A cluster is defined as a group of adjacent strips whose signals exceed noise by xxxx sigma
18 */
19 // ==================================================================
20 class TrkCluster : public TObject {
21
22 private:
23
24
25 public:
26
27 int view;
28 int ladder;
29 int maxs;
30 int mult;
31 float sgnl;
32
33 int whichtrk;
34
35 Int_t CLlength;
36 Float_t *clsignal; //[CLlength]
37 Float_t *clsigma; //[CLlength]
38 Int_t *cladc; //[CLlength]
39 Bool_t *clbad; //[CLlength]
40
41 TrkCluster();
42 ~TrkCluster();
43 TrkCluster(const TrkCluster&);
44
45 void Dump();
46
47 TrkCluster* GetTrkCluster(){return this;};
48
49 friend class TrkLevel1;
50
51 ClassDef(TrkCluster,1);
52
53 };
54
55 /**
56 * \brief Class to describe tracker LEVEL1 data.
57 *
58 */
59 class TrkLevel1 : public TObject {
60
61 private:
62
63 public:
64
65 Int_t good1;
66 // Int_t crc[12];
67
68 TClonesArray *Cluster; ///< clusters
69
70 Float_t cnev[24][12];
71 Int_t cnnev[24][12];
72 Int_t fshower[12];
73
74 TrkLevel1();
75
76 int nclstr() {return Cluster->GetEntries();} ///< number of stored clusters
77
78 void Dump();
79 void SetFromLevel1Struct(cTrkLevel1 *);
80 void GetLevel1Struct(cTrkLevel1 *) const;
81 void Clear();
82
83 TrkCluster* GetCluster(int);
84
85 TrkLevel1* GetTrkLevel1(){return this;}
86 TClonesArray* GetClusters(){return Cluster;};///< returns pointer to the cluster array
87
88 ClassDef(TrkLevel1,1);
89
90 };
91
92 /**
93 * \brief Classes to relate LEVEL1 data to LEVEL2.
94 *
95 */
96 // class TrkTrackRef : public TObject {
97 // public:
98 // TRef clx[6];
99 // TRef cly[6];
100 //
101 // TrkTrackRef();
102 // TrkTrackRef(const TrkTrackRef&);
103 // void Clear();
104 //
105 // ClassDef(TrkTrackRef,1);
106 // };
107 // class TrkLevel2Ref : public TObject {
108 //
109 // public:
110 //
111 // TClonesArray *Track; ///< fitted tracks
112 // TClonesArray *SingletX; ///< x singlets
113 // TClonesArray *SingletY; ///< y singlets
114 //
115 // TrkLevel2Ref();
116 // void TrkLevel2Ref::SetFromLevel2Struct(cTrkLevel2 *l2);
117 // void Clear();
118 //
119 // ClassDef(TrkLevel2Ref,1);
120 // };
121
122
123 #endif

  ViewVC Help
Powered by ViewVC 1.1.23