CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
HGCalTriggerValidator Class Reference
Inheritance diagram for HGCalTriggerValidator:
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

void analyze (const edm::Event &, const edm::EventSetup &) override
 
 HGCalTriggerValidator (const edm::ParameterSet &)
 
 ~HGCalTriggerValidator () 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)
 

Protected Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
- 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)
 

Private Attributes

edm::EDGetToken clusters_token_
 
MonitorElementh_cl3d_bdteg_
 
MonitorElementh_cl3d_clusters_n_
 
MonitorElementh_cl3d_coreshowerlength_
 
MonitorElementh_cl3d_emaxe_
 
MonitorElementh_cl3d_energy_
 
MonitorElementh_cl3d_eta_
 
MonitorElementh_cl3d_firstlayer_
 
MonitorElementh_cl3d_maxlayer_
 
MonitorElementh_cl3d_n_
 
MonitorElementh_cl3d_phi_
 
MonitorElementh_cl3d_pt_
 
MonitorElementh_cl3d_quality_
 
MonitorElementh_cl3d_seemax_
 
MonitorElementh_cl3d_seetot_
 
MonitorElementh_cl3d_showerlength_
 
MonitorElementh_cl3d_sppmax_
 
MonitorElementh_cl3d_spptot_
 
MonitorElementh_cl3d_srrmax_
 
MonitorElementh_cl3d_srrmean_
 
MonitorElementh_cl3d_srrtot_
 
MonitorElementh_cl3d_szz_
 
MonitorElementh_cl_cells_n_
 
MonitorElementh_cl_energy_
 
MonitorElementh_cl_eta_
 
MonitorElementh_cl_layer_
 
MonitorElementh_cl_mipPt_
 
MonitorElementh_cl_n_
 
MonitorElementh_cl_phi_
 
MonitorElementh_cl_pt_
 
MonitorElementh_tc_energy_
 
MonitorElementh_tc_eta_
 
MonitorElementh_tc_layer_
 
MonitorElementh_tc_mipPt_
 
MonitorElementh_tc_n_
 
MonitorElementh_tc_phi_
 
MonitorElementh_tc_pt_
 
MonitorElementh_tc_x_
 
MonitorElementh_tc_y_
 
MonitorElementh_tc_z_
 
MonitorElementh_tower_energy_
 
MonitorElementh_tower_eta_
 
MonitorElementh_tower_etEm_
 
MonitorElementh_tower_etHad_
 
MonitorElementh_tower_iEta_
 
MonitorElementh_tower_iPhi_
 
MonitorElementh_tower_n_
 
MonitorElementh_tower_phi_
 
MonitorElementh_tower_pt_
 
std::unique_ptr< HGCalTriggerClusterIdentificationBaseid_
 
edm::EDGetToken multiclusters_token_
 
edm::EDGetToken towers_token_
 
edm::EDGetToken trigger_cells_token_
 
HGCalTriggerTools triggerTools_
 

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
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 36 of file HGCalTriggerValidator.cc.

Constructor & Destructor Documentation

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

Definition at line 115 of file HGCalTriggerValidator.cc.

References clusters_token_, timingPdfMaker::get, edm::ParameterSet::getParameter(), id_, multiclusters_token_, and towers_token_.

116  : trigger_cells_token_{consumes<l1t::HGCalTriggerCellBxCollection>(
117  iConfig.getParameter<edm::InputTag>("TriggerCells"))},
118  clusters_token_{consumes<l1t::HGCalClusterBxCollection>(iConfig.getParameter<edm::InputTag>("Clusters"))},
120  consumes<l1t::HGCalMulticlusterBxCollection>(iConfig.getParameter<edm::InputTag>("Multiclusters"))},
121  towers_token_{consumes<l1t::HGCalTowerBxCollection>(iConfig.getParameter<edm::InputTag>("Towers"))},
122  id_{HGCalTriggerClusterIdentificationFactory::get()->create("HGCalTriggerClusterIdentificationBDT")} {
123  id_->initialize(iConfig.getParameter<edm::ParameterSet>("EGIdentification"));
124 }
T getParameter(std::string const &) const
edm::EDGetToken multiclusters_token_
std::unique_ptr< HGCalTriggerClusterIdentificationBase > id_
edm::EDGetToken trigger_cells_token_
HGCalTriggerValidator::~HGCalTriggerValidator ( )
override

