CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
BtlDigiHitsValidation Class Reference

#include <Validation/MtdValidation/plugins/BtlDigiHitsValidation.cc>

Inheritance diagram for BtlDigiHitsValidation:
DQMEDAnalyzer edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 BtlDigiHitsValidation (const edm::ParameterSet &)
 
 ~BtlDigiHitsValidation () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual void dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
virtual void dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 

Private Attributes

edm::EDGetTokenT< BTLDigiCollectionbtlDigiHitsToken_
 
const std::string folder_
 
MonitorElementmeHitCharge_ [2]
 
MonitorElementmeHitEta_ [2]
 
MonitorElementmeHitPhi_ [2]
 
MonitorElementmeHitQvsEta_ [2]
 
MonitorElementmeHitQvsPhi_ [2]
 
MonitorElementmeHitQvsZ_ [2]
 
MonitorElementmeHitTime_ [2]
 
MonitorElementmeHitTvsEta_ [2]
 
MonitorElementmeHitTvsPhi_ [2]
 
MonitorElementmeHitTvsQ_ [2]
 
MonitorElementmeHitTvsZ_ [2]
 
MonitorElementmeHitX_ [2]
 
MonitorElementmeHitY_ [2]
 
MonitorElementmeHitZ_ [2]
 
MonitorElementmeNhits_ [2]
 
MonitorElementmeOccupancy_ [2]
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Description: BTL DIGI hits validation

Implementation: [Notes on implementation]

Definition at line 36 of file BtlDigiHitsValidation.cc.

Constructor & Destructor Documentation

BtlDigiHitsValidation::BtlDigiHitsValidation ( const edm::ParameterSet iConfig)
explicit

Definition at line 79 of file BtlDigiHitsValidation.cc.

References btlDigiHitsToken_, and edm::ParameterSet::getParameter().

80  : folder_(iConfig.getParameter<std::string>("folder")) {
81  btlDigiHitsToken_ = consumes<BTLDigiCollection>(iConfig.getParameter<edm::InputTag>("inputTag"));
82 }
T getParameter(std::string const &) const
edm::EDGetTokenT< BTLDigiCollection > btlDigiHitsToken_
BtlDigiHitsValidation::~BtlDigiHitsValidation ( )
override

Definition at line 84 of file BtlDigiHitsValidation.cc.

84 {}

Member Function Documentation

void BtlDigiHitsValidation::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivate

Definition at line 87 of file BtlDigiHitsValidation.cc.

References ecalMGPA::adc(), btlDigiHitsToken_, BTLDetId::column(), TauDecayModes::dec, Exception, dqm::impl::MonitorElement::Fill(), BTLDetId::geographicalId(), relativeConstraints::geom, edm::EventSetup::get(), edm::Event::getHandle(), MTDTopology::getMTDTopologyMode(), MTDGeometry::idToDet(), edm::makeValid(), meHitCharge_, meHitEta_, meHitPhi_, meHitQvsEta_, meHitQvsPhi_, meHitQvsZ_, meHitTime_, meHitTvsEta_, meHitTvsPhi_, meHitTvsQ_, meHitTvsZ_, meHitX_, meHitY_, meHitZ_, meNhits_, meOccupancy_, RectangularMTDTopology::nrows(), RectangularMTDTopology::pixelToModuleLocalPoint(), edm::ESHandle< T >::product(), DetId::rawId(), BTLDetId::row(), ProxyMTDTopology::specificTopology(), GeomDet::toGlobal(), GeomDet::topology(), and ecaldqm::topology().

