1 #ifndef Validation_MuonHits_MuonSimHitMatcher_h 2 #define Validation_MuonHits_MuonSimHitMatcher_h 51 std::set<unsigned int>
detIds(
int type = 0)
const;
const TrackingGeometry * geometry_
edm::PSimHitContainer hits_
std::map< unsigned int, edm::PSimHitContainer > detid_to_hits_
edm::SimTrackContainer simTracks_
std::set< unsigned int > chamberIds(int type=0) const
edm::Handle< edm::SimVertexContainer > simVerticesH_
edm::EDGetTokenT< edm::SimVertexContainer > simVertexInput_
std::vector< unsigned > track_ids_
GlobalPoint simHitsMeanPositionStation(int n) const
GlobalPoint simHitsMeanPosition(const edm::PSimHitContainer &sim_hits) const
edm::PSimHitContainer simHits_
edm::SimVertexContainer simVertices_
const edm::PSimHitContainer & simHits(int) const
edm::ParameterSet simHitPSet_
GlobalVector simHitsMeanMomentum(const edm::PSimHitContainer &sim_hits) const
std::map< unsigned int, edm::PSimHitContainer > chamber_to_hits_
std::map< unsigned int, unsigned int > trkid_to_index_
edm::PSimHitContainer no_hits_
const edm::PSimHitContainer & hitsInDetId(unsigned int) const
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_
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 edm::PSimHitContainer & hitsInChamber(unsigned int) const
std::set< unsigned int > detIds(int type=0) const
std::vector< SimTrack > SimTrackContainer