FairRoot/PandaRoot
PndMdtClusterTask.h
Go to the documentation of this file.
1 #ifndef PNDMDTCLUSTERTASK_H
2 #define PNDMDTCLUSTERTASK_H 1
3 
4 #include <PndPersistencyTask.h>
5 #include "PndMdtCluster.h"
6 
7 class TClonesArray;
8 
9 using std::map;
10 using std::vector;
11 
13 {
14 
15  public:
16 
19 
20 
23 
24 
26  virtual InitStatus Init();
27 
28 
30  virtual void Exec(Option_t* opt);
31 
32  void SetPersistence(Bool_t pers) { SetPersistency(pers); };
33 
34  private:
35 
36  Bool_t MdtMapping(); // Creates maps of MDT hits
37  void Reset(); // reset maps
38 
39  PndMdtCluster* AddClusterBox(std::vector<Int_t> digiList);
40  PndMdtCluster* AddClusterStrip(std::vector<Int_t> digiList);
41 
42 
44  TClonesArray* fBoxIArray;
45  TClonesArray* fStripIArray;
46 
48  TClonesArray* fBoxOArray;
49  TClonesArray* fStripOArray;
50 
52  map<Int_t, Int_t>mapBox;
53  map<Int_t, Int_t>mapStrip;
54 
56 
57  };
58 
59 #endif
PndMdtCluster * AddClusterStrip(std::vector< Int_t > digiList)
TClonesArray * fStripOArray
PndTransMap * map
Definition: sim_emc_apd.C:99
virtual InitStatus Init()
map< Int_t, Int_t > mapStrip
void SetPersistency(Bool_t val=kTRUE)
virtual void Exec(Option_t *opt)
TClonesArray * fBoxOArray
PndMdtCluster * AddClusterBox(std::vector< Int_t > digiList)
void SetPersistence(Bool_t pers)
TClonesArray * fStripIArray
TClonesArray * fBoxIArray
map< Int_t, Int_t > mapBox
ClassDef(PndMdtClusterTask, 1)