CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
PhotonMCTruthFinder Class Reference

#include <PhotonMCTruthFinder.h>

Public Member Functions

void clear ()
 
std::vector< PhotonMCTruthfind (const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
 
 PhotonMCTruthFinder ()
 
virtual ~PhotonMCTruthFinder ()
 

Private Member Functions

void fill (const std::vector< SimTrack > &theSimTracks, const std::vector< SimVertex > &theSimVertices)
 

Private Attributes

std::map< unsigned, unsigned > geantToIndex_
 

Detailed Description

Author
N. Marinelli Notre Dame

Definition at line 22 of file PhotonMCTruthFinder.h.

Constructor & Destructor Documentation

PhotonMCTruthFinder::PhotonMCTruthFinder ( )

Definition at line 14 of file PhotonMCTruthFinder.cc.

virtual PhotonMCTruthFinder::~PhotonMCTruthFinder ( )
inlinevirtual

Definition at line 26 of file PhotonMCTruthFinder.h.

26 { }

Member Function Documentation

void PhotonMCTruthFinder::clear ( void  )
inline

Definition at line 31 of file PhotonMCTruthFinder.h.

References geantToIndex_.

31 {geantToIndex_.clear();}
std::map< unsigned, unsigned > geantToIndex_
void PhotonMCTruthFinder::fill ( const std::vector< SimTrack > &  theSimTracks,
const std::vector< SimVertex > &  theSimVertices 
)
private

Definition at line 412 of file PhotonMCTruthFinder.cc.

std::vector< PhotonMCTruth > PhotonMCTruthFinder::find ( const std::vector< SimTrack > &  simTracks,
const std::vector< SimVertex > &  simVertices 
)

find truth about this electron and store it since it's from a converted photon

here fill the electron

Definition at line 20 of file PhotonMCTruthFinder.cc.

Member Data Documentation

std::map<unsigned, unsigned> PhotonMCTruthFinder::geantToIndex_
private

Definition at line 39 of file PhotonMCTruthFinder.h.

Referenced by clear().