er  dev
ERmuSiHitProducer.h
1 // -------------------------------------------------------------------------
2 // ----- ERmuSiHitProducer header file -----
3 // ----- Created 03/16 by V.Schetinin -----
4 // -------------------------------------------------------------------------
5 
6 #ifndef ERMUSIHITPRODUCING_H
7 #define ERMUSIHITPRODUCING_H
8 
9 #include "TClonesArray.h"
10 
11 #include "FairTask.h"
12 
13 #include "ERmuSiHit.h"
14 
15 class ERmuSiHitProducer : public FairTask {
16 
17 public:
20 
24  ERmuSiHitProducer(Int_t verbose);
25 
28 
30  virtual InitStatus Init();
31 
33  virtual void Exec(Option_t* opt);
34 
36  virtual void Finish();
37 
39  virtual void Reset();
40 
44 protected:
45  //Input arrays
46  TClonesArray *fmuSiPoints;
47  //Output arrays
48  TClonesArray *fmuSiHits;
49 
50  static Int_t fEvent;
51 protected:
52  ERmuSiHit* AddHit(Int_t detID, TVector3& pos, TVector3& dpos, Int_t index, Int_t station);
53 private:
54  virtual void SetParContainers();
55 
56  ClassDef(ERmuSiHitProducer,1)
57 };
58 
59 #endif
virtual InitStatus Init()
virtual void Exec(Option_t *opt)
TClonesArray * fmuSiPoints