Definition at line 126 of file HGCalTriggerValidator.cc.

126 {}

Member Function Documentation

void HGCalTriggerValidator::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 191 of file HGCalTriggerValidator.cc.

References BXVector< T >::begin(), bsc_activity_cfg::clusters, clusters_token_, DEFINE_FWK_MODULE, BXVector< T >::end(), HGCalTriggerTools::eventSetup(), dqm::impl::MonitorElement::Fill(), edm::Event::getByToken(), h_cl3d_bdteg_, h_cl3d_clusters_n_, h_cl3d_coreshowerlength_, h_cl3d_emaxe_, h_cl3d_energy_, h_cl3d_eta_, h_cl3d_firstlayer_, h_cl3d_maxlayer_, h_cl3d_n_, h_cl3d_phi_, h_cl3d_pt_, h_cl3d_quality_, h_cl3d_seemax_, h_cl3d_seetot_, h_cl3d_showerlength_, h_cl3d_sppmax_, h_cl3d_spptot_, h_cl3d_srrmax_, h_cl3d_srrmean_, h_cl3d_srrtot_, h_cl3d_szz_, h_cl_cells_n_, h_cl_energy_, h_cl_eta_, h_cl_layer_, h_cl_mipPt_, h_cl_n_, h_cl_phi_, h_cl_pt_, h_tc_energy_, h_tc_eta_, h_tc_layer_, h_tc_mipPt_, h_tc_n_, h_tc_phi_, h_tc_pt_, h_tc_x_, h_tc_y_, h_tc_z_, h_tower_energy_, h_tower_eta_, h_tower_etEm_, h_tower_etHad_, h_tower_iEta_, h_tower_iPhi_, h_tower_n_, h_tower_phi_, h_tower_pt_, triggerObjects_cff::id, id_, edm::HandleBase::isValid(), HGCalTriggerTools::layerWithOffset(), multiclusters_token_, HLT_2018_cff::towers, towers_token_, trigger_cells_token_, and triggerTools_.

