FairRoot/PandaRoot
PndSttSkewedCombineTask.h
Go to the documentation of this file.
1 #ifndef PndSttSkewedCombineTask_H_
2 #define PndSttSkewedCombineTask_H_
3 
4 #include "FairTask.h"
5 #include "PndGeoSttPar.h"
6 #include "PndSttStrawMap.h"
7 
8 #include "PndSttGeometryMap.h"
9 
10 #include <vector>
11 class TClonesArray;
12 
13 class PndSttSkewedCombineTask: public FairTask {
14 public:
15 
16  PndSttSkewedCombineTask() :FairTask("Stt Skewed Combine"), fVerbose(0), fPersistence(
17  kTRUE) {};
18 
20 
22  virtual void SetParContainers();
23  virtual InitStatus Init();
24  //virtual InitStatus ReInit();
25 
27  virtual void Exec(Option_t* opt);
28  virtual void FinishEvent();
29 
30  //void AddHitBranch(TString branchName);//Has to be called before Init() is used otherwise the default names are taken!
31 
32  void SetVerbose(Int_t verbose) {
33  fVerbose = verbose;
34  }
35  ;
37  fPersistence = val;
38  }
39  ;
40 
41  // void SetGeoH(PndGeoHandling geoH){ fGeoH=geoH;};
42 
43 
44 private:
45 
46  TClonesArray* fSttHits;
47 
48  TClonesArray* fCombinedSkewedHits;
49 
50  PndSttStrawMap fStrawMap; // for getting more information about the tubes
51  PndSttGeometryMap* fGeometryMap;// for initializing the neighbors of each tube
52 
53  Int_t fVerbose;
54  Bool_t fPersistence; // safe data?
55 
56  PndGeoSttPar *fSttParameters; // needed for SttStrawMap
57  TClonesArray *fTubeArray; // needed for SttStrawMap
58 
59  TClonesArray* fEventHeader;
60  //PndGeoHandling* fGeoH;
61 
62 // void Register();
63 // void Reset();
64 // void ProduceHits();
65 
66 ClassDef(PndSttSkewedCombineTask,1)
67  ;
68 
69 };
70 
71 #endif /*PndSttSkewedCombineTask_H_*/
virtual void Exec(Option_t *opt)
Double_t val[nBoxes][nFEBox]
Definition: createCalib.C:11
#define verbose
void SetVerbose(Int_t verbose)
PndSttGeometryMap * fGeometryMap