CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalSimPhotonMCTruth.h
Go to the documentation of this file.
1 #ifndef EcalSimPhotonMCTruth_h
2 #define EcalSimPhotonMCTruth_h
3 
6 #include <vector>
7 
17  public:
18  EcalSimPhotonMCTruth() : isAConversion_(0),thePhoton_(0.,0.,0.,0.), theR_(0.), theZ_(0.),
19  theConvVertex_(0.,0.,0.,0.) {};
20 
22 
23  EcalSimPhotonMCTruth(int isAConversion,math::XYZTLorentzVectorD v, float rconv, float zconv,
24  math::XYZTLorentzVectorD convVertex, math::XYZTLorentzVectorD pV, std::vector<const SimTrack *> tracks );
25 
27  int isAConversion() const { return isAConversion_;}
28  float radius() const {return theR_;}
29  float z() const {return theZ_;}
32  std::vector<const SimTrack *> simTracks() const {return tracks_;}
33 
34  private:
35 
38  float theR_;
39  float theZ_;
42  std::vector<const SimTrack *> tracks_;
43 
44 };
45 
46 #endif
47 
std::vector< const SimTrack * > tracks_
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:15
std::vector< const SimTrack * > simTracks() const
math::XYZTLorentzVectorD primaryVertex() const
math::XYZTLorentzVectorD thePhoton_
math::XYZTLorentzVectorD fourMomentum() const
EcalSimPhotonMCTruth(math::XYZTLorentzVectorD v)
tuple tracks
Definition: testEve_cfg.py:39
math::XYZTLorentzVectorD vertex() const
mathSSE::Vec4< T > v
math::XYZTLorentzVectorD theConvVertex_
math::XYZTLorentzVectorD thePrimaryVertex_