191  {
192  int tc_n = 0;
193  int cl_n = 0;
194  int cl3d_n = 0;
195  int tower_n = 0;
196 
197  triggerTools_.eventSetup(iSetup);
198 
199  // retrieve trigger cells
201  iEvent.getByToken(trigger_cells_token_, trigger_cells_h);
202  const l1t::HGCalTriggerCellBxCollection &trigger_cells = *trigger_cells_h;
203 
204  if (trigger_cells_h.isValid()) {
205  for (auto tc_itr = trigger_cells.begin(0); tc_itr != trigger_cells.end(0); tc_itr++) {
206  tc_n++;
207  HGCalDetId id(tc_itr->detId());
208  h_tc_pt_->Fill(tc_itr->pt());
209  h_tc_mipPt_->Fill(tc_itr->mipPt());
210  h_tc_energy_->Fill(tc_itr->energy());
211  h_tc_eta_->Fill(tc_itr->eta());
212  h_tc_phi_->Fill(tc_itr->phi());
213  h_tc_x_->Fill(tc_itr->position().x());
214  h_tc_y_->Fill(tc_itr->position().y());
215  h_tc_z_->Fill(tc_itr->position().z());
217  }
218  }
219  h_tc_n_->Fill(tc_n);
220 
221  // retrieve clusters
223  iEvent.getByToken(clusters_token_, clusters_h);
224  const l1t::HGCalClusterBxCollection &clusters = *clusters_h;
225 
226  if (clusters_h.isValid()) {
227  for (auto cl_itr = clusters.begin(0); cl_itr != clusters.end(0); cl_itr++) {
228  cl_n++;
229  h_cl_mipPt_->Fill(cl_itr->mipPt());
230  h_cl_pt_->Fill(cl_itr->pt());
231  h_cl_energy_->Fill(cl_itr->energy());
232  h_cl_eta_->Fill(cl_itr->eta());
233  h_cl_phi_->Fill(cl_itr->phi());
234  h_cl_layer_->Fill(triggerTools_.layerWithOffset(cl_itr->detId()));
235  h_cl_cells_n_->Fill(cl_itr->constituents().size());
236  }
237  }
238  h_cl_n_->Fill(cl_n);
239 
240  // retrieve clusters 3D
242  iEvent.getByToken(multiclusters_token_, multiclusters_h);
243  const l1t::HGCalMulticlusterBxCollection &multiclusters = *multiclusters_h;
244 
245  if (multiclusters_h.isValid()) {
246  for (auto cl3d_itr = multiclusters.begin(0); cl3d_itr != multiclusters.end(0); cl3d_itr++) {
247  cl3d_n++;
248  h_cl3d_pt_->Fill(cl3d_itr->pt());
249  h_cl3d_energy_->Fill(cl3d_itr->energy());
250  h_cl3d_eta_->Fill(cl3d_itr->eta());
251  h_cl3d_phi_->Fill(cl3d_itr->phi());
252  h_cl3d_clusters_n_->Fill(cl3d_itr->constituents().size());
253  // cluster shower shapes
254  h_cl3d_showerlength_->Fill(cl3d_itr->showerLength());
255  h_cl3d_coreshowerlength_->Fill(cl3d_itr->coreShowerLength());
256  h_cl3d_firstlayer_->Fill(cl3d_itr->firstLayer());
257  h_cl3d_maxlayer_->Fill(cl3d_itr->maxLayer());
258  h_cl3d_seetot_->Fill(cl3d_itr->sigmaEtaEtaTot());
259  h_cl3d_seemax_->Fill(cl3d_itr->sigmaEtaEtaMax());
260  h_cl3d_spptot_->Fill(cl3d_itr->sigmaPhiPhiTot());
261  h_cl3d_sppmax_->Fill(cl3d_itr->sigmaPhiPhiMax());
262  h_cl3d_szz_->Fill(cl3d_itr->sigmaZZ());
263  h_cl3d_srrtot_->Fill(cl3d_itr->sigmaRRTot());
264  h_cl3d_srrmax_->Fill(cl3d_itr->sigmaRRMax());
265  h_cl3d_srrmean_->Fill(cl3d_itr->sigmaRRMean());
266  h_cl3d_emaxe_->Fill(cl3d_itr->eMax() / cl3d_itr->energy());
267  h_cl3d_bdteg_->Fill(id_->value(*cl3d_itr));
268  h_cl3d_quality_->Fill(cl3d_itr->hwQual());
269  }
270  }
271  h_cl3d_n_->Fill(cl3d_n);
272 
273  // retrieve towers
275  iEvent.getByToken(towers_token_, towers_h);
276  const l1t::HGCalTowerBxCollection &towers = *towers_h;
277 
278  if (towers_h.isValid()) {
279  for (auto tower_itr = towers.begin(0); tower_itr != towers.end(0); tower_itr++) {
280  tower_n++;
281  h_tower_pt_->Fill(tower_itr->pt());
282  h_tower_energy_->Fill(tower_itr->energy());
283  h_tower_eta_->Fill(tower_itr->eta());
284  h_tower_phi_->Fill(tower_itr->phi());
285  h_tower_etEm_->Fill(tower_itr->etEm());
286  h_tower_etHad_->Fill(tower_itr->etHad());
287  h_tower_iEta_->Fill(tower_itr->id().iEta());
288  h_tower_iPhi_->Fill(tower_itr->id().iPhi());
289  }
290  }
291  h_tower_n_->Fill(tower_n);
292 }
MonitorElement * h_cl3d_sppmax_
const_iterator end(int bx) const
void eventSetup(const edm::EventSetup &)
MonitorElement * h_cl3d_spptot_
MonitorElement * h_cl3d_clusters_n_
MonitorElement * h_cl3d_showerlength_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:525
MonitorElement * h_cl3d_srrmax_
MonitorElement * h_cl3d_seemax_
unsigned layerWithOffset(const DetId &) const
edm::EDGetToken multiclusters_token_
MonitorElement * h_cl3d_bdteg_
void Fill(long long x)
std::unique_ptr< HGCalTriggerClusterIdentificationBase > id_
MonitorElement * h_cl3d_maxlayer_
HGCalTriggerTools triggerTools_
MonitorElement * h_tower_energy_
MonitorElement * h_cl3d_coreshowerlength_
MonitorElement * h_cl3d_firstlayer_
bool isValid() const
Definition: HandleBase.h:70
MonitorElement * h_cl3d_emaxe_
edm::EDGetToken trigger_cells_token_
MonitorElement * h_cl3d_quality_
MonitorElement * h_cl3d_srrmean_
MonitorElement * h_cl3d_energy_
MonitorElement * h_cl3d_seetot_
MonitorElement * h_cl3d_srrtot_
const_iterator begin(int bx) const
MonitorElement * h_cl_cells_n_
void HGCalTriggerValidator::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 128 of file HGCalTriggerValidator.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), h_cl3d_bdteg_, h_cl3d_clusters_n_, h_cl3d_coreshowerlength_, h_cl3d_emaxe_, h_cl3d_energy_, h_cl3d_eta_, h_cl3d_firstlayer_, h_cl3d_maxlayer_, h_cl3d_n_, h_cl3d_phi_, h_cl3d_pt_, h_cl3d_quality_, h_cl3d_seemax_, h_cl3d_seetot_, h_cl3d_showerlength_, h_cl3d_sppmax_, h_cl3d_spptot_, h_cl3d_srrmax_, h_cl3d_srrmean_, h_cl3d_srrtot_, h_cl3d_szz_, h_cl_cells_n_, h_cl_energy_, h_cl_eta_, h_cl_layer_, h_cl_mipPt_, h_cl_n_, h_cl_phi_, h_cl_pt_, h_tc_energy_, h_tc_eta_, h_tc_layer_, h_tc_mipPt_, h_tc_n_, h_tc_phi_, h_tc_pt_, h_tc_x_, h_tc_y_, h_tc_z_, h_tower_energy_, h_tower_eta_, h_tower_etEm_, h_tower_etHad_, h_tower_iEta_, h_tower_iPhi_, h_tower_n_, h_tower_phi_, h_tower_pt_, and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().

