1 #ifndef MCTruth_MuonTruth_h
2 #define MCTruth_MuonTruth_h
std::map< unsigned int, edm::PSimHitContainer > theSimHitMap
std::pair< uint32_t, EncodedEventId > SimHitIdpr
edm::ESGetToken< CSCBadChambers, CSCBadChambersRcd > badToken_
edm::DetSet< StripDigiSimLink > LayerLinks
edm::InputTag CSCsimHitsTag
int particleType(SimHitIdpr truthId)
edm::InputTag CSCsimHitsXFTag
edm::InputTag wireLinksTag
const DigiSimLinks * theWireDigiSimLinks
const CSCGeometry * cscgeom
std::map< SimHitIdpr, float > theChargeMap
std::vector< PSimHit > muonHits()
std::vector< PSimHit > simHits()
const CSCBadChambers * cscBadChambers
std::vector< PSimHit > hitsFromSimTrack(SimHitIdpr truthId)
edm::DetSetVector< StripDigiSimLink > WireDigiSimLinks
void analyze(const CSCRecHit2D &recHit)
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > geomToken_
MuonTruth(const edm::Event &, const edm::EventSetup &, const edm::ParameterSet &, edm::ConsumesCollector &)
edm::DetSetVector< StripDigiSimLink > DigiSimLinks
float muonFraction()
analyze() must be called before any of the following
const DigiSimLinks * theDigiSimLinks
void addChannel(const LayerLinks &layerLinks, int channel, float weight=1.)
void initEvent(const edm::Event &, const edm::EventSetup &)