87  {
88  using namespace edm;
89 
90  edm::ESHandle<MTDGeometry> geometryHandle;
91  iSetup.get<MTDDigiGeometryRecord>().get(geometryHandle);
92  const MTDGeometry* geom = geometryHandle.product();
93 
94  edm::ESHandle<MTDTopology> topologyHandle;
95  iSetup.get<MTDTopologyRcd>().get(topologyHandle);
96  const MTDTopology* topology = topologyHandle.product();
97 
98  auto btlDigiHitsHandle = makeValid(iEvent.getHandle(btlDigiHitsToken_));
99 
100  // --- Loop over the BLT DIGI hits
101 
102  unsigned int n_digi_btl[2] = {0, 0};
103 
104  for (const auto& dataFrame : *btlDigiHitsHandle) {
105  BTLDetId detId = dataFrame.id();
106  DetId geoId = detId.geographicalId(static_cast<BTLDetId::CrysLayout>(topology->getMTDTopologyMode()));
107  const MTDGeomDet* thedet = geom->idToDet(geoId);
108  if (thedet == nullptr)
109  throw cms::Exception("BtlDigiHitsValidation") << "GeographicalID: " << std::hex << geoId.rawId() << " ("
110  << detId.rawId() << ") is invalid!" << std::dec << std::endl;
111  const ProxyMTDTopology& topoproxy = static_cast<const ProxyMTDTopology&>(thedet->topology());
112  const RectangularMTDTopology& topo = static_cast<const RectangularMTDTopology&>(topoproxy.specificTopology());
113 
114  Local3DPoint local_point(0., 0., 0.);
115  local_point = topo.pixelToModuleLocalPoint(local_point, detId.row(topo.nrows()), detId.column(topo.nrows()));
116  const auto& global_point = thedet->toGlobal(local_point);
117 
118  const auto& sample_L = dataFrame.sample(0);
119  const auto& sample_R = dataFrame.sample(1);
120 
121  uint32_t adc[2] = {sample_L.data(), sample_R.data()};
122  uint32_t tdc[2] = {sample_L.toa(), sample_R.toa()};
123 
124  for (int iside = 0; iside < 2; ++iside) {
125  if (adc[iside] == 0)
126  continue;
127 
128  meHitCharge_[iside]->Fill(adc[iside]);
129  meHitTime_[iside]->Fill(tdc[iside]);
130 
131  meOccupancy_[iside]->Fill(global_point.z(), global_point.phi());
132 
133  meHitX_[iside]->Fill(global_point.x());
134  meHitY_[iside]->Fill(global_point.y());
135  meHitZ_[iside]->Fill(global_point.z());
136  meHitPhi_[iside]->Fill(global_point.phi());
137  meHitEta_[iside]->Fill(global_point.eta());
138 
139  meHitTvsQ_[iside]->Fill(adc[iside], tdc[iside]);
140  meHitQvsPhi_[iside]->Fill(global_point.phi(), adc[iside]);
141  meHitQvsEta_[iside]->Fill(global_point.eta(), adc[iside]);
142  meHitQvsZ_[iside]->Fill(global_point.z(), adc[iside]);
143  meHitTvsPhi_[iside]->Fill(global_point.phi(), tdc[iside]);
144  meHitTvsEta_[iside]->Fill(global_point.eta(), tdc[iside]);
145  meHitTvsZ_[iside]->Fill(global_point.z(), tdc[iside]);
146 
147  n_digi_btl[iside]++;
148 
149  } // iside loop
150 
151  } // dataFrame loop
152 
153  if (n_digi_btl[0] > 0)
154  meNhits_[0]->Fill(log10(n_digi_btl[0]));
155  if (n_digi_btl[1] > 0)
156  meNhits_[1]->Fill(log10(n_digi_btl[1]));
157 }
MonitorElement * meHitZ_[2]
CaloTopology const * topology(0)
virtual const Topology & topology() const
Definition: GeomDet.cc:67
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
Definition: GeomDet.h:49
int getMTDTopologyMode() const
Definition: MTDTopology.h:73
MonitorElement * meHitQvsEta_[2]
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
MonitorElement * meHitTvsZ_[2]
MonitorElement * meHitY_[2]
MonitorElement * meHitX_[2]
edm::EDGetTokenT< BTLDigiCollection > btlDigiHitsToken_
int nrows() const override
void Fill(long long x)
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
Definition: Event.h:547
const MTDGeomDet * idToDet(DetId) const override
Definition: MTDGeometry.cc:160
BTLDetId geographicalId(CrysLayout lay) const
Definition: BTLDetId.cc:163
MonitorElement * meHitTvsEta_[2]
virtual const PixelTopology & specificTopology() const
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
LocalPoint pixelToModuleLocalPoint(const LocalPoint &plp, int row, int col) const
MonitorElement * meNhits_[2]
MonitorElement * meOccupancy_[2]
Definition: DetId.h:17
MonitorElement * meHitTvsQ_[2]
MonitorElement * meHitQvsZ_[2]
MonitorElement * meHitEta_[2]
MonitorElement * meHitPhi_[2]
HLT enums.
T get() const
Definition: EventSetup.h:73
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...
Definition: BTLDetId.h:18
MonitorElement * meHitTime_[2]
MonitorElement * meHitTvsPhi_[2]
int column(unsigned nrows=16) const
Definition: BTLDetId.h:110
MonitorElement * meHitCharge_[2]
auto makeValid(const U &iOtherHandleType) noexcept(false)
Definition: ValidHandle.h:52
T const * product() const
Definition: ESHandle.h:86
MonitorElement * meHitQvsPhi_[2]
int row(unsigned nrows=16) const
Definition: BTLDetId.h:105
void BtlDigiHitsValidation::bookHistograms ( DQMStore::IBooker ibook,
edm::Run const &  run,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Implements DQMEDAnalyzer.

Definition at line 160 of file BtlDigiHitsValidation.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), dqm::dqmstoreimpl::DQMStore::IBooker::bookProfile(), folder_, meHitCharge_, meHitEta_, meHitPhi_, meHitQvsEta_, meHitQvsPhi_, meHitQvsZ_, meHitTime_, meHitTvsEta_, meHitTvsPhi_, meHitTvsQ_, meHitTvsZ_, meHitX_, meHitY_, meHitZ_, meNhits_, meOccupancy_, and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().

