PandaRoot
PndDrcPhotonInfo.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // -----------------------------------------
14 // PndDrcLutInfo.h
15 //
16 // Created on: 18.10.2013
17 // Author: R.Dzhygadlo at gsi.de
18 // -----------------------------------------
19 // Container for DrcTrackInfo
20 
21 #ifndef PNDDRCPHOTONINFO_H
22 #define PNDDRCPHOTONINFO_H
23 
24 #include "PndDrcAmbiguityInfo.h"
25 
26 #include "TObject.h"
27 #include "TClonesArray.h"
28 #include "TVector3.h"
29 #include <vector>
30 
31 class PndDrcPhotonInfo : public TObject {
32 
33  public:
34  // Default constructor
36 
37  // Default destructor
39 
40  // Copy constructor
41  // PndDrcPhotonInfo (const PndDrcPhotonInfo& val) { *this = val; } // not needed
42 
43  // Mutators
44  void SetHitTime(Double_t val) { fHitTime = val; }
45  void SetReflected(Bool_t val) { fReflected = val; }
46  void SetEvReflections(Int_t val) { fEvReflections = val; }
47  void SetMcPrimeMomentumInBar(TVector3 val) { fMcPrimeMomentumInBar = val; }
48  void SetMcCherenkovInBar(Double_t val) { fMcCherenkovInBar = val; }
49 
50  void AddAmbiguity(PndDrcAmbiguityInfo ambiguity);
51 
52  // Accessors
53  Double_t GetHitTime() { return fHitTime; }
54  Bool_t GetReflected() { return fReflected; }
55  Int_t GetEvReflections() { return fEvReflections; }
56 
57  Int_t GetAmbiguitySize() { return fAmbiguitySize; }
60  Double_t GetMcCherenkovInBar() { return fMcCherenkovInBar; }
61 
62  protected:
63  std::vector<PndDrcAmbiguityInfo> fAmbiguityArray;
65 
66  Double_t fHitTime;
67  Bool_t fReflected;
71 
72  ClassDef(PndDrcPhotonInfo, 1)
73 };
74 
75 #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()