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