34 correctedHybridSuperClusterProducer_{iConfig.getParameter<
std::string>(
"correctedHybridSuperClusterProducer")},
35 correctedHybridSuperClusterCollection_{
36 iConfig.getParameter<
std::string>(
"correctedHybridSuperClusterCollection")},
37 correctedHybridSuperClusterToken_{consumes<reco::SuperClusterCollection>(
38 edm::InputTag(correctedHybridSuperClusterProducer_, correctedHybridSuperClusterCollection_))} {}
47 scEnergy =
new TH1F(
"scEnergy",
"SuperCluster energy", 100, 20., 80.);
55 std::cout <<
"************* STATISTICS **************" << std::endl;
81 if (!pCorrectedHybridSuperClusters.
isValid()) {
82 LogError(
"EgammaSimpleAnalyzer") <<
"Error! can't get collection with label " 87 reco::SuperClusterCollection::const_iterator superClusterIt;
90 scEnergy->Fill(superClusterIt->energy());
T const * product() const
Log< level::Error, false > LogError
void analyze(const edm::Event &, const edm::EventSetup &) override
const std::string correctedHybridSuperClusterCollection_
T getUntrackedParameter(std::string const &, T const &) const
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
correctedHybridSuperClusters
const std::string rootfile_
const edm::EDGetTokenT< reco::SuperClusterCollection > correctedHybridSuperClusterToken_
miscalibExample(const edm::ParameterSet &)
~miscalibExample() override