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.){};

◆ EcalSimPhotonMCTruth() [2/3]

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

Definition at line 21 of file EcalSimPhotonMCTruth.h.

21 : thePhoton_(v){};

◆ 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) {}

Member Function Documentation

◆ fourMomentum()

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

Definition at line 35 of file EcalSimPhotonMCTruth.h.

35 { return thePhoton_; }

References thePhoton_.

◆ isAConversion()

int EcalSimPhotonMCTruth::isAConversion ( ) const
inline

Definition at line 32 of file EcalSimPhotonMCTruth.h.

32 { return isAConversion_; }

References isAConversion_.

◆ primaryVertex()

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

Definition at line 31 of file EcalSimPhotonMCTruth.h.

31 { return thePrimaryVertex_; }

References thePrimaryVertex_.

◆ radius()

float EcalSimPhotonMCTruth::radius ( void  ) const
inline

Definition at line 33 of file EcalSimPhotonMCTruth.h.

33 { return theR_; }

References theR_.

◆ simTracks()

std::vector<const SimTrack *> EcalSimPhotonMCTruth::simTracks ( ) const
inline

Definition at line 37 of file EcalSimPhotonMCTruth.h.

37 { return tracks_; }

References tracks_.

◆ vertex()

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

Definition at line 36 of file EcalSimPhotonMCTruth.h.

36 { return theConvVertex_; }

References theConvVertex_.

Referenced by Tau.Tau::dxy().

◆ z()

float EcalSimPhotonMCTruth::z ( ) const
inline

Definition at line 34 of file EcalSimPhotonMCTruth.h.

34 { return theZ_; }

References theZ_.

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

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().

EcalSimPhotonMCTruth::tracks_
std::vector< const SimTrack * > tracks_
Definition: EcalSimPhotonMCTruth.h:46
EcalSimPhotonMCTruth::theZ_
float theZ_
Definition: EcalSimPhotonMCTruth.h:43
findQualityFiles.v
v
Definition: findQualityFiles.py:179
EcalSimPhotonMCTruth::thePhoton_
math::XYZTLorentzVectorD thePhoton_
Definition: EcalSimPhotonMCTruth.h:41
EcalSimPhotonMCTruth::theR_
float theR_
Definition: EcalSimPhotonMCTruth.h:42
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:159
EcalSimPhotonMCTruth::isAConversion_
int isAConversion_
Definition: EcalSimPhotonMCTruth.h:40
EcalSimPhotonMCTruth::thePrimaryVertex_
math::XYZTLorentzVectorD thePrimaryVertex_
Definition: EcalSimPhotonMCTruth.h:45
EcalSimPhotonMCTruth::isAConversion
int isAConversion() const
Definition: EcalSimPhotonMCTruth.h:32
EcalSimPhotonMCTruth::theConvVertex_
math::XYZTLorentzVectorD theConvVertex_
Definition: EcalSimPhotonMCTruth.h:44