#include <ElectronMCTruthFinder.h>
Public Member Functions | |
ElectronMCTruthFinder () | |
std::vector< ElectronMCTruth > | find (const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices) |
virtual | ~ElectronMCTruthFinder () |
Private Member Functions | |
void | fill (const std::vector< SimTrack > &theSimTracks, const std::vector< SimVertex > &theSimVertices) |
Private Attributes | |
std::map< unsigned, unsigned > | geantToIndex_ |
PhotonMCTruthFinder * | thePhotonMCTruthFinder_ |
Definition at line 13 of file ElectronMCTruthFinder.h.
ElectronMCTruthFinder::ElectronMCTruthFinder | ( | ) |
Definition at line 5 of file ElectronMCTruthFinder.cc.
|
virtual |
Definition at line 7 of file ElectronMCTruthFinder.cc.
|
private |
Definition at line 195 of file ElectronMCTruthFinder.cc.
References geantToIndex_, TrackCandidateProducer_cfi::simTracks, and HGCalValidator_cfi::simVertices.
Referenced by find().
std::vector< ElectronMCTruth > ElectronMCTruthFinder::find | ( | const std::vector< SimTrack > & | simTracks, |
const std::vector< SimVertex > & | simVertices | ||
) |
Now store the electron truth
here fill the electron
Definition at line 9 of file ElectronMCTruthFinder.cc.
References funct::abs(), MillePedeFileConverter_cfg::e, simKBmtfDigis_cfi::eLoss, fill(), geantToIndex_, CoreSimTrack::momentum(), objects.autophobj::motherId, SimVertex::parentIndex(), CoreSimVertex::position(), mps_fire::result, CoreSimTrack::trackId(), CoreSimTrack::type(), and SimTrack::vertIndex().
Referenced by MCElectronAnalyzer::analyze().
|
private |
Definition at line 24 of file ElectronMCTruthFinder.h.
|
private |
Definition at line 25 of file ElectronMCTruthFinder.h.