FairRoot/PandaRoot
PndMdtHitProducerIdeal.h
Go to the documentation of this file.
1 #ifndef PNDMDTHITPRODUCERIDEAL_H
2 #define PNDMDTHITPRODUCERIDEAL_H 1
3 
4 
5 #include <PndPersistencyTask.h>
6 #include "PndMdtHit.h"
7 #include "TVector3.h"
8 
9 class TClonesArray;
10 
12 {
13 
14  public:
15 
18 
19 
22 
23 
25  virtual InitStatus Init();
26 
27 
29  virtual void Exec(Option_t* opt);
30 
31  PndMdtHit* AddHit(Int_t detID, TVector3& pos, TVector3& dpos, Int_t index);
32 
37  void SetPositionSmearing(Float_t res) { fPosResolution = res; };
38 
39  private:
40 
41  Float_t fPosResolution;
42 
44  TClonesArray* fPointArray;
45 
47  TClonesArray* fHitArray;
48 
49 
51 
52 };
53 
54 #endif
TVector3 pos
Int_t res
Definition: anadigi.C:166
ClassDef(PndMdtHitProducerIdeal, 1)
Float_t fPosResolution
Position smearing [cm].
PndMdtHit * AddHit(Int_t detID, TVector3 &pos, TVector3 &dpos, Int_t index)
virtual void Exec(Option_t *opt)
void SetPositionSmearing(Float_t res)
Set the smearing of the PndMdtHit position.