Go to the documentation of this file.
20 iBooker.
book1D(
"CSCWireDigisPerEvent",
"CSC Wire Digis per event;CSC Wire Digis per event;Entries", 100, 0, 100);
21 for (
int i = 1;
i <= 10; ++
i) {
43 if (!
wires.isValid()) {
47 unsigned nDigisPerEvent = 0;
50 auto beginDigi = (*j).second.first;
51 auto endDigi = (*j).second.second;
52 int detId = (*j).first.rawId();
55 int chamberType =
layer->chamber()->specs()->chamberType();
56 int nDigis = endDigi - beginDigi;
57 nDigisPerEvent += nDigis;
60 for (
auto digiItr = beginDigi; digiItr != endDigi; ++digiItr) {
66 if (nDigis == 1 &&
simHits.size() == 1) {
79 double hitX =
hit.localPosition().
x();
80 double hitY =
hit.localPosition().
y();
MonitorElement * theResolutionPlots[10]
int getWireGroup() const
default
MonitorElement * theTimeBinPlots[10]
void analyze(const edm::Event &, const edm::EventSetup &) override
CSCWireDigiValidation(const edm::ParameterSet &ps, edm::ConsumesCollector &&iC)
~CSCWireDigiValidation() override
const CSCLayer * findLayer(int detId) const
constexpr std::array< uint8_t, layerIndexSize > layer
const PSimHitMap * theSimHitMap
edm::EDGetTokenT< CSCWireDigiCollection > wires_Token_
Log< level::Error, false > LogError
MonitorElement * theNDigisPerEventPlot
std::string chamberName() const
const edm::PSimHitContainer & hits(int detId) const
MonitorElement * theNDigisPerLayerPlots[10]
std::vector< PSimHit > PSimHitContainer
void plotResolution(const PSimHit &hit, const CSCWireDigi &digi, const CSCLayer *layer, int chamberType)
void bookHistograms(DQMStore::IBooker &)
ParameterSet const & getParameterSet(std::string const &) const
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())