CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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>
8 #include <vector>
9 
23 class ElectronMCTruth;
25 public:
27  theConvVertex_(0.,0.,0.) {};
28 
29  PhotonMCTruth(CLHEP::HepLorentzVector v) : thePhoton_(v) {};
30 
31 
33  CLHEP::HepLorentzVector v,
34  int vertIndex,
35  int trackId,
36  int motherId,
37  CLHEP::HepLorentzVector mothMom,
38  CLHEP::HepLorentzVector mothVtx,
39  CLHEP::HepLorentzVector convVertex,
40  CLHEP::HepLorentzVector pV,
41  std::vector<ElectronMCTruth>& electrons );
42 
43 
44  CLHEP::HepLorentzVector primaryVertex() const {return thePrimaryVertex_;}
45  int isAConversion() const { return isAConversion_;}
46  CLHEP::HepLorentzVector fourMomentum() const {return thePhoton_;}
47  int vertexInd() const {return theVertexIndex_;}
48  CLHEP::HepLorentzVector vertex() const {return theConvVertex_;}
49  std::vector<ElectronMCTruth> electrons() const {return theElectrons_;}
50  int trackId() const {return theTrackId_;}
51  int motherType() const {return theMotherId_;}
52  CLHEP::HepLorentzVector motherMomentum() const {return theMotherMom_;}
53  CLHEP::HepLorentzVector motherVtx() const {return theMotherVtx_;}
54 
55  private:
56 
58  CLHEP::HepLorentzVector thePhoton_;
62  CLHEP::HepLorentzVector theMotherMom_;
63  CLHEP::HepLorentzVector theMotherVtx_;
64  CLHEP::HepLorentzVector theConvVertex_;
65  CLHEP::HepLorentzVector thePrimaryVertex_;
66  std::vector<ElectronMCTruth> theElectrons_;
67 
68 };
69 
70 #endif
71 
CLHEP::HepLorentzVector theMotherMom_
Definition: PhotonMCTruth.h:62
int trackId() const
Definition: PhotonMCTruth.h:50
std::vector< ElectronMCTruth > electrons() const
Definition: PhotonMCTruth.h:49
CLHEP::HepLorentzVector primaryVertex() const
Definition: PhotonMCTruth.h:44
CLHEP::HepLorentzVector theConvVertex_
Definition: PhotonMCTruth.h:64
CLHEP::HepLorentzVector motherVtx() const
Definition: PhotonMCTruth.h:53
CLHEP::HepLorentzVector vertex() const
Definition: PhotonMCTruth.h:48
std::vector< ElectronMCTruth > theElectrons_
Definition: PhotonMCTruth.h:66
int vertexInd() const
Definition: PhotonMCTruth.h:47
int motherType() const
Definition: PhotonMCTruth.h:51
CLHEP::HepLorentzVector thePhoton_
Definition: PhotonMCTruth.h:58
int isAConversion() const
Definition: PhotonMCTruth.h:45
CLHEP::HepLorentzVector motherMomentum() const
Definition: PhotonMCTruth.h:52
CLHEP::HepLorentzVector theMotherVtx_
Definition: PhotonMCTruth.h:63
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: PhotonMCTruth.h:65
PhotonMCTruth(CLHEP::HepLorentzVector v)
Definition: PhotonMCTruth.h:29
CLHEP::HepLorentzVector fourMomentum() const
Definition: PhotonMCTruth.h:46