CMS 3D CMS Logo

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 
19 public:
21  ElectronMCTruth(CLHEP::HepLorentzVector& v,
22  int vertIndex,
23  std::vector<CLHEP::Hep3Vector>& bremPos,
24  std::vector<CLHEP::HepLorentzVector>& pBrem,
25  std::vector<float>& xbrem,
26  CLHEP::HepLorentzVector& pV,
27  SimTrack& eTrack);
28 
29  CLHEP::HepLorentzVector fourMomentum() const { return theElectron_; }
30  CLHEP::HepLorentzVector primaryVertex() const { return thePrimaryVertex_; }
31  std::vector<CLHEP::Hep3Vector> bremVertices() const { return theBremPosition_; }
32  std::vector<CLHEP::HepLorentzVector> bremMomentum() const { return theBremMomentum_; }
33  std::vector<float> eloss() const { return theELoss_; }
34  SimTrack simTracks() const { return eTrack_; }
35  int vertexInd() const { return theVertexIndex_; }
36 
37 private:
38  CLHEP::HepLorentzVector theElectron_;
40  std::vector<CLHEP::Hep3Vector> theBremPosition_;
41  std::vector<CLHEP::HepLorentzVector> theBremMomentum_;
42  std::vector<float> theELoss_;
43  CLHEP::HepLorentzVector thePrimaryVertex_;
45 };
46 
47 #endif
ElectronMCTruth::eTrack_
SimTrack eTrack_
Definition: ElectronMCTruth.h:44
ElectronMCTruth::fourMomentum
CLHEP::HepLorentzVector fourMomentum() const
Definition: ElectronMCTruth.h:29
ElectronMCTruth::theVertexIndex_
int theVertexIndex_
Definition: ElectronMCTruth.h:39
ElectronMCTruth::eloss
std::vector< float > eloss() const
Definition: ElectronMCTruth.h:33
ElectronMCTruth::bremMomentum
std::vector< CLHEP::HepLorentzVector > bremMomentum() const
Definition: ElectronMCTruth.h:32
ElectronMCTruth::theBremMomentum_
std::vector< CLHEP::HepLorentzVector > theBremMomentum_
Definition: ElectronMCTruth.h:41
findQualityFiles.v
v
Definition: findQualityFiles.py:179
ElectronMCTruth::theELoss_
std::vector< float > theELoss_
Definition: ElectronMCTruth.h:42
ElectronMCTruth::vertexInd
int vertexInd() const
Definition: ElectronMCTruth.h:35
ElectronMCTruth::bremVertices
std::vector< CLHEP::Hep3Vector > bremVertices() const
Definition: ElectronMCTruth.h:31
ElectronMCTruth::simTracks
SimTrack simTracks() const
Definition: ElectronMCTruth.h:34
ElectronMCTruth::primaryVertex
CLHEP::HepLorentzVector primaryVertex() const
Definition: ElectronMCTruth.h:30
ElectronMCTruth::theElectron_
CLHEP::HepLorentzVector theElectron_
Definition: ElectronMCTruth.h:38
ElectronMCTruth::theBremPosition_
std::vector< CLHEP::Hep3Vector > theBremPosition_
Definition: ElectronMCTruth.h:40
SimTrack
Definition: SimTrack.h:9
ElectronMCTruth
Definition: ElectronMCTruth.h:18
ElectronMCTruth::thePrimaryVertex_
CLHEP::HepLorentzVector thePrimaryVertex_
Definition: ElectronMCTruth.h:43
ElectronMCTruth::ElectronMCTruth
ElectronMCTruth()
Definition: ElectronMCTruth.cc:5
SimTrack.h
GlobalPoint.h