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  PndSttSkewedCombineTask() : FairTask("Stt Skewed Combine"), fVerbose(0), fPersistence(kTRUE){};
16 
18 
20  virtual void SetParContainers();
21  virtual InitStatus Init();
22  // virtual InitStatus ReInit();
23 
25  virtual void Exec(Option_t *opt);
26  virtual void FinishEvent();
27 
28  // void AddHitBranch(TString branchName);//Has to be called before Init() is used otherwise the default names are taken!
29 
30  void SetVerbose(Int_t verbose) { fVerbose = verbose; };
31  void SetPersistence(Bool_t val) { fPersistence = val; };
32 
33  // void SetGeoH(PndGeoHandling geoH){ fGeoH=geoH;};
34 
35  private:
36  TClonesArray *fSttHits;
37 
38  TClonesArray *fCombinedSkewedHits;
39 
40  PndSttStrawMap fStrawMap; // for getting more information about the tubes
41  PndSttGeometryMap *fGeometryMap; // for initializing the neighbors of each tube
42 
43  Int_t fVerbose;
44  Bool_t fPersistence; // safe data?
45 
46  PndGeoSttPar *fSttParameters; // needed for SttStrawMap
47  TClonesArray *fTubeArray; // needed for SttStrawMap
48 
49  TClonesArray *fEventHeader;
50  // PndGeoHandling* fGeoH;
51 
52  // void Register();
53  // void Reset();
54  // void ProduceHits();
55 
56  ClassDef(PndSttSkewedCombineTask, 1);
57 };
58 
59 #endif /*PndSttSkewedCombineTask_H_*/
virtual void Exec(Option_t *opt)
virtual void FinishEvent()
void SetVerbose(Int_t verbose)
virtual InitStatus Init()
virtual void SetParContainers()