1 #ifndef Validation_MuonHits_MuonSimHitMatcher_h 2 #define Validation_MuonHits_MuonSimHitMatcher_h 50 std::set<unsigned int>
detIds(
int type = 0)
const;
const edm::PSimHitContainer & hitsInChamber(unsigned int) const
const TrackingGeometry * geometry_
edm::PSimHitContainer hits_
std::set< unsigned int > detIds(int type=0) const
std::map< unsigned int, edm::PSimHitContainer > detid_to_hits_
GlobalPoint simHitsMeanPosition(const edm::PSimHitContainer &sim_hits) const
edm::SimTrackContainer simTracks_
GlobalPoint simHitsMeanPositionStation(int n) const
GlobalVector simHitsMeanMomentum(const edm::PSimHitContainer &sim_hits) const
edm::Handle< edm::SimVertexContainer > simVerticesH_
std::set< unsigned int > chamberIds(int type=0) const
edm::EDGetTokenT< edm::SimVertexContainer > simVertexInput_
const std::vector< float > & sim_hits()
std::vector< unsigned > track_ids_
const edm::PSimHitContainer & simHits(int) const
edm::PSimHitContainer simHits_
edm::SimVertexContainer simVertices_
edm::ParameterSet simHitPSet_
std::map< unsigned int, edm::PSimHitContainer > chamber_to_hits_
std::map< unsigned int, unsigned int > trkid_to_index_
edm::PSimHitContainer no_hits_
edm::Handle< edm::PSimHitContainer > simHitsH_
edm::Handle< edm::SimTrackContainer > simTracksH_
std::vector< SimVertex > SimVertexContainer
void match(const SimTrack &t, const SimVertex &v)
do the matching
edm::EDGetTokenT< edm::PSimHitContainer > simHitInput_
const edm::PSimHitContainer & hitsInDetId(unsigned int) const
edm::EDGetTokenT< edm::SimTrackContainer > simTrackInput_
MuonSimHitMatcher(const edm::ParameterSet &iPS, edm::ConsumesCollector &&iC)
std::vector< PSimHit > PSimHitContainer
std::vector< unsigned int > getIdsOfSimTrackShower(unsigned trk_id, const edm::SimTrackContainer &simTracks, const edm::SimVertexContainer &simVertices)
void init(const edm::Event &e, const edm::EventSetup &eventSetup)
initialize the event
const TrackingGeometry * geometry()
std::vector< SimTrack > SimTrackContainer