1#ifndef _DQM_HCAL_DQM_H_
2#define _DQM_HCAL_DQM_H_
20#include "Framework/Configure/Parameters.h"
22#include "Framework/EventFile.h"
53 const auto section{
id.section()};
54 return (section != section_ && section_ != -1);
56 void analyzeRecHits(
const std::vector<ldmx::HcalHit> &hits);
57 void analyzeSimHits(
const std::vector<ldmx::SimCalorimeterHit> &hits);
60 if (hit.
getPE() < pe_veto_threshold || hit.
getTime() > max_hit_time_) {
63 if (section == ldmx::HcalID::HcalSection::BACK && hit.
getMinPE() < 1) {
88 float pe_veto_threshold;
Collection of utility functions useful for analysis.
Base classes for all user event processing components to extend.
Class implementing an event buffer system for storing event data.
Class that translates HCal ID into positions of strip hits.
Class that stores Stores reconstructed hit information from the HCAL.
Class that defines an HCal sensitive detector.
Class used to encapsulate the results obtained from HcalVetoProcessor.
Class which stores simulated calorimeter hit information.
std::string sim_pass_name_
Hcal Sim Hits pass name.
std::string veto_name_
Hcal Veto name.
void analyze(const framework::Event &event) override
Process the event and make histograms ro summaries.
std::string rec_pass_name_
Hcal Rec Hits pass name.
std::string veto_pass_
Hcal Veto pass name.
void configure(framework::config::Parameters ¶meters) override
Configure the processor using the given user specified parameters.
std::string rec_coll_name_
Hcal Rec Hits collection name.
std::string sim_coll_name_
Hcal Sim Hits collection name.
Base class for a module which does not produce a data product.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
Class encapsulating parameters for configuring a processor.
float getTime() const
Get the time of the hit [ns].
Stores reconstructed hit information from the HCAL.
float getMinPE() const
Get the minimum number of photoelectrons estimated for this hit if two sided readout.
float getPE() const
Get the number of photoelectrons estimated for this hit.
Implements detector ids for HCal subdetector.