128  {
129  iBooker.setCurrentFolder("HGCALTPG");
130 
131  //initiating histograms
132  // trigger cells
133  h_tc_n_ = iBooker.book1D("tc_n", "trigger cell number; number", 400, 0, 400);
134  h_tc_mipPt_ = iBooker.book1D("tc_mipPt", "trigger cell mipPt; mipPt", 400, 0, 400);
135  h_tc_pt_ = iBooker.book1D("tc_pt", "trigger cell pt; pt [GeV]", 15, 0, 15);
136  h_tc_energy_ = iBooker.book1D("tc_energy", "trigger cell energy; energy [GeV]", 70, 0, 70);
137  h_tc_eta_ = iBooker.book1D("tc_eta", "trigger cell eta; eta", 60, -3.14, 3.14);
138  h_tc_phi_ = iBooker.book1D("tc_phi", "trigger cell phi; phi", 60, -3.14, 3.14);
139  h_tc_x_ = iBooker.book1D("tc_x", "trigger cell x; x [cm]", 500, -250, 250);
140  h_tc_y_ = iBooker.book1D("tc_y", "trigger cell y; y [cm]", 500, -250, 250);
141  h_tc_z_ = iBooker.book1D("tc_z", "trigger cell z; z [cm]", 1100, -550, 550);
142  h_tc_layer_ = iBooker.book1D("tc_layer", "trigger cell layer; layer", 50, 0, 50);
143 
144  // cluster 2D histograms
145  h_cl_n_ = iBooker.book1D("cl_n", "cluster2D number; number", 80, 0, 80);
146  h_cl_mipPt_ = iBooker.book1D("cl_mipPt", "cluster2D mipPt; mipPt", 600, 0, 600);
147  h_cl_pt_ = iBooker.book1D("cl_pt", "cluster2D pt; pt [GeV]", 20, 0, 20);
148  h_cl_energy_ = iBooker.book1D("cl_energy", "cluster2D energy; energy [GeV]", 80, 0, 80);
149  h_cl_eta_ = iBooker.book1D("cl_eta", "cluster2D eta; eta", 60, -3.14, 3.14);
150  h_cl_phi_ = iBooker.book1D("cl_phi", "cluster2D phi; phi", 60, -3.14, 3.14);
151  h_cl_cells_n_ = iBooker.book1D("cl_cells_n", "cluster2D cells_n; cells_n", 16, 0, 16);
152  h_cl_layer_ = iBooker.book1D("cl_layer", "cluster2D layer; layer", 50, 0, 50);
153 
154  // multiclusters
155  h_cl3d_n_ = iBooker.book1D("cl3d_n", "cl3duster3D number; number", 12, 0, 12);
156  h_cl3d_pt_ = iBooker.book1D("cl3d_pt", "cl3duster3D pt; pt [GeV]", 50, 0, 50);
157  h_cl3d_energy_ = iBooker.book1D("cl3d_energy", "cl3duster3D energy; energy [GeV]", 80, 0, 80);
158  h_cl3d_eta_ = iBooker.book1D("cl3d_eta", "cl3duster3D eta; eta", 60, -3.14, 3.14);
159  h_cl3d_phi_ = iBooker.book1D("cl3d_phi", "cl3duster3D phi; phi", 60, -3.14, 3.14);
160  h_cl3d_clusters_n_ = iBooker.book1D("cl3d_clusters_n", "cl3duster3D clusters_n; clusters_n", 30, 0, 30);
161  // cluster shower shapes
162  h_cl3d_showerlength_ = iBooker.book1D("cl3d_showerlength", "cl3duster3D showerlength; showerlength", 50, 0, 50);
164  iBooker.book1D("cl3d_coreshowerlength", "cl3duster3D coreshowerlength; coreshowerlength", 16, 0, 16);
165  h_cl3d_firstlayer_ = iBooker.book1D("cl3d_firstlayer", "cl3duster3D firstlayer; firstlayer", 50, 0, 50);
166  h_cl3d_maxlayer_ = iBooker.book1D("cl3d_maxlayer", "cl3duster3D maxlayer; maxlayer", 50, 0, 50);
167  h_cl3d_seetot_ = iBooker.book1D("cl3d_seetot", "cl3duster3D seetot; seetot", 50, 0, 0.05);
168  h_cl3d_seemax_ = iBooker.book1D("cl3d_seemax", "cl3duster3D seemax; seemax", 40, 0, 0.04);
169  h_cl3d_spptot_ = iBooker.book1D("cl3d_spptot", "cl3duster3D spptot; spptot", 800, 0, 0.08);
170  h_cl3d_sppmax_ = iBooker.book1D("cl3d_sppmax", "cl3duster3D sppmax; sppmax", 800, 0, 0.08);
171  h_cl3d_szz_ = iBooker.book1D("cl3d_szz", "cl3duster3D szz; szz", 50, 0, 50);
172  h_cl3d_srrtot_ = iBooker.book1D("cl3d_srrtot", "cl3duster3D srrtot; srrtot", 800, 0, 0.008);
173  h_cl3d_srrmax_ = iBooker.book1D("cl3d_srrmax", "cl3duster3D srrmax; srrmax", 900, 0, 0.009);
174  h_cl3d_srrmean_ = iBooker.book1D("cl3d_srrmean", "cl3duster3D srrmean; srrmean", 800, 0, 0.008);
175  h_cl3d_emaxe_ = iBooker.book1D("cl3d_emaxe", "cl3duster3D emaxe; emaxe", 15, 0, 1.5);
176  h_cl3d_bdteg_ = iBooker.book1D("cl3d_bdteg", "cl3duster3D bdteg; bdteg", 30, -0.7, 0.4);
177  h_cl3d_quality_ = iBooker.book1D("cl3d_quality", "cl3duster3D quality; quality", 20, 0, 2);
178 
179  // towers
180  h_tower_n_ = iBooker.book1D("tower_n", "tower n; number", 400, 1200, 1600);
181  h_tower_pt_ = iBooker.book1D("tower_pt", "tower pt; pt [GeV]", 50, 0, 50);
182  h_tower_energy_ = iBooker.book1D("tower_energy", "tower energy; energy [GeV]", 200, 0, 200);
183  h_tower_eta_ = iBooker.book1D("tower_eta", "tower eta; eta", 60, -3.14, 3.14);
184  h_tower_phi_ = iBooker.book1D("tower_phi", "tower phi; phi", 60, -3.14, 3.14);
185  h_tower_etEm_ = iBooker.book1D("tower_etEm", "tower etEm; etEm", 50, 0, 50);
186  h_tower_etHad_ = iBooker.book1D("tower_etHad", "tower etHad; etHad", 30, 0, 0.3);
187  h_tower_iEta_ = iBooker.book1D("tower_iEta", "tower iEta; iEta", 20, 0, 20);
188  h_tower_iPhi_ = iBooker.book1D("tower_iPhi", "tower iPhi; iPhi", 80, 0, 80);
189 }
MonitorElement * h_cl3d_sppmax_
MonitorElement * h_cl3d_spptot_
MonitorElement * h_cl3d_clusters_n_
MonitorElement * h_cl3d_showerlength_
MonitorElement * h_cl3d_srrmax_
MonitorElement * h_cl3d_seemax_
MonitorElement * h_cl3d_bdteg_
MonitorElement * h_cl3d_maxlayer_
MonitorElement * h_tower_energy_
MonitorElement * h_cl3d_coreshowerlength_
MonitorElement * h_cl3d_firstlayer_
MonitorElement * h_cl3d_emaxe_
MonitorElement * h_cl3d_quality_
MonitorElement * h_cl3d_srrmean_
MonitorElement * h_cl3d_energy_
MonitorElement * h_cl3d_seetot_
MonitorElement * h_cl3d_srrtot_
MonitorElement * h_cl_cells_n_

