#include <HeterogeneousHGCalRecHitsValidator.h>
Private Member Functions | |
void | set_geometry_ (const edm::EventSetup &, const unsigned &) |
Private Attributes | |
std::array< ValidHitCollection, nsubdetectors > | cpuValidRecHits |
std::array< ValidHitCollection, nsubdetectors > | diffsValidRecHits |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | estokenGeom_ |
std::array< edm::ESGetToken < HGCalGeometry, IdealGeometryRecord > , nsubdetectors > | estokens_ |
std::array< ValidHitCollection, nsubdetectors > | gpuValidRecHits |
std::array< std::string, nsubdetectors > | handles_str_ |
hgcal::RecHitTools | recHitTools_ |
std::array< std::array < edm::EDGetTokenT < HGChefRecHitCollection > , ncomputingdevices > , nsubdetectors > | tokens_ |
std::array< std::string, nsubdetectors > | treenames_ |
std::array< TTree *, nsubdetectors > | trees_ |
Static Private Attributes | |
static const unsigned | ncomputingdevices = 2 |
static const unsigned | nsubdetectors = 3 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 34 of file HeterogeneousHGCalRecHitsValidator.h.
|
explicit |
Definition at line 3 of file HeterogeneousHGCalRecHitsValidator.cc.
References edm::ParameterSet::getParameter().
|
override |
Definition at line 23 of file HeterogeneousHGCalRecHitsValidator.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 31 of file HeterogeneousHGCalRecHitsValidator.cc.
References cms::cuda::assert(), gather_cfg::cout, cpuValidRecHits, CaloRecHit::detid(), diffsValidRecHits, CaloRecHit::energy(), estokenGeom_, HGCRecHit::flagBits(), edm::EventSetup::getData(), gpuValidRecHits, mps_fire::i, nhits, nsubdetectors, recHitTools_, set_geometry_(), hgcal::RecHitTools::setGeometry(), HGCRecHit::signalOverSigmaNoise(), CaloRecHit::time(), HGCRecHit::timeError(), and tokens_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 25 of file HeterogeneousHGCalRecHitsValidator.cc.
|
private |
Definition at line 27 of file HeterogeneousHGCalRecHitsValidator.cc.
References estokens_, edm::EventSetup::getHandle(), and patZpeak::handle.
Referenced by analyze().
|
private |
Definition at line 55 of file HeterogeneousHGCalRecHitsValidator.h.
Referenced by analyze().
|
private |
Definition at line 55 of file HeterogeneousHGCalRecHitsValidator.h.
Referenced by analyze().
|
private |
Definition at line 47 of file HeterogeneousHGCalRecHitsValidator.h.
Referenced by analyze().
|
private |
Definition at line 46 of file HeterogeneousHGCalRecHitsValidator.h.
Referenced by set_geometry_().
|
private |
Definition at line 55 of file HeterogeneousHGCalRecHitsValidator.h.
Referenced by analyze().
|
private |
Definition at line 49 of file HeterogeneousHGCalRecHitsValidator.h.
|
staticprivate |
Definition at line 43 of file HeterogeneousHGCalRecHitsValidator.h.
|
staticprivate |
Definition at line 42 of file HeterogeneousHGCalRecHitsValidator.h.
Referenced by analyze().
|
private |
Definition at line 51 of file HeterogeneousHGCalRecHitsValidator.h.
Referenced by analyze().
|
private |
Definition at line 45 of file HeterogeneousHGCalRecHitsValidator.h.
Referenced by analyze().
|
private |
Definition at line 54 of file HeterogeneousHGCalRecHitsValidator.h.
|
private |
Definition at line 53 of file HeterogeneousHGCalRecHitsValidator.h.