58 rootFile_ = TFile::Open(outputFile_.c_str(),
"RECREATE");
91 h1_nIslandEBBC_ =
new TH1F(
"nIslandEBBC",
"# basic clusters with island in barrel",11,-0.5,10.5);
92 h1_nIslandEEBC_ =
new TH1F(
"nIslandEEBC",
"# basic clusters with island in endcap",11,-0.5,10.5);
94 h1_nIslandEESC_ =
new TH1F(
"nIslandEESC",
"# super clusters with island in endcap",11,-0.5,10.5);
95 h1_nHybridSC_ =
new TH1F(
"nHybridSC",
"# super clusters with hybrid",11,-0.5,10.5);
98 h1_islandEBBCXtals_ =
new TH1F(
"islandEBBCXtals",
"#xtals in basic cluster - island barrel",51,-0.5,50.5);
100 h1_islandEBBCe9over25_=
new TH1F(
"islandEBBCe9over25",
"e3x3/e5x5 of basic clusters with island algo - barrel",35,0.5,1.2);
104 h1_islandEEBCXtals_ =
new TH1F(
"islandEEBCXtals",
"#xtals in basic cluster - island endcap",51,-0.5,50.5);
109 h1_islandEESCClusters_ =
new TH1F(
"islandEESCClusters",
"# basic clusters in super cluster - island endcap",11,-0.5,10.5);
114 h1_corrHybridSCEta_ =
new TH1F(
"corrHybridSCEta",
"Eta of super clusters with hybrid algo",40,-3.,3.);
115 h1_corrHybridSCPhi_ =
new TH1F(
"corrHybridSCPhi",
"Phi of super clusters with hybrid algo",40,0.,6.28);
116 h1_hybridSCClusters_ =
new TH1F(
"hybridSCClusters",
"# basic clusters in super cluster - hybrid",11,-0.5,10.5);
142 std::ostringstream str;
143 str <<
"# island basic clusters in barrel: " << islandBarrelBasicClusters->size()
144 <<
"\t# associated cluster shapes: " << islandEBShapes->size() <<
"\n"
145 <<
"Loop over island basic clusters in barrel" <<
"\n";
149 for(reco::BasicClusterCollection::const_iterator aClus = islandBarrelBasicClusters->begin();
150 aClus != islandBarrelBasicClusters->end(); aClus++) {
153 str <<
"energy: " << aClus->energy()
154 <<
"\te5x5: " << (*islandEBShapes)[iClus].e5x5()
155 <<
"\te2x2: " << (*islandEBShapes)[iClus].e2x2()
180 for(reco::BasicClusterCollection::const_iterator aClus = islandEndcapBasicClusters->begin();
181 aClus != islandEndcapBasicClusters->end(); aClus++) {
196 for(reco::SuperClusterCollection::const_iterator aClus = islandEndcapSuperClusters->begin();
197 aClus != islandEndcapSuperClusters->end(); aClus++) {
std::string islandEndcapSuperClusterCollection_
T getParameter(std::string const &) const
tuple correctedHybridSuperClusters
std::string correctedHybridSuperClusterProducer_
TH1F * h1_islandEEBCXtals_
EgammaSimpleAnalyzer(const edm::ParameterSet &)
tuple hybridSuperClusters
std::string islandEndcapBasicClusterShapes_
TH1F * h1_islandEEBCe5x5_
TH1F * h1_islandEBBCXtals_
Sin< T >::type sin(const T &t)
std::string correctedIslandEndcapSuperClusterCollection_
TH1F * h1_islandEESCEnergy_
std::vector< ClusterShape > ClusterShapeCollection
collection of ClusterShape objects
TH1F * h1_corrHybridSCEta_
TH1F * h1_corrIslandEESCET_
TH1F * h1_hybridSCClusters_
TH1F * h1_hybridSCEnergy_
TH1F * h1_corrIslandEESCEnergy_
std::string islandEndcapSuperClusterProducer_
std::string islandEndcapBasicClusterProducer_
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
TH1F * h1_islandEBBCe5x5_
std::string islandBarrelBasicClusterCollection_
tuple correctedIslandEndcapSuperClusters
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
TH1F * h1_corrHybridSCEnergy_
std::string islandEndcapBasicClusterCollection_
std::string islandBarrelBasicClusterProducer_
std::string islandBarrelBasicClusterShapes_
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
std::string hybridSuperClusterProducer_
TH1F * h1_corrHybridSCET_
TH1F * h1_islandEBBCe9over25_
std::string hybridSuperClusterCollection_
TH1F * h1_islandEEBCEnergy_
std::string correctedHybridSuperClusterCollection_
TH1F * h1_islandEESCClusters_
std::string correctedIslandEndcapSuperClusterProducer_
TH1F * h1_corrHybridSCPhi_
TH1F * h1_islandEBBCEnergy_
virtual void analyze(const edm::Event &, const edm::EventSetup &)