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