#include <ShowerShapesHistograms.h>
Definition at line 20 of file ShowerShapesHistograms.h.
◆ ShowerShapesHistograms()
egammaMonitoring::ShowerShapesHistograms::ShowerShapesHistograms |
( |
std::string |
name, |
|
|
std::string |
title, |
|
|
std::string |
folder, |
|
|
SmartIF< ITHistSvc > |
rootHistSvc |
|
) |
| |
|
inline |
◆ fill()
Definition at line 59 of file ShowerShapesHistograms.cxx.
65 topoClus =
egamma.caloCluster();
83 histoMap[
"second_R"]->Fill(second_r);
88 histo2DMap[
"lateral_second_R_2D"]->Fill(lateral,second_r);
94 float eta2 = std::abs(
egamma.caloCluster()->etaBE(2));
101 float frac_f1 = -999;
102 float shfside = -999;
103 float shwtots1 = -999;
110 float hadrleak = (
eta2 >= 0.8 &&
eta2 < 1.37) ? rhad : rhad1;
111 histoMap[
"hadleak"]->Fill(hadrleak);
◆ initializePlots()
StatusCode ShowerShapesHistograms::initializePlots |
( |
| ) |
|
Definition at line 17 of file ShowerShapesHistograms.cxx.
19 const char* fN =
m_name.c_str();
21 histoMap[
"hadleak"] =
new TH1D(Form(
"%s_hadleak",fN),
";E_{hadleak}; Events" , 100, -0.07, 0.13 );
22 histoMap[
"rhad"] =
new TH1D(Form(
"%s_rhad",fN) ,
";R_{had}; Events" , 100, -0.07, 0.13 );
23 histoMap[
"reta"] =
new TH1D(Form(
"%s_reta",fN) ,
";R_{#eta}; Events" , 355, 0. , 1.1005);
24 histoMap[
"rphi"] =
new TH1D(Form(
"%s_rphi",fN) ,
";R_{#phi}; Events" , 355, 0. , 1.1005);
25 histoMap[
"weta2"] =
new TH1D(Form(
"%s_weta2",fN) ,
";W_{#etas2}; Events" , 100, 0. , 0.03 );
26 histoMap[
"eratio"] =
new TH1D(Form(
"%s_eratio",fN) ,
";E_{ratio}; Events" , 101, 0. , 1.01 );
27 histoMap[
"deltae"] =
new TH1D(Form(
"%s_deltae",fN) ,
";#DeltaE [MeV]; Events" , 100, 0. , 500. );
28 histoMap[
"f1"] =
new TH1D(Form(
"%s_f1",fN) ,
";f_{1}; Events" , 100, 0. , 1.0 );
29 histoMap[
"fside"] =
new TH1D(Form(
"%s_fside",fN) ,
";f_{side}; Events" , 100, 0. , 2.0 );
30 histoMap[
"wtots1"] =
new TH1D(Form(
"%s_wtots1",fN) ,
";w_{s, tot}; Events" , 100, 0. , 10. );
31 histoMap[
"ws3"] =
new TH1D(Form(
"%s_ws3",fN) ,
";w_{s, 3}; Events" , 100, 0. , 1. );
33 histoMap[
"lateral"] =
new TH1D(Form(
"%s_lateral",fN),
";Lateral of seed; Events" , 50, 0. , 1. );
34 histoMap[
"second_R"] =
new TH1D(Form(
"%s_second_R",fN),
";Second R; Events" , 150, 0. , 15000. );
35 histoMap[
"EMFrac"] =
new TH1D(Form(
"%s_EMFrac",fN),
";EMFrac; Events" , 51, 0. , 1.02 );
36 histo2DMap[
"lateral_second_R_2D"] =
new TH2D(Form(
"%s_lateral_second_R_2D",fN),
";Lateral of seed; Second R", 50, 0, 1, 150,0.,15000.);
55 return StatusCode::SUCCESS;
◆ histo2DMap
std::map<std::string, TH2D* > egammaMonitoring::ShowerShapesHistograms::histo2DMap |
◆ histoMap
std::map<std::string, TH1D* > egammaMonitoring::ShowerShapesHistograms::histoMap |
◆ m_folder
std::string egammaMonitoring::ShowerShapesHistograms::m_folder |
|
protected |
◆ m_name
std::string egammaMonitoring::ShowerShapesHistograms::m_name |
|
protected |
◆ m_rootHistSvc
SmartIF<ITHistSvc> egammaMonitoring::ShowerShapesHistograms::m_rootHistSvc |
|
protected |
◆ m_title
std::string egammaMonitoring::ShowerShapesHistograms::m_title |
|
protected |
The documentation for this class was generated from the following files: