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() [1/3]

EcalSimPhotonMCTruth::EcalSimPhotonMCTruth ( )
inline

Definition at line 18 of file EcalSimPhotonMCTruth.h.

19  : isAConversion_(0), thePhoton_(0., 0., 0., 0.), theR_(0.), theZ_(0.), theConvVertex_(0., 0., 0., 0.){};
math::XYZTLorentzVectorD thePhoton_
math::XYZTLorentzVectorD theConvVertex_

◆ EcalSimPhotonMCTruth() [2/3]

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

Definition at line 21 of file EcalSimPhotonMCTruth.h.

21 : thePhoton_(v){};
math::XYZTLorentzVectorD thePhoton_

◆ EcalSimPhotonMCTruth() [3/3]

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

◆ fourMomentum()

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

Definition at line 35 of file EcalSimPhotonMCTruth.h.

References thePhoton_.

35 { return thePhoton_; }
math::XYZTLorentzVectorD thePhoton_

◆ isAConversion()

int EcalSimPhotonMCTruth::isAConversion ( ) const
inline

Definition at line 32 of file EcalSimPhotonMCTruth.h.

References isAConversion_.

◆ primaryVertex()

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

Definition at line 31 of file EcalSimPhotonMCTruth.h.

References thePrimaryVertex_.

31 { return thePrimaryVertex_; }
math::XYZTLorentzVectorD thePrimaryVertex_

◆ radius()

float EcalSimPhotonMCTruth::radius ( void  ) const
inline

Definition at line 33 of file EcalSimPhotonMCTruth.h.

References theR_.

33 { return theR_; }

◆ simTracks()

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_

◆ vertex()

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_

◆ z()

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

◆ isAConversion_

int EcalSimPhotonMCTruth::isAConversion_
private

Definition at line 40 of file EcalSimPhotonMCTruth.h.

Referenced by isAConversion().

◆ theConvVertex_

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::theConvVertex_
private

Definition at line 44 of file EcalSimPhotonMCTruth.h.

Referenced by vertex().

◆ thePhoton_

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::thePhoton_
private

Definition at line 41 of file EcalSimPhotonMCTruth.h.

Referenced by fourMomentum().

◆ thePrimaryVertex_

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::thePrimaryVertex_
private

Definition at line 45 of file EcalSimPhotonMCTruth.h.

Referenced by primaryVertex().

◆ theR_

float EcalSimPhotonMCTruth::theR_
private

Definition at line 42 of file EcalSimPhotonMCTruth.h.

Referenced by radius().

◆ theZ_

float EcalSimPhotonMCTruth::theZ_
private

Definition at line 43 of file EcalSimPhotonMCTruth.h.

Referenced by z().

◆ tracks_

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

Definition at line 46 of file EcalSimPhotonMCTruth.h.

Referenced by simTracks().