|
ATLAS Offline Software
|
Go to the documentation of this file.
73 #include "GaudiKernel/MsgStream.h"
74 #include "GaudiKernel/StatusCode.h"
95 m_hTightEtaPhi(nullptr),
96 m_hTightTime(nullptr),
98 m_nForwardElectrons(0)
110 return StatusCode::SUCCESS;
122 MonGroup electronGroup(
this,
"egamma/forwardElectrons",
run);
125 MonGroup electronIdGroup (
this,
"egamma/forwardElectrons/ID",
run);
129 bookTH1F(
m_hN, electronGroup,
"forwardElectronN",
"Number of LOOSE electrons",40, 0.0, 40.0);
130 bookTH1F(
m_hEt, electronGroup,
"forwardElectronEt",
"LOOSE electron transverse energy [MeV]",100, -1000.0, 250000.0);
131 bookTH2F(
m_hEtaPhi, electronGroup,
"forwardElectronEtaPhi",
"LOOSE electron #eta,#phi map (candidates with E>10GeV)", 64, -3.2, 3.2, 64, -3.2, 3.2);
132 bookTH1F(
m_hEta, electronGroup,
"forwardElectronEta",
"LOOSE electron #eta", 64, -5., 5.);
133 bookTH1F(
m_hPhi, electronGroup,
"forwardElectronPhi",
"LOOSE electron #phi", 64, -3.2, 3.2);
135 bookTH1F(
m_hTime, electronGroup,
"forwardElectronTime",
"Time associated with the LOOSE electron cluster [ns]", 90, -30., 60.);
137 bookTH1F(
m_hTightN, electronGroup,
"forwardElectronTightN",
"Number of TIGHT electrons",40, 0.0, 40.0);
138 bookTH1F(
m_hTightEt, electronGroup,
"forwardElectronTightEt",
"TIGHT electron transverse energy [MeV]",100, -1000.0, 250000.0);
139 bookTH2F(
m_hTightEtaPhi, electronGroup,
"forwardElectronTightEtaPhi",
"TIGHT electron #eta,#phi map (candidates with E>10GeV)", 64, -5., 5., 64, -3.2, 3.2);
140 bookTH1F(
m_hTightEta, electronGroup,
"forwardElectronTightEta",
"TIGHT electron #eta", 100, -5., 5.);
141 bookTH1F(
m_hTightPhi, electronGroup,
"forwardElectronTightPhi",
"TIGHT electron #phi", 64, -3.2, 3.2);
143 bookTH1F(
m_hTightTime, electronGroup,
"forwardElectronTightTime",
"Time associated with the TIGHT electron cluster [ns]", 90, -30., 60.);
179 bookTH1F(
m_hLB_N, electronLBGroup,
"forwardElectronNumbervsLB",
"Number of Forward Electrons vs LB", 2000, -0.5, 1999.5);
181 return StatusCode::SUCCESS;
188 if (!
hasGoodTrigger(
"forward electron"))
return StatusCode::SUCCESS;
194 return StatusCode::RECOVERABLE;
218 ATH_MSG_DEBUG(
"Number of electrons: " << electron_container->size());
221 if( ! electron_container->hasStore() ) {
223 return StatusCode::FAILURE;
230 std::vector<int> n_el;
231 std::vector<int> n_el_tight;
235 for (; e_iter!=e_end; ++e_iter) {
236 if(!(*e_iter))
continue;
240 float et = (*e_iter)->pt();
241 float eta = (*e_iter)->eta();
242 float phi = (*e_iter)->phi();
246 if (
et<5000)
return StatusCode::SUCCESS;
251 double firstENGdens=-999.;
252 double lateral=-999.;
253 double secondR=-999.;
254 double centerLambda=-999.;
255 double fracMax=-999.;
256 double longitudinal=-999.;
257 double secondLambda=-999.;
266 ATH_MSG_DEBUG(
"this electron is also a Loose Forward Electron..." );
313 if((*e_iter)->passSelection(isTight,
"Tight")) {
315 ATH_MSG_DEBUG(
"this electron is also a Tight Forward Electron" );
340 ATH_MSG_DEBUG(
"Electron selection menu Tight is not defined" );
355 return StatusCode::SUCCESS;
@ SECOND_R
Second Moment in .
flt_t time() const
Access cluster time.
Extra patterns decribing particle interation process.
Const iterator class for DataVector/DataList.
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
@ CENTER_LAMBDA
Shower depth at Cluster Centroid.
const uint16_t AuthorFwdElectron
Electron reconstructed by the Forward cluster-based algorithm.
@ ENG_FRAC_MAX
Energy fraction of hottest cell.
@ SECOND_LAMBDA
Second Moment in .
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool retrieveMoment(MomentType type, double &value) const
Retrieve individual moment.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
@ FIRST_ENG_DENS
First Moment in E/V.
int ir
counter of the current depth
def time(flags, cells_name, *args, **kw)
@ LATERAL
Normalized lateral moment.
@ LONGITUDINAL
Normalized longitudinal moment.