|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/ITHistSvc.h"
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;
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);
@ SECOND_R
Second Moment in .
std::vector< const xAOD::CaloCluster * > getAssociatedTopoClusters(const xAOD::CaloCluster *cluster)
Return a vector of all the topo clusters associated with the egamma cluster.
void fill(const xAOD::Egamma &egamma)
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
Description of a calorimeter cluster.
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
::StatusCode StatusCode
StatusCode definition for legacy code.
bool retrieveMoment(MomentType type, double &value) const
Retrieve individual moment.
std::map< std::string, TH1D * > histoMap
std::map< std::string, TH2D * > histo2DMap
bool isFwdElectron(const xAOD::Egamma *eg)
is the object a Fwd electron
@ ENG_FRAC_EM
Energy fraction in EM calorimeters.
@ LATERAL
Normalized lateral moment.
@ weta1
shower width using +/-3 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
@ Eratio
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
StatusCode initializePlots()
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
SmartIF< ITHistSvc > m_rootHistSvc