CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
HeterogeneousHGCalRecHitsValidator.cc File Reference
#include "Validation/HGCalValidation/plugins/HeterogeneousHGCalRecHitsValidator.h"

Go to the source code of this file.

Functions

static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< HeterogeneousHGCalRecHitsValidator > > 
s_filler__LINE__ ("HeterogeneousHGCalRecHitsValidator")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< HeterogeneousHGCalRecHitsValidator > > 
s_maker__LINE__ ("HeterogeneousHGCalRecHitsValidator")
 
 treenames_ ({{"CEE","CHSi","CHSci"}})
 

Function Documentation

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< HeterogeneousHGCalRecHitsValidator > > s_filler__LINE__ ( "HeterogeneousHGCalRecHitsValidator"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< HeterogeneousHGCalRecHitsValidator > > s_maker__LINE__ ( "HeterogeneousHGCalRecHitsValidator"  )
static
treenames_ ( {{"CEE","CHSi","CHSci"}}  )

Definition at line 10 of file HeterogeneousHGCalRecHitsValidator.cc.

10  {{"CEE", "CHSi", "CHSci"}}) {
11  usesResource(TFileService::kSharedResource);
12  estokenGeom_ = esConsumes<CaloGeometry, CaloGeometryRecord>();
14  for (unsigned i(0); i < nsubdetectors; ++i) {
15  estokens_[i] = esConsumes<HGCalGeometry, IdealGeometryRecord>(edm::ESInputTag{"", handles_str_[i]});
16  trees_[i] = fs->make<TTree>(treenames_[i].c_str(), treenames_[i].c_str());
17  trees_[i]->Branch("cpu", "ValidHitCollection", &cpuValidRecHits[i]);
18  trees_[i]->Branch("gpu", "ValidHitCollection", &gpuValidRecHits[i]);
19  trees_[i]->Branch("diffs", "ValidHitCollection", &diffsValidRecHits[i]);
20  }
21 }
static const std::string kSharedResource
Definition: TFileService.h:76
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
treenames_({{"CEE","CHSi","CHSci"}})