CMS 3D CMS Logo

PhotonMCTruth.h
Go to the documentation of this file.
1 #ifndef PhotonMCTruth_h
2 #define PhotonMCTruth_h
3 
6 #include <CLHEP/Matrix/Vector.h>
7 #include <CLHEP/Vector/LorentzVector.h>
9 #include <vector>
10 
23 public:
25  theConvVertex_(0.,0.,0.) {};
26 
27  PhotonMCTruth(CLHEP::HepLorentzVector v) : thePhoton_(v) {};
28 
29 
31  CLHEP::HepLorentzVector v,
32  int vertIndex,
33  int trackId,
34  int motherId,
35  CLHEP::HepLorentzVector mothMom,
36  CLHEP::HepLorentzVector mothVtx,
37  CLHEP::HepLorentzVector convVertex,
38  CLHEP::HepLorentzVector pV,
39  std::vector<ElectronMCTruth>& electrons );
40 
41 
42  CLHEP::HepLorentzVector primaryVertex() const {return thePrimaryVertex_;}
43  int isAConversion() const { return isAConversion_;}
44  CLHEP::HepLorentzVector fourMomentum() const {return thePhoton_;}
45  int vertexInd() const {return theVertexIndex_;}
46  CLHEP::HepLorentzVector vertex() const {return theConvVertex_;}
47  std::vector<ElectronMCTruth> electrons() const {return theElectrons_;}
48  int trackId() const {return theTrackId_;}
49  int motherType() const {return theMotherId_;}
50  CLHEP::HepLorentzVector motherMomentum() const {return theMotherMom_;}
51  CLHEP::HepLorentzVector motherVtx() const {return theMotherVtx_;}
52 
53  private:
54 
56  CLHEP::HepLorentzVector thePhoton_;
60  CLHEP::HepLorentzVector theMotherMom_;
61  CLHEP::HepLorentzVector theMotherVtx_;
62  CLHEP::HepLorentzVector theConvVertex_;
63  CLHEP::HepLorentzVector thePrimaryVertex_;
64  std::vector<ElectronMCTruth> theElectrons_;
65 
66 };
67 
68 #endif
69 
CLHEP::HepLorentzVector theMotherMom_
Definition: PhotonMCTruth.h:60
int trackId() const
Definition: PhotonMCTruth.h:48
std::vector< ElectronMCTruth > electrons() const
Definition: PhotonMCTruth.h:47
CLHEP::HepLorentzVector primaryVertex() const
Definition: PhotonMCTruth.h:42
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:62
CLHEP::HepLorentzVector motherVtx() const
Definition: PhotonMCTruth.h:51
CLHEP::HepLorentzVector vertex() const
Definition: PhotonMCTruth.h:46
std::vector< ElectronMCTruth > theElectrons_
Definition: PhotonMCTruth.h:64
int vertexInd() const
Definition: PhotonMCTruth.h:45
int motherType() const
Definition: PhotonMCTruth.h:49
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:56
int isAConversion() const
Definition: PhotonMCTruth.h:43
CLHEP::HepLorentzVector motherMomentum() const
Definition: PhotonMCTruth.h:50
CLHEP::HepLorentzVector theMotherVtx_
Definition: PhotonMCTruth.h:61
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: PhotonMCTruth.h:63
PhotonMCTruth(CLHEP::HepLorentzVector v)
Definition: PhotonMCTruth.h:27
CLHEP::HepLorentzVector fourMomentum() const
Definition: PhotonMCTruth.h:44