Go to the documentation of this file. 1 #ifndef Validation_MuonCSCDigis_CSCDigiMatcher_h
2 #define Validation_MuonCSCDigis_CSCDigiMatcher_h
80 std::set<int>
stripsInChamber(
unsigned int,
int max_gap_to_fill = 0)
const;
94 std::set<unsigned int>
selectDetIds(
const T& digis,
int csc_type)
const;
134 std::set<unsigned int>
result;
135 for (
const auto&
p : digis) {
136 const auto&
id =
p.first;
std::map< unsigned int, CSCStripDigiContainer > detid_to_strips_
int nCoincidenceStripChambers(int min_n_layers=4) const
std::map< unsigned int, CSCComparatorDigiContainer > detid_to_comparators_
const CSCWireDigiContainer & wireDigisInChamber(unsigned int) const
std::map< unsigned int, CSCStripDigiContainer > chamber_to_strips_
CSCComparatorDigiContainer no_comparators_
std::shared_ptr< CSCSimHitMatcher > muonSimHitMatcher() const
void matchComparatorsToSimTrack(const CSCComparatorDigiCollection &comparators)
edm::EDGetTokenT< CSCStripDigiCollection > stripDigiInput_
std::shared_ptr< CSCSimHitMatcher > muonSimHitMatcher_
std::map< unsigned int, CSCWireDigiContainer > detid_to_wires_
std::set< int > comparatorsInChamber(unsigned int, int max_gap_to_fill=0) const
edm::Handle< CSCStripDigiCollection > stripDigisH_
const CSCWireDigiContainer & wireDigisInDetId(unsigned int) const
std::set< unsigned int > chamberIdsStrip(int csc_type=MuonHitHelper::CSC_ALL) const
std::set< unsigned int > chamberIdsWire(int csc_type=MuonHitHelper::CSC_ALL) const
int nLayersWithStripInChamber(unsigned int) const
int nLayersWithWireInChamber(unsigned int) const
edm::Handle< CSCComparatorDigiCollection > comparatorDigisH_
std::map< unsigned int, CSCWireDigiContainer > chamber_to_wires_
const CSCStripDigiContainer & stripDigisInDetId(unsigned int) const
std::set< int > stripsInChamber(unsigned int, int max_gap_to_fill=0) const
std::map< unsigned int, CSCComparatorDigiContainer > chamber_to_comparators_
int nCoincidenceWireChambers(int min_n_layers=4) const
std::vector< CSCComparatorDigi > CSCComparatorDigiContainer
std::set< unsigned int > selectDetIds(const T &digis, int csc_type) const
void match(const SimTrack &t, const SimVertex &v)
do the matching
std::vector< CSCWireDigi > CSCWireDigiContainer
const CSCStripDigiContainer & stripDigisInChamber(unsigned int) const
std::vector< CSCStripDigi > CSCStripDigiContainer
int nCoincidenceComparatorChambers(int min_n_layers=4) const
void matchWiresToSimTrack(const CSCWireDigiCollection &wires)
std::set< int > comparatorsInDetId(unsigned int) const
edm::EDGetTokenT< CSCWireDigiCollection > wireDigiInput_
edm::Handle< CSCWireDigiCollection > wireDigisH_
CSCDigiMatcher(edm::ParameterSet const &iPS, edm::ConsumesCollector &&iC)
const CSCComparatorDigiContainer & comparatorDigisInDetId(unsigned int) const
edm::EDGetTokenT< CSCComparatorDigiCollection > comparatorDigiInput_
std::set< int > stripsInDetId(unsigned int) const
const CSCComparatorDigiContainer & comparatorDigisInChamber(unsigned int) const
std::set< int > wiregroupsInChamber(unsigned int, int max_gap_to_fill=0) const
std::set< unsigned int > detIdsWire(int csc_type=MuonHitHelper::CSC_ALL) const
std::set< unsigned int > detIdsComparator(int csc_type=MuonHitHelper::CSC_ALL) const
std::set< unsigned int > detIdsStrip(int csc_type=MuonHitHelper::CSC_ALL) const
std::set< int > wiregroupsInDetId(unsigned int) const
std::vector< std::pair< unsigned int, CSCComparatorDigi > > CSCComparatorDigiDetIdContainer
CSCWireDigiContainer no_wires_
void matchStripsToSimTrack(const CSCStripDigiCollection &strips)
int matchDeltaComparator_
std::vector< std::pair< unsigned int, CSCWireDigi > > CSCWireDigiDetIdContainer
int nLayersWithComparatorInChamber(unsigned int) const
static int toCSCType(int st, int ri)
CSCStripDigiContainer no_strips_
std::vector< std::pair< unsigned int, CSCStripDigi > > CSCStripDigiDetIdContainer
strips
#turn off noise in all subdetectors simHcalUnsuppressedDigis.doNoise = False mix.digitizers....
std::set< unsigned int > chamberIdsComparator(int csc_type=MuonHitHelper::CSC_ALL) const
void init(const edm::Event &e, const edm::EventSetup &eventSetup)