Member Data Documentation

edm::EDGetToken HGCalTriggerValidator::clusters_token_
private

Definition at line 106 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and HGCalTriggerValidator().

MonitorElement* HGCalTriggerValidator::h_cl3d_bdteg_
private

Definition at line 91 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_clusters_n_
private

Definition at line 76 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_coreshowerlength_
private

Definition at line 79 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_emaxe_
private

Definition at line 90 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_energy_
private

Definition at line 73 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_eta_
private

Definition at line 74 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_firstlayer_
private

Definition at line 80 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_maxlayer_
private

Definition at line 81 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_n_
private

Definition at line 71 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_phi_
private

Definition at line 75 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_pt_
private

Definition at line 72 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_quality_
private

Definition at line 92 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_seemax_
private

Definition at line 83 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_seetot_
private

Definition at line 82 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_showerlength_
private

Definition at line 78 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_sppmax_
private

Definition at line 85 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_spptot_
private

Definition at line 84 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_srrmax_
private

Definition at line 88 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_srrmean_
private

Definition at line 89 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_srrtot_
private

Definition at line 87 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl3d_szz_
private

Definition at line 86 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl_cells_n_
private

Definition at line 68 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl_energy_
private

Definition at line 64 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl_eta_
private

Definition at line 65 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl_layer_
private

