Go to the documentation of this file. 1 #ifndef Validation_MuonCSCDigis_CSCStubMatcher_h
2 #define Validation_MuonCSCDigis_CSCStubMatcher_h
152 std::set<unsigned int>
result;
153 for (
auto&
p : digis) {
const CSCCorrelatedLCTDigiContainer & allLCTsInChamber(unsigned int) const
CSCALCTDigi bestAlctInChamber(unsigned int) const
const CSCALCTDigiContainer & alctsInChamber(unsigned int) const
GlobalPoint getGlobalPosition(unsigned int rawId, const CSCCorrelatedLCTDigi &lct) const
const CSCGeometry * cscGeometry_
const CSCCorrelatedLCTDigiContainer & lctsInChamber(unsigned int) const
std::shared_ptr< CSCDigiMatcher > cscDigiMatcher_
int nChambersWithLCT(int min_quality=0) const
std::vector< CSCCorrelatedLCTDigi > CSCCorrelatedLCTDigiContainer
edm::EDGetTokenT< CSCCLCTDigiCollection > clctToken_
int nChambersWithMPLCT(int min_quality=0) const
edm::Handle< CSCCorrelatedLCTDigiCollection > mplctsH_
CSCALCTDigiContainer no_alcts_
std::map< unsigned int, CSCALCTDigiContainer > alcts() const
std::map< unsigned int, CSCCorrelatedLCTDigiContainer > chamber_to_lcts_
std::shared_ptr< CSCDigiMatcher > cscDigiMatcher()
std::map< unsigned int, CSCCorrelatedLCTDigiContainer > chamber_to_lcts_all_
CSCCLCTDigi bestClctInChamber(unsigned int) const
best matching from a particular crossed chamber
edm::Handle< CSCCLCTDigiCollection > clctsH_
std::set< unsigned int > selectDetIds(D &, int) const
std::map< unsigned int, CSCCorrelatedLCTDigiContainer > chamber_to_mplcts_
const CSCCLCTDigiContainer & allCLCTsInChamber(unsigned int) const
all stubs (not necessarily matching) from a particular crossed chamber
std::map< unsigned int, CSCCLCTDigiContainer > clcts() const
all matching lcts
edm::Handle< CSCCorrelatedLCTDigiCollection > lctsH_
CSCCorrelatedLCTDigi bestLctInChamber(unsigned int) const
const CSCCLCTDigiContainer & clctsInChamber(unsigned int) const
all matching from a particular crossed chamber
edm::Handle< CSCALCTDigiCollection > alctsH_
const CSCCorrelatedLCTDigiContainer & allMPLCTsInChamber(unsigned int) const
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > geomToken_
int minNHitsChamberMPLCT_
std::map< unsigned int, CSCCLCTDigiContainer > chamber_to_clcts_
std::map< unsigned int, CSCCorrelatedLCTDigiContainer > chamber_to_mplcts_all_
std::vector< CSCCLCTDigi > CSCCLCTDigiContainer
void matchMPLCTsToSimTrack(const CSCCorrelatedLCTDigiCollection &)
const CSCCorrelatedLCTDigiContainer & mplctsInChamber(unsigned int) const
void matchCLCTsToSimTrack(const CSCCLCTDigiCollection &)
CSCCorrelatedLCTDigi bestMplctInChamber(unsigned int) const
void matchALCTsToSimTrack(const CSCALCTDigiCollection &)
std::set< unsigned int > chamberIdsAllMPLCT(int csc_type=MuonHitHelper::CSC_ALL) const
std::set< unsigned int > chamberIdsMPLCT(int csc_type=MuonHitHelper::CSC_ALL) const
void init(const edm::Event &e, const edm::EventSetup &eventSetup)
initialize the event
CSCCLCTDigiContainer no_clcts_
edm::EDGetTokenT< CSCALCTDigiCollection > alctToken_
std::set< unsigned int > chamberIdsAllALCT(int csc_type=MuonHitHelper::CSC_ALL) const
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > mplctToken_
int nChambersWithCLCT(int min_quality=0) const
How many CSC chambers with matching stubs of some minimal quality did this SimTrack hit?
std::vector< CSCALCTDigi > CSCALCTDigiContainer
std::map< unsigned int, CSCCorrelatedLCTDigiContainer > mplcts() const
std::shared_ptr< GEMDigiMatcher > gemDigiMatcher()
CSCStubMatcher(edm::ParameterSet const &iPS, edm::ConsumesCollector &&iC)
std::map< unsigned int, CSCALCTDigiContainer > chamber_to_alcts_
std::set< unsigned int > chamberIdsAllCLCT(int csc_type=MuonHitHelper::CSC_ALL) const
crossed chamber detIds with not necessarily matching stubs
DecomposeProduct< arg, typename Div::arg > D
CSCCorrelatedLCTDigiContainer no_mplcts_
void match(const SimTrack &t, const SimVertex &v)
do the matching
std::set< unsigned int > chamberIdsAllLCT(int csc_type=MuonHitHelper::CSC_ALL) const
CSCCorrelatedLCTDigiContainer no_lcts_
std::map< unsigned int, CSCCLCTDigiContainer > chamber_to_clcts_all_
std::shared_ptr< GEMDigiMatcher > gemDigiMatcher_
std::map< unsigned int, CSCCorrelatedLCTDigiContainer > lcts() const
std::set< unsigned int > chamberIdsCLCT(int csc_type=MuonHitHelper::CSC_ALL) const
chamber detIds with matching stubs
float zpositionOfLayer(unsigned int detid, int layer) const
static int toCSCType(int st, int ri)
std::set< unsigned int > chamberIdsLCT(int csc_type=MuonHitHelper::CSC_ALL) const
std::set< unsigned int > chamberIdsALCT(int csc_type=MuonHitHelper::CSC_ALL) const
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > lctToken_
std::map< unsigned int, CSCALCTDigiContainer > chamber_to_alcts_all_
const CSCALCTDigiContainer & allALCTsInChamber(unsigned int) const
int nChambersWithALCT(int min_quality=0) const
void matchLCTsToSimTrack(const CSCCorrelatedLCTDigiCollection &)
bool lctInChamber(const CSCDetId &id, const CSCCorrelatedLCTDigi &lct) const