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