Definition at line 67 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl_mipPt_
private

Definition at line 62 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl_n_
private

Definition at line 61 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl_phi_
private

Definition at line 66 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_cl_pt_
private

Definition at line 63 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_energy_
private

Definition at line 52 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_eta_
private

Definition at line 53 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_layer_
private

Definition at line 58 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_mipPt_
private

Definition at line 50 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_n_
private

Definition at line 49 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_phi_
private

Definition at line 54 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_pt_
private

Definition at line 51 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_x_
private

Definition at line 55 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_y_
private

Definition at line 56 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tc_z_
private

Definition at line 57 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tower_energy_
private

Definition at line 97 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tower_eta_
private

Definition at line 98 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tower_etEm_
private

Definition at line 100 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tower_etHad_
private

Definition at line 101 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tower_iEta_
private

Definition at line 102 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tower_iPhi_
private

Definition at line 103 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tower_n_
private

Definition at line 95 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tower_phi_
private

Definition at line 99 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalTriggerValidator::h_tower_pt_
private

Definition at line 96 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and bookHistograms().

std::unique_ptr<HGCalTriggerClusterIdentificationBase> HGCalTriggerValidator::id_
private

Definition at line 110 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and HGCalTriggerValidator().

edm::EDGetToken HGCalTriggerValidator::multiclusters_token_
private

Definition at line 107 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and HGCalTriggerValidator().

edm::EDGetToken HGCalTriggerValidator::towers_token_
private

Definition at line 108 of file HGCalTriggerValidator.cc.

Referenced by analyze(), and HGCalTriggerValidator().

edm::EDGetToken HGCalTriggerValidator::trigger_cells_token_
private

Definition at line 105 of file HGCalTriggerValidator.cc.

Referenced by analyze().

HGCalTriggerTools HGCalTriggerValidator::triggerTools_
private

Definition at line 112 of file HGCalTriggerValidator.cc.

Referenced by analyze().