CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
EcalSimPhotonMCTruth Class Reference

#include <EcalSimPhotonMCTruth.h>

Public Member Functions

 EcalSimPhotonMCTruth ()
 
 EcalSimPhotonMCTruth (const math::XYZTLorentzVectorD &v)
 
 EcalSimPhotonMCTruth (int isAConversion, const math::XYZTLorentzVectorD &v, float rconv, float zconv, const math::XYZTLorentzVectorD &convVertex, const math::XYZTLorentzVectorD &pV, const std::vector< const SimTrack * > &tracks)
 
math::XYZTLorentzVectorD fourMomentum () const
 
int isAConversion () const
 
math::XYZTLorentzVectorD primaryVertex () const
 
float radius () const
 
std::vector< const SimTrack * > simTracks () const
 
math::XYZTLorentzVectorD vertex () const
 
float z () const
 

Private Attributes

int isAConversion_
 
math::XYZTLorentzVectorD theConvVertex_
 
math::XYZTLorentzVectorD thePhoton_
 
math::XYZTLorentzVectorD thePrimaryVertex_
 
float theR_
 
float theZ_
 
std::vector< const SimTrack * > tracks_
 

Detailed Description

This class stores all the MC truth information needed about the conversion for containment correction original code: PhotonMCTruth (N.Marinelli)

Definition at line 16 of file EcalSimPhotonMCTruth.h.

Constructor & Destructor Documentation

EcalSimPhotonMCTruth::EcalSimPhotonMCTruth ( )
inline

Definition at line 18 of file EcalSimPhotonMCTruth.h.

Referenced by EcalSimPhotonMCTruth().

19  : isAConversion_(0), thePhoton_(0., 0., 0., 0.), theR_(0.), theZ_(0.), theConvVertex_(0., 0., 0., 0.){};
math::XYZTLorentzVectorD thePhoton_
math::XYZTLorentzVectorD theConvVertex_
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth ( const math::XYZTLorentzVectorD v)
inline
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth ( int  isAConversion,
const math::XYZTLorentzVectorD v,
float  rconv,
float  zconv,
const math::XYZTLorentzVectorD convVertex,
const math::XYZTLorentzVectorD pV,
const std::vector< const SimTrack * > &  tracks 
)

Definition at line 5 of file EcalSimPhotonMCTruth.cc.

13  thePhoton_(v),
14  theR_(rconv),
15  theZ_(zconv),
16  theConvVertex_(convVertex),
18  tracks_(tracks) {}
std::vector< const SimTrack * > tracks_
math::XYZTLorentzVectorD thePhoton_
math::XYZTLorentzVectorD theConvVertex_
math::XYZTLorentzVectorD thePrimaryVertex_

Member Function Documentation

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::fourMomentum ( ) const
inline

Definition at line 35 of file EcalSimPhotonMCTruth.h.

References thePhoton_.

35 { return thePhoton_; }
math::XYZTLorentzVectorD thePhoton_
int EcalSimPhotonMCTruth::isAConversion ( ) const
inline

Definition at line 32 of file EcalSimPhotonMCTruth.h.

References isAConversion_.

Referenced by EcalSimPhotonMCTruth().

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::primaryVertex ( ) const
inline

Definition at line 31 of file EcalSimPhotonMCTruth.h.

References thePrimaryVertex_.

31 { return thePrimaryVertex_; }
math::XYZTLorentzVectorD thePrimaryVertex_
float EcalSimPhotonMCTruth::radius ( void  ) const
inline

Definition at line 33 of file EcalSimPhotonMCTruth.h.

References theR_.

33 { return theR_; }
std::vector<const SimTrack *> EcalSimPhotonMCTruth::simTracks ( ) const
inline

Definition at line 37 of file EcalSimPhotonMCTruth.h.

References tracks_.

37 { return tracks_; }
std::vector< const SimTrack * > tracks_
math::XYZTLorentzVectorD EcalSimPhotonMCTruth::vertex ( ) const
inline

Definition at line 36 of file EcalSimPhotonMCTruth.h.

References theConvVertex_.

Referenced by Tau.Tau::dxy().

36 { return theConvVertex_; }
math::XYZTLorentzVectorD theConvVertex_
float EcalSimPhotonMCTruth::z ( ) const
inline

Definition at line 34 of file EcalSimPhotonMCTruth.h.

References theZ_.

Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().

34 { return theZ_; }

Member Data Documentation

int EcalSimPhotonMCTruth::isAConversion_
private

Definition at line 40 of file EcalSimPhotonMCTruth.h.

Referenced by isAConversion().

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::theConvVertex_
private

Definition at line 44 of file EcalSimPhotonMCTruth.h.

Referenced by vertex().

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::thePhoton_
private

Definition at line 41 of file EcalSimPhotonMCTruth.h.

Referenced by fourMomentum().

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::thePrimaryVertex_
private

Definition at line 45 of file EcalSimPhotonMCTruth.h.

Referenced by primaryVertex().

float EcalSimPhotonMCTruth::theR_
private

Definition at line 42 of file EcalSimPhotonMCTruth.h.

Referenced by radius().

float EcalSimPhotonMCTruth::theZ_
private

Definition at line 43 of file EcalSimPhotonMCTruth.h.

Referenced by z().

std::vector<const SimTrack *> EcalSimPhotonMCTruth::tracks_
private

Definition at line 46 of file EcalSimPhotonMCTruth.h.

Referenced by simTracks().