PandaRoot
PndDrcPhotonInfo.h
Go to the documentation of this file.
1 // -----------------------------------------
2 // PndDrcLutInfo.h
3 //
4 // Created on: 18.10.2013
5 // Author: R.Dzhygadlo at gsi.de
6 // -----------------------------------------
7 // Container for DrcTrackInfo
8 
9 #ifndef PNDDRCPHOTONINFO_H
10 #define PNDDRCPHOTONINFO_H
11 
12 #include "PndDrcAmbiguityInfo.h"
13 
14 #include "TObject.h"
15 #include "TClonesArray.h"
16 #include "TVector3.h"
17 #include <vector>
18 
19 class PndDrcPhotonInfo : public TObject {
20 
21  public:
22  // Default constructor
24 
25  // Default destructor
27 
28  // Copy constructor
29  // PndDrcPhotonInfo (const PndDrcPhotonInfo& val) { *this = val; } // not needed
30 
31  // Mutators
32  void SetHitTime(Double_t val) { fHitTime = val; }
33  void SetReflected(Bool_t val) { fReflected = val; }
34  void SetEvReflections(Int_t val) { fEvReflections = val; }
35  void SetMcPrimeMomentumInBar(TVector3 val) { fMcPrimeMomentumInBar = val; }
36  void SetMcCherenkovInBar(Double_t val) { fMcCherenkovInBar = val; }
37 
38  void AddAmbiguity(PndDrcAmbiguityInfo ambiguity);
39 
40  // Accessors
41  Double_t GetHitTime() { return fHitTime; }
42  Bool_t GetReflected() { return fReflected; }
43  Int_t GetEvReflections() { return fEvReflections; }
44 
45  Int_t GetAmbiguitySize() { return fAmbiguitySize; }
48  Double_t GetMcCherenkovInBar() { return fMcCherenkovInBar; }
49 
50  protected:
51  std::vector<PndDrcAmbiguityInfo> fAmbiguityArray;
53 
54  Double_t fHitTime;
55  Bool_t fReflected;
59 
60  ClassDef(PndDrcPhotonInfo, 1)
61 };
62 
63 #endif
void SetEvReflections(Int_t val)
Double_t GetMcCherenkovInBar()
Double_t fMcCherenkovInBar
TVector3 fMcPrimeMomentumInBar
void SetReflected(Bool_t val)
PndDrcAmbiguityInfo GetAmbiguity(Int_t id)
void AddAmbiguity(PndDrcAmbiguityInfo ambiguity)
void SetMcPrimeMomentumInBar(TVector3 val)
Double_t GetHitTime()
void SetMcCherenkovInBar(Double_t val)
std::vector< PndDrcAmbiguityInfo > fAmbiguityArray
void SetHitTime(Double_t val)
TVector3 GetMcPrimeMomentumInBar()