1 | /** |
---|
2 | LTTPreClusteringModule |
---|
3 | |
---|
4 | author: Gorgi Alessio |
---|
5 | Universita' degli Studi di Torino |
---|
6 | gorgi@to.infn.it |
---|
7 | |
---|
8 | |
---|
9 | 22 Nov 2011 |
---|
10 | */ |
---|
11 | |
---|
12 | #ifndef __LTTPreClusteringModule_HH_ |
---|
13 | #define __LTTPreClusteringModule_HH_ |
---|
14 | |
---|
15 | #include "euso.hh" |
---|
16 | #include "RecoModule.hh" |
---|
17 | #include <TVector3.h> |
---|
18 | #include "TrackDirection2Module.hh" |
---|
19 | class TDirectory; |
---|
20 | class RecoEvent; |
---|
21 | class RecoRootEvent; |
---|
22 | |
---|
23 | class LTTPreClusteringModule : public RecoModule { |
---|
24 | public: |
---|
25 | |
---|
26 | LTTPreClusteringModule();// ctor |
---|
27 | |
---|
28 | virtual ~LTTPreClusteringModule();// dtor |
---|
29 | |
---|
30 | virtual Bool_t Init();// Init method: called at the beginning of a run |
---|
31 | |
---|
32 | virtual Bool_t PreProcess();// called before each event process |
---|
33 | |
---|
34 | virtual Bool_t Process( RecoEvent* );// event processing |
---|
35 | |
---|
36 | virtual Bool_t PostProcess();// called after processing an event |
---|
37 | |
---|
38 | virtual Bool_t SaveRootData( RecoRootEvent* );// save root output |
---|
39 | |
---|
40 | virtual Bool_t Done();// called at the end of each run |
---|
41 | |
---|
42 | virtual void UserMemoryClean();// memory clean |
---|
43 | |
---|
44 | virtual void TmpMemoryClean();// memory clean |
---|
45 | |
---|
46 | EsafConfigClass(Reco, LTTPreClusteringModule) |
---|
47 | |
---|
48 | Int_t size; //Amplitude (expressed in pixel) used to find the direction |
---|
49 | Int_t Threshold; //Signal Threshold to use the pixel |
---|
50 | Int_t Selection ; // 0 - to accept all pixels, 1 - to exclude pixels far from the track |
---|
51 | Int_t SelectionDistance; //Max Distance from Track to accept pixels |
---|
52 | Int_t ThetaStepAmplitude; //Amplitude of the step used to test direction: Theta angle |
---|
53 | Int_t PhiStepAmplitude; //Amplitude of the step used to test direction: Phi angle |
---|
54 | Double_t gPixel_size; //Pixel size at ground (km) # 0.8km is for M36 at 430 km, +-30 deg FOV, 2,5m diam, 148 PDMs |
---|
55 | Double_t fGtu_light; //distance in km flown by light in 1 GTU 0.75km ~ 1 GTU of 2.5mic sec |
---|
56 | Double_t dPixel_size; //Pixel size on detector (mm) |
---|
57 | private: |
---|
58 | RecoEvent *fEv; |
---|
59 | |
---|
60 | vector<Int_t> fPointsId; |
---|
61 | |
---|
62 | Int_t fNumPoints; |
---|
63 | Int_t fNumHits; |
---|
64 | Int_t fNumPointsSel; |
---|
65 | Int_t fNumHitsSel; |
---|
66 | Int_t fQuality; |
---|
67 | Int_t fRecoEventsCounter; |
---|
68 | ContainerData fData; |
---|
69 | ClassDef(LTTPreClusteringModule,0) |
---|
70 | }; |
---|
71 | |
---|
72 | #endif /* __LTTPreClusteringModule_HH_ */ |
---|
73 | |
---|