CMS 3D CMS Logo

Public Member Functions | Private Attributes

PhotonMCTruth Class Reference

#include <PhotonMCTruth.h>

List of all members.

Public Member Functions

std::vector< ElectronMCTruthelectrons () const
CLHEP::HepLorentzVector fourMomentum () const
int isAConversion () const
CLHEP::HepLorentzVector motherMomentum () const
int motherType () const
CLHEP::HepLorentzVector motherVtx () const
 PhotonMCTruth ()
 PhotonMCTruth (CLHEP::HepLorentzVector v)
 PhotonMCTruth (int isAConversion, CLHEP::HepLorentzVector v, int vertIndex, int trackId, int motherId, CLHEP::HepLorentzVector mothMom, CLHEP::HepLorentzVector mothVtx, CLHEP::HepLorentzVector convVertex, CLHEP::HepLorentzVector pV, std::vector< ElectronMCTruth > &electrons)
CLHEP::HepLorentzVector primaryVertex () const
int trackId () const
CLHEP::HepLorentzVector vertex () const
int vertexInd () const

Private Attributes

int isAConversion_
CLHEP::HepLorentzVector theConvVertex_
std::vector< ElectronMCTruththeElectrons_
int theMotherId_
CLHEP::HepLorentzVector theMotherMom_
CLHEP::HepLorentzVector theMotherVtx_
CLHEP::HepLorentzVector thePhoton_
CLHEP::HepLorentzVector thePrimaryVertex_
int theTrackId_
int theVertexIndex_

Detailed Description

This class stores all the MC truth information needed about the conversion

Date:
2009/05/27 07:34:56
Revision:
1.9
Author:
N. Marinelli University of Notre Dame

Definition at line 24 of file PhotonMCTruth.h.


Constructor & Destructor Documentation

PhotonMCTruth::PhotonMCTruth ( ) [inline]

Definition at line 26 of file PhotonMCTruth.h.

                  : isAConversion_(0),thePhoton_(0.,0.,0.), 
                       theConvVertex_(0.,0.,0.) {};
PhotonMCTruth::PhotonMCTruth ( CLHEP::HepLorentzVector  v) [inline]

Definition at line 29 of file PhotonMCTruth.h.

: thePhoton_(v) {};
PhotonMCTruth::PhotonMCTruth ( int  isAConversion,
CLHEP::HepLorentzVector  v,
int  vertIndex,
int  trackId,
int  motherId,
CLHEP::HepLorentzVector  mothMom,
CLHEP::HepLorentzVector  mothVtx,
CLHEP::HepLorentzVector  convVertex,
CLHEP::HepLorentzVector  pV,
std::vector< ElectronMCTruth > &  electrons 
)

Definition at line 8 of file PhotonMCTruth.cc.


Member Function Documentation

std::vector<ElectronMCTruth> PhotonMCTruth::electrons ( ) const [inline]

Definition at line 49 of file PhotonMCTruth.h.

References theElectrons_.

{return theElectrons_;} 
CLHEP::HepLorentzVector PhotonMCTruth::fourMomentum ( ) const [inline]

Definition at line 46 of file PhotonMCTruth.h.

References thePhoton_.

{return thePhoton_;}
int PhotonMCTruth::isAConversion ( ) const [inline]

Definition at line 45 of file PhotonMCTruth.h.

References isAConversion_.

{ return isAConversion_;}
CLHEP::HepLorentzVector PhotonMCTruth::motherMomentum ( ) const [inline]

Definition at line 52 of file PhotonMCTruth.h.

References theMotherMom_.

{return theMotherMom_;}
int PhotonMCTruth::motherType ( ) const [inline]

Definition at line 51 of file PhotonMCTruth.h.

References theMotherId_.

{return theMotherId_;}
CLHEP::HepLorentzVector PhotonMCTruth::motherVtx ( ) const [inline]

Definition at line 53 of file PhotonMCTruth.h.

References theMotherVtx_.

{return theMotherVtx_;}
CLHEP::HepLorentzVector PhotonMCTruth::primaryVertex ( ) const [inline]

Definition at line 44 of file PhotonMCTruth.h.

References thePrimaryVertex_.

int PhotonMCTruth::trackId ( ) const [inline]

Definition at line 50 of file PhotonMCTruth.h.

References theTrackId_.

{return theTrackId_;}  
CLHEP::HepLorentzVector PhotonMCTruth::vertex ( ) const [inline]

Definition at line 48 of file PhotonMCTruth.h.

References theConvVertex_.

{return theConvVertex_;}
int PhotonMCTruth::vertexInd ( ) const [inline]

Definition at line 47 of file PhotonMCTruth.h.

References theVertexIndex_.

{return theVertexIndex_;}

Member Data Documentation

Definition at line 57 of file PhotonMCTruth.h.

Referenced by isAConversion().

CLHEP::HepLorentzVector PhotonMCTruth::theConvVertex_ [private]

Definition at line 64 of file PhotonMCTruth.h.

Referenced by vertex().

Definition at line 66 of file PhotonMCTruth.h.

Referenced by electrons().

Definition at line 61 of file PhotonMCTruth.h.

Referenced by motherType().

CLHEP::HepLorentzVector PhotonMCTruth::theMotherMom_ [private]

Definition at line 62 of file PhotonMCTruth.h.

Referenced by motherMomentum().

CLHEP::HepLorentzVector PhotonMCTruth::theMotherVtx_ [private]

Definition at line 63 of file PhotonMCTruth.h.

Referenced by motherVtx().

CLHEP::HepLorentzVector PhotonMCTruth::thePhoton_ [private]

Definition at line 58 of file PhotonMCTruth.h.

Referenced by fourMomentum().

CLHEP::HepLorentzVector PhotonMCTruth::thePrimaryVertex_ [private]

Definition at line 65 of file PhotonMCTruth.h.

Referenced by primaryVertex().

Definition at line 60 of file PhotonMCTruth.h.

Referenced by trackId().

Definition at line 59 of file PhotonMCTruth.h.

Referenced by vertexInd().