#include <MuonTruth.h>
Public Types | |
typedef edm::DetSetVector < StripDigiSimLink > | DigiSimLinks |
typedef edm::DetSet < StripDigiSimLink > | LayerLinks |
typedef std::pair< uint32_t, EncodedEventId > | SimHitIdpr |
typedef edm::DetSetVector < StripDigiSimLink > | WireDigiSimLinks |
Public Member Functions | |
void | analyze (const CSCRecHit2D &recHit) |
void | analyze (const CSCStripDigi &stripDigi, int rawDetIdCorrespondingToCSCLayer) |
void | analyze (const CSCWireDigi &wireDigi, int rawDetIdCorrespondingToCSCLayer) |
void | initEvent (const edm::Event &, const edm::EventSetup &) |
float | muonFraction () |
analyze() must be called before any of the following More... | |
std::vector< PSimHit > | muonHits () |
MuonTruth (const edm::Event &, const edm::EventSetup &, const edm::ParameterSet &) | |
MuonTruth (const edm::ParameterSet &, edm::ConsumesCollector &&iC) | |
std::vector< PSimHit > | simHits () |
Public Attributes | |
const CSCBadChambers * | cscBadChambers |
Private Member Functions | |
void | addChannel (const LayerLinks &layerLinks, int channel, float weight=1.) |
std::vector< PSimHit > | hitsFromSimTrack (SimHitIdpr truthId) |
int | particleType (SimHitIdpr truthId) |
Private Attributes | |
bool | crossingframe |
const CSCGeometry * | cscgeom |
edm::InputTag | CSCsimHitsTag |
edm::InputTag | CSCsimHitsXFTag |
edm::InputTag | linksTag |
std::map< SimHitIdpr, float > | theChargeMap |
unsigned int | theDetId |
const DigiSimLinks * | theDigiSimLinks |
std::map< unsigned int, edm::PSimHitContainer > | theSimHitMap |
float | theTotalCharge |
const DigiSimLinks * | theWireDigiSimLinks |
edm::InputTag | wireLinksTag |
Definition at line 24 of file MuonTruth.h.
Definition at line 27 of file MuonTruth.h.
Definition at line 29 of file MuonTruth.h.
typedef std::pair<uint32_t, EncodedEventId> MuonTruth::SimHitIdpr |
Definition at line 30 of file MuonTruth.h.
Definition at line 28 of file MuonTruth.h.
MuonTruth::MuonTruth | ( | const edm::Event & | event, |
const edm::EventSetup & | setup, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 8 of file MuonTruth.cc.
MuonTruth::MuonTruth | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 22 of file MuonTruth.cc.
|
private |
Definition at line 240 of file MuonTruth.cc.
void MuonTruth::analyze | ( | const CSCRecHit2D & | recHit | ) |
Definition at line 182 of file MuonTruth.cc.
Referenced by CSCTruthTest::analyze().
void MuonTruth::analyze | ( | const CSCStripDigi & | stripDigi, |
int | rawDetIdCorrespondingToCSCLayer | ||
) |
Definition at line 208 of file MuonTruth.cc.
void MuonTruth::analyze | ( | const CSCWireDigi & | wireDigi, |
int | rawDetIdCorrespondingToCSCLayer | ||
) |
Definition at line 222 of file MuonTruth.cc.
|
private |
Definition at line 148 of file MuonTruth.cc.
void MuonTruth::initEvent | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
Definition at line 43 of file MuonTruth.cc.
float MuonTruth::muonFraction | ( | ) |
analyze() must be called before any of the following
Definition at line 98 of file MuonTruth.cc.
Referenced by CSCTruthTest::analyze().
std::vector< PSimHit > MuonTruth::muonHits | ( | ) |
Definition at line 130 of file MuonTruth.cc.
|
private |
Definition at line 170 of file MuonTruth.cc.
std::vector< PSimHit > MuonTruth::simHits | ( | ) |
Definition at line 116 of file MuonTruth.cc.
|
private |
Definition at line 69 of file MuonTruth.h.
const CSCBadChambers* MuonTruth::cscBadChambers |
Definition at line 48 of file MuonTruth.h.
|
private |
Definition at line 75 of file MuonTruth.h.
|
private |
Definition at line 70 of file MuonTruth.h.
|
private |
Definition at line 71 of file MuonTruth.h.
|
private |
Definition at line 66 of file MuonTruth.h.
|
private |
Definition at line 58 of file MuonTruth.h.
|
private |
Definition at line 61 of file MuonTruth.h.
|
private |
Definition at line 63 of file MuonTruth.h.
|
private |
Definition at line 73 of file MuonTruth.h.
|
private |
Definition at line 59 of file MuonTruth.h.
|
private |
Definition at line 64 of file MuonTruth.h.
|
private |
Definition at line 67 of file MuonTruth.h.