FairRoot/PandaRoot
PndEmcApdHitProducer.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndEmcApdHitProducer header file -----
3 // ----- Created 07/04/08 by S.Spataro -----
4 // -------------------------------------------------------------------------
5 //#pragma once
6 #ifndef PNDEMCAPDHITPRODUCER_H
7 #define PNDEMCAPDHITPRODUCER_H
8 
9 
10 #include <PndPersistencyTask.h>
11 #include "PndEmcApdHit.h"
12 #include "TVector3.h"
13 #include "TArrayI.h"
14 #include <map>
15 #include <string>
16 #include "PndEmcStructure.h"
17 
18 class TClonesArray;
19 class TObjectArray;
20 
22 {
23 
24  public:
25  typedef std::map<Int_t, Float_t> mapper;
26 
29 
30 
33 
34 
36  virtual InitStatus Init();
37 
38 
40  virtual void Exec(Option_t* opt);
41 
42  //PndEmcApdHit* AddHit(Int_t trackID, Int_t detID, Float_t energy, Float_t time); // not implemented
43 
44  PndEmcApdHit* AddHit(Int_t trackID, Int_t detID, Float_t energy, Float_t time, Int_t npoint, Int_t pointIndex[10]);
45 
46  //PndEmcApdHit* AddHit(Int_t trackID, Int_t detID, Float_t energy, Float_t time,std::vector<PndEmcApdPoint*> pointList); // not implemented
47  //void CreateStructure();
48 
49 
50  private:
51 
53  TClonesArray* fPointArray;
54 
56  TClonesArray* fDigiArray;
57 
58  TObjArray *fVolumeArray;
59 
61  Int_t fMapVersion;
62 
63  mapper emcX;
64  mapper emcY;
65  mapper emcZ;
66 
68 
71 
73 
74 };
75 
76 #endif
virtual InitStatus Init()
PndEmcApdHitProducer & operator=(const PndEmcApdHitProducer &)
std::map< Int_t, Float_t > mapper
ClassDef(PndEmcApdHitProducer, 1)
virtual void Exec(Option_t *opt)
geometry helper class
int npoint
PndEmcStructure * fEmcStr
PndEmcApdHit * AddHit(Int_t trackID, Int_t detID, Float_t energy, Float_t time, Int_t npoint, Int_t pointIndex[10])
Double_t energy
Definition: plot_dirc.C:15