162  {
163  ibook.setCurrentFolder(folder_);
164 
165  // --- histograms booking
166 
167  meNhits_[0] = ibook.book1D("BtlNhitsL", "Number of BTL DIGI hits (L);log_{10}(N_{DIGI})", 100, 0., 5.25);
168  meNhits_[1] = ibook.book1D("BtlNhitsR", "Number of BTL DIGI hits (R);log_{10}(N_{DIGI})", 100, 0., 5.25);
169 
170  meHitCharge_[0] = ibook.book1D("BtlHitChargeL", "BTL DIGI hits charge (L);Q_{DIGI} [ADC counts]", 100, 0., 1024.);
171  meHitCharge_[1] = ibook.book1D("BtlHitChargeR", "BTL DIGI hits charge (R);Q_{DIGI} [ADC counts]", 100, 0., 1024.);
172  meHitTime_[0] = ibook.book1D("BtlHitTimeL", "BTL DIGI hits ToA (L);ToA_{DIGI} [TDC counts]", 100, 0., 1024.);
173  meHitTime_[1] = ibook.book1D("BtlHitTimeR", "BTL DIGI hits ToA (R);ToA_{DIGI} [TDC counts]", 100, 0., 1024.);
174 
175  meOccupancy_[0] = ibook.book2D("BtlOccupancyL",
176  "BTL DIGI hits occupancy (L);Z_{DIGI} [cm]; #phi_{DIGI} [rad]",
177  65,
178  -260.,
179  260.,
180  126,
181  -3.15,
182  3.15);
183  meOccupancy_[1] = ibook.book2D("BtlOccupancyR",
184  "BTL DIGI hits occupancy (R);Z_{DIGI} [cm]; #phi_{DIGI} [rad]",
185  65,
186  -260.,
187  260.,
188  126,
189  -3.15,
190  3.15);
191 
192  meHitX_[0] = ibook.book1D("BtlHitXL", "BTL DIGI hits X (L);X_{DIGI} [cm]", 60, -120., 120.);
193  meHitX_[1] = ibook.book1D("BtlHitXR", "BTL DIGI hits X (R);X_{DIGI} [cm]", 60, -120., 120.);
194  meHitY_[0] = ibook.book1D("BtlHitYL", "BTL DIGI hits Y (L);Y_{DIGI} [cm]", 60, -120., 120.);
195  meHitY_[1] = ibook.book1D("BtlHitYR", "BTL DIGI hits Y (R);Y_{DIGI} [cm]", 60, -120., 120.);
196  meHitZ_[0] = ibook.book1D("BtlHitZL", "BTL DIGI hits Z (L);Z_{DIGI} [cm]", 100, -260., 260.);
197  meHitZ_[1] = ibook.book1D("BtlHitZR", "BTL DIGI hits Z (R);Z_{DIGI} [cm]", 100, -260., 260.);
198  meHitPhi_[0] = ibook.book1D("BtlHitPhiL", "BTL DIGI hits #phi (L);#phi_{DIGI} [rad]", 126, -3.15, 3.15);
199  meHitPhi_[1] = ibook.book1D("BtlHitPhiR", "BTL DIGI hits #phi (R);#phi_{DIGI} [rad]", 126, -3.15, 3.15);
200  meHitEta_[0] = ibook.book1D("BtlHitEtaL", "BTL DIGI hits #eta (L);#eta_{DIGI}", 100, -1.55, 1.55);
201  meHitEta_[1] = ibook.book1D("BtlHitEtaR", "BTL DIGI hits #eta (R);#eta_{DIGI}", 100, -1.55, 1.55);
202 
203  meHitTvsQ_[0] = ibook.bookProfile("BtlHitTvsQL",
204  "BTL DIGI ToA vs charge (L);Q_{DIGI} [ADC counts];ToA_{DIGI} [TDC counts]",
205  50,
206  0.,
207  1024.,
208  0.,
209  1024.);
210  meHitTvsQ_[1] = ibook.bookProfile("BtlHitTvsQR",
211  "BTL DIGI ToA vs charge (R);Q_{DIGI} [ADC counts];ToA_{DIGI} [TDC counts]",
212  50,
213  0.,
214  1024.,
215  0.,
216  1024.);
217  meHitQvsPhi_[0] = ibook.bookProfile("BtlHitQvsPhiL",
218  "BTL DIGI charge vs #phi (L);#phi_{DIGI} [rad];Q_{DIGI} [ADC counts]",
219  50,
220  -3.15,
221  3.15,
222  0.,
223  1024.);
224  meHitQvsPhi_[1] = ibook.bookProfile("BtlHitQvsPhiR",
225  "BTL DIGI charge vs #phi (R);#phi_{DIGI} [rad];Q_{DIGI} [ADC counts]",
226  50,
227  -3.15,
228  3.15,
229  0.,
230  1024.);
231  meHitQvsEta_[0] = ibook.bookProfile(
232  "BtlHitQvsEtaL", "BTL DIGI charge vs #eta (L);#eta_{DIGI};Q_{DIGI} [ADC counts]", 50, -1.55, 1.55, 0., 1024.);
233  meHitQvsEta_[1] = ibook.bookProfile(
234  "BtlHitQvsEtaR", "BTL DIGI charge vs #eta (R);#eta_{DIGI};Q_{DIGI} [ADC counts]", 50, -1.55, 1.55, 0., 1024.);
235  meHitQvsZ_[0] = ibook.bookProfile(
236  "BtlHitQvsZL", "BTL DIGI charge vs Z (L);Z_{DIGI} [cm];Q_{DIGI} [ADC counts]", 50, -260., 260., 0., 1024.);
237  meHitQvsZ_[1] = ibook.bookProfile(
238  "BtlHitQvsZR", "BTL DIGI charge vs Z (R);Z_{DIGI} [cm];Q_{DIGI} [ADC counts]", 50, -260., 260., 0., 1024.);
239  meHitTvsPhi_[0] = ibook.bookProfile(
240  "BtlHitTvsPhiL", "BTL DIGI ToA vs #phi (L);#phi_{DIGI} [rad];ToA_{DIGI} [TDC counts]", 50, -3.15, 3.15, 0., 1024.);
241  meHitTvsPhi_[1] = ibook.bookProfile(
242  "BtlHitTvsPhiR", "BTL DIGI ToA vs #phi (R);#phi_{DIGI} [rad];ToA_{DIGI} [TDC counts]", 50, -3.15, 3.15, 0., 1024.);
243  meHitTvsEta_[0] = ibook.bookProfile(
244  "BtlHitTvsEtaL", "BTL DIGI ToA vs #eta (L);#eta_{DIGI};ToA_{DIGI} [TDC counts]", 50, -1.55, 1.55, 0., 1024.);
245  meHitTvsEta_[1] = ibook.bookProfile(
246  "BtlHitTvsEtaR", "BTL DIGI ToA vs #eta (R);#eta_{DIGI};ToA_{DIGI} [TDC counts]", 50, -1.55, 1.55, 0., 1024.);
247  meHitTvsZ_[0] = ibook.bookProfile(
248  "BtlHitTvsZL", "BTL DIGI ToA vs Z (L);Z_{DIGI} [cm];ToA_{DIGI} [TDC counts]", 50, -260., 260., 0., 1024.);
249  meHitTvsZ_[1] = ibook.bookProfile(
250  "BtlHitTvsZR", "BTL DIGI ToA vs Z (R);Z_{DIGI} [cm];ToA_{DIGI} [TDC counts]", 50, -260., 260., 0., 1024.);
251 }
MonitorElement * meHitZ_[2]
MonitorElement * meHitQvsEta_[2]
MonitorElement * meHitTvsZ_[2]
MonitorElement * meHitY_[2]
MonitorElement * meHitX_[2]
MonitorElement * meHitTvsEta_[2]
MonitorElement * meNhits_[2]
MonitorElement * meOccupancy_[2]
MonitorElement * meHitTvsQ_[2]
MonitorElement * meHitQvsZ_[2]
MonitorElement * meHitEta_[2]
MonitorElement * meHitPhi_[2]
MonitorElement * meHitTime_[2]
MonitorElement * meHitTvsPhi_[2]
MonitorElement * meHitCharge_[2]
MonitorElement * meHitQvsPhi_[2]
void BtlDigiHitsValidation::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 254 of file BtlDigiHitsValidation.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), DEFINE_FWK_MODULE, HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

254  {
256 
257  desc.add<std::string>("folder", "MTD/BTL/DigiHits");
258  desc.add<edm::InputTag>("inputTag", edm::InputTag("mix", "FTLBarrel"));
259 
260  descriptions.add("btlDigiHitsDefault", desc);
261 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

Member Data Documentation

edm::EDGetTokenT<BTLDigiCollection> BtlDigiHitsValidation::btlDigiHitsToken_
private

Definition at line 52 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and BtlDigiHitsValidation().

const std::string BtlDigiHitsValidation::folder_
private

Definition at line 50 of file BtlDigiHitsValidation.cc.

Referenced by bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitCharge_[2]
private

Definition at line 58 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitEta_[2]
private

Definition at line 67 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitPhi_[2]
private

Definition at line 66 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitQvsEta_[2]
private

Definition at line 71 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitQvsPhi_[2]
private

Definition at line 70 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitQvsZ_[2]
private

Definition at line 72 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitTime_[2]
private

Definition at line 59 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitTvsEta_[2]
private

Definition at line 74 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitTvsPhi_[2]
private

Definition at line 73 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitTvsQ_[2]
private

Definition at line 69 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitTvsZ_[2]
private

Definition at line 75 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitX_[2]
private

Definition at line 63 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitY_[2]
private

Definition at line 64 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meHitZ_[2]
private

Definition at line 65 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meNhits_[2]
private

Definition at line 56 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* BtlDigiHitsValidation::meOccupancy_[2]
private

Definition at line 61 of file BtlDigiHitsValidation.cc.

Referenced by analyze(), and bookHistograms().