CMS 3D CMS Logo

EcalSimPhotonMCTruth.h
Go to the documentation of this file.
1 #ifndef EcalSimPhotonMCTruth_h
2 #define EcalSimPhotonMCTruth_h
3 
6 #include <vector>
7 
17 public:
19  : isAConversion_(0), thePhoton_(0., 0., 0., 0.), theR_(0.), theZ_(0.), theConvVertex_(0., 0., 0., 0.){};
20 
22 
25  float rconv,
26  float zconv,
27  const math::XYZTLorentzVectorD &convVertex,
28  const math::XYZTLorentzVectorD &pV,
29  const std::vector<const SimTrack *> &tracks);
30 
32  int isAConversion() const { return isAConversion_; }
33  float radius() const { return theR_; }
34  float z() const { return theZ_; }
37  std::vector<const SimTrack *> simTracks() const { return tracks_; }
38 
39 private:
42  float theR_;
43  float theZ_;
46  std::vector<const SimTrack *> tracks_;
47 };
48 
49 #endif
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
EcalSimPhotonMCTruth::tracks_
std::vector< const SimTrack * > tracks_
Definition: EcalSimPhotonMCTruth.h:46
EcalSimPhotonMCTruth::theZ_
float theZ_
Definition: EcalSimPhotonMCTruth.h:43
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
EcalSimPhotonMCTruth::vertex
math::XYZTLorentzVectorD vertex() const
Definition: EcalSimPhotonMCTruth.h:36
EcalSimPhotonMCTruth::z
float z() const
Definition: EcalSimPhotonMCTruth.h:34
findQualityFiles.v
v
Definition: findQualityFiles.py:179
EcalSimPhotonMCTruth::thePhoton_
math::XYZTLorentzVectorD thePhoton_
Definition: EcalSimPhotonMCTruth.h:41
EcalSimPhotonMCTruth::primaryVertex
math::XYZTLorentzVectorD primaryVertex() const
Definition: EcalSimPhotonMCTruth.h:31
EcalSimPhotonMCTruth::theR_
float theR_
Definition: EcalSimPhotonMCTruth.h:42
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth
EcalSimPhotonMCTruth(const math::XYZTLorentzVectorD &v)
Definition: EcalSimPhotonMCTruth.h:21
EcalSimPhotonMCTruth::isAConversion_
int isAConversion_
Definition: EcalSimPhotonMCTruth.h:40
EcalSimPhotonMCTruth
Definition: EcalSimPhotonMCTruth.h:16
EcalSimPhotonMCTruth::fourMomentum
math::XYZTLorentzVectorD fourMomentum() const
Definition: EcalSimPhotonMCTruth.h:35
EcalSimPhotonMCTruth::simTracks
std::vector< const SimTrack * > simTracks() const
Definition: EcalSimPhotonMCTruth.h:37
EcalSimPhotonMCTruth::radius
float radius() const
Definition: EcalSimPhotonMCTruth.h:33
EcalSimPhotonMCTruth::thePrimaryVertex_
math::XYZTLorentzVectorD thePrimaryVertex_
Definition: EcalSimPhotonMCTruth.h:45
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth
EcalSimPhotonMCTruth()
Definition: EcalSimPhotonMCTruth.h:18
EcalSimPhotonMCTruth::isAConversion
int isAConversion() const
Definition: EcalSimPhotonMCTruth.h:32
SimTrack.h
GlobalPoint.h
EcalSimPhotonMCTruth::theConvVertex_
math::XYZTLorentzVectorD theConvVertex_
Definition: EcalSimPhotonMCTruth.h:44