CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronMCTruth.h
Go to the documentation of this file.
1 #ifndef ElectronMCTruth_h
2 #define ElectronMCTruth_h
3 
6 #include <CLHEP/Matrix/Vector.h>
7 #include <CLHEP/Vector/LorentzVector.h>
8 #include <vector>
9 
21 
22  public:
24  ElectronMCTruth( CLHEP::HepLorentzVector& v,
25  int vertIndex,
26  std::vector<CLHEP::Hep3Vector>& bremPos,
27  std::vector<CLHEP::HepLorentzVector>& pBrem,
28  std::vector<float>& xbrem,
29  CLHEP::HepLorentzVector& pV,
30  SimTrack& eTrack );
31 
32 
33  CLHEP::HepLorentzVector fourMomentum() const {return theElectron_;}
34  CLHEP::HepLorentzVector primaryVertex() const {return thePrimaryVertex_;}
35  std::vector<CLHEP::Hep3Vector> bremVertices() const { return theBremPosition_;}
36  std::vector<CLHEP::HepLorentzVector> bremMomentum() const { return theBremMomentum_;}
37  std::vector<float> eloss() const {return theELoss_;}
38  SimTrack simTracks() const {return eTrack_;}
39  int vertexInd() const {return theVertexIndex_;}
40 
41  private:
42  CLHEP::HepLorentzVector theElectron_;
44  std::vector<CLHEP::Hep3Vector> theBremPosition_;
45  std::vector<CLHEP::HepLorentzVector> theBremMomentum_;
46  std::vector<float> theELoss_;
47  CLHEP::HepLorentzVector thePrimaryVertex_;
49 
50 
51 
52 };
53 
54 #endif
std::vector< CLHEP::Hep3Vector > theBremPosition_
std::vector< CLHEP::HepLorentzVector > theBremMomentum_
std::vector< float > eloss() const
std::vector< float > theELoss_
std::vector< CLHEP::HepLorentzVector > bremMomentum() const
int vertexInd() const
CLHEP::HepLorentzVector primaryVertex() const
CLHEP::HepLorentzVector thePrimaryVertex_
CLHEP::HepLorentzVector fourMomentum() const
CLHEP::HepLorentzVector theElectron_
SimTrack simTracks() const
std::vector< CLHEP::Hep3Vector > bremVertices() const