1 #ifndef MCTruth_MuonTruth_h 2 #define MCTruth_MuonTruth_h std::map< unsigned int, edm::PSimHitContainer > theSimHitMap
std::pair< uint32_t, EncodedEventId > SimHitIdpr
edm::DetSet< StripDigiSimLink > LayerLinks
int particleType(SimHitIdpr truthId)
const DigiSimLinks * theWireDigiSimLinks
edm::EDGetTokenT< edm::PSimHitContainer > simHitsToken_
const CSCGeometry * cscgeom
std::map< SimHitIdpr, float > theChargeMap
std::vector< PSimHit > muonHits()
const edm::ESGetToken< CSCGeometry, MuonGeometryRecord > geomToken_
std::vector< PSimHit > simHits()
const CSCBadChambers * cscBadChambers
std::vector< PSimHit > hitsFromSimTrack(SimHitIdpr truthId)
const edm::InputTag wireLinksTag
MuonTruth(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
const edm::EDGetTokenT< DigiSimLinks > wireLinksToken_
edm::DetSetVector< StripDigiSimLink > WireDigiSimLinks
const edm::InputTag CSCsimHitsXFTag
const edm::InputTag linksTag
void analyze(const CSCRecHit2D &recHit)
const edm::InputTag CSCsimHitsTag
const edm::EDGetTokenT< DigiSimLinks > linksToken_
edm::EDGetTokenT< CrossingFrame< PSimHit > > simHitsXFToken_
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.)
const edm::ESGetToken< CSCBadChambers, CSCBadChambersRcd > badToken_
void initEvent(const edm::Event &, const edm::EventSetup &)