PandaRoot
PndMdtHitProducerIdeal.h
Go to the documentation of this file.
1 #ifndef PNDMDTHITPRODUCERIDEAL_H
2 #define PNDMDTHITPRODUCERIDEAL_H 1
3 
4 #include <PndPersistencyTask.h>
5 #include "PndMdtHit.h"
6 #include "TVector3.h"
7 
8 class TClonesArray;
9 
11 
12  public:
15 
18 
20  virtual InitStatus Init();
21 
23  virtual void Exec(Option_t *opt);
24 
25  PndMdtHit *AddHit(Int_t detID, TVector3 &pos, TVector3 &dpos, Int_t index);
26 
31  void SetPositionSmearing(Float_t res) { fPosResolution = res; };
32 
33  private:
34  Float_t fPosResolution;
35 
37  TClonesArray *fPointArray;
38 
40  TClonesArray *fHitArray;
41 
42  ClassDef(PndMdtHitProducerIdeal, 1);
43 };
44 
45 #endif
PndMdtHit * AddHit(Int_t detID, TVector3 &pos, TVector3 &dpos, Int_t index)
virtual void Exec(Option_t *opt)
virtual InitStatus Init()
void SetPositionSmearing(Float_t res)
Set the smearing of the PndMdtHit position.