|
ATLAS Offline Software
|
Go to the documentation of this file.
80 bool WithFullHistList =
true;
81 bool WithLimitedHistList =
false;
107 return StatusCode::SUCCESS;
113 ATH_MSG_DEBUG(
"electronMonTool::bookHistogramsForOneElectron()");
121 bookTH2F(myHist.
m_hEtaPhi4GeV, *
m_electronGroup,
"electronEtaPhiPtgt4GeV",
"Electron #eta,#phi map (candidates with Pt>4GeV)", 64, -3.2, 3.2, 64, -3.2, 3.2, myHist.
m_nameOfEgammaType);
129 bookTH2F(myHist.
m_hEtaPhi, *
m_electronGroup,
"electronEtaPhiPtgt2.5GeV",
"Electron #eta,#phi map (candidates with Pt>2.5GeV)", 64, -3.2, 3.2, 64, -3.2, 3.2, myHist.
m_nameOfEgammaType);
130 bookTH2F(myHist.
m_hEtaPhi20GeV, *
m_electronGroup,
"electronEtaPhiPtgt20GeV",
"Electron #eta,#phi map (candidates with Pt>20GeV)", 64, -3.2, 3.2, 64, -3.2, 3.2, myHist.
m_nameOfEgammaType);
166 return StatusCode::SUCCESS;
188 return StatusCode::SUCCESS;
196 float et = (*e_iter)->pt();
197 float eta = (*e_iter)->eta();
198 float phi = (*e_iter)->phi();
203 if (
et<2500)
return StatusCode::SUCCESS;
275 float Re233e237 = 0.0;
280 float Re237e277 = 0.0;
298 trackp =
t->pt()*cosh(
t->eta());
312 }
else ATH_MSG_DEBUG(
"Error attempting to retrieve associated track");
323 if(trackp !=0) ep = aCluster->
e()/trackp;
325 double ec = aCluster->
et()*cosh(aCluster->
eta());
327 if (ec!=0) f0 = aCluster->
energyBE(0)/ec;
341 return StatusCode::SUCCESS;
347 if (!
hasGoodTrigger(
"single electron"))
return StatusCode::SUCCESS;
352 return StatusCode::SUCCESS;
384 if( ! electron_container->hasStore() ) {
386 return StatusCode::FAILURE;
393 ATH_MSG_DEBUG(
"Number of electrons: " << electron_container->size());
407 for (; e_iter!=e_end; ++e_iter){
408 if(!(*e_iter))
continue;
414 if ((*e_iter)->pt()<= 7000. && std::abs((*e_iter)->eta()) >= 2.47 )
continue;
419 if((*e_iter)->passSelection(isGood,
"Medium")) {
423 }
else ATH_MSG_WARNING(
"Electron selection menu Medium is not defined" );
426 if((*e_iter)->passSelection(isGood,
"LHLoose")) {
433 if((*e_iter)->passSelection(isGood,
"LHMedium")) {
437 }
else ATH_MSG_WARNING(
"Electron selection LHMedium is not defined" );
440 if((*e_iter)->passSelection(isGood,
"Tight")) {
444 }
else ATH_MSG_WARNING(
"Electron selection menu Tight is not defined" );
447 if((*e_iter)->passSelection(isGood,
"LHTight")) {
451 }
else ATH_MSG_WARNING(
"Electron selection menu LHTight is not defined" );
470 return StatusCode::SUCCESS;
std::vector< TH1 * > m_hvN
std::vector< TH1 * > m_hvF1
@ ehad1
E leakage into 1st sampling of had calo (CaloSampling::HEC0 + CaloSampling::TileBar0 + CaloSampling::...
@ e233
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x3 (in cell units e...
flt_t time() const
Access cluster time.
Extra patterns decribing particle interation process.
Const iterator class for DataVector/DataList.
Scalar phi() const
phi method
std::vector< TH1 * > m_hvRe233e237
Scalar eta() const
pseudorapidity method
@ ecore
core energy in em calo E(core) = E0(3x3) + E1(15x2) + E2(5x5) + E3(3x5)
@ ptcone20
Track isolation.
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfTRTHits
number of TRT hits [unit8_t].
std::vector< TH1 * > m_hvNOfSiHits
std::vector< TH1 * > m_hvEhad1
@ f3
fraction of energy reconstructed in 3rd sampling
std::vector< TH1 * > m_hvNOfTRTHits
Description of a calorimeter cluster.
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
virtual double eta() const
The pseudorapidity ( ) of the particle.
const uint16_t AuthorAmbiguous
Object Reconstructed by standard cluster-based algorithm.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< TH1 * > m_hvF2
std::vector< TH1 * > m_hvEta
std::vector< TH1 * > m_hvEt
std::vector< int > m_nElectronsPerRegion
std::vector< TH1 * > m_hvDeltaPhi2
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
std::vector< TH1 * > m_hvF3
std::vector< TH1 * > m_hvd0
std::vector< TH1 * > m_hvDeltaEta1
std::vector< TH1 * > m_hvTime
std::vector< TH1 * > m_hvRe237e277
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
std::vector< TH1 * > m_hvPhi
unsigned int m_nElectronsInCurrentLB
int ir
counter of the current depth
def time(flags, cells_name, *args, **kw)
#define ATH_MSG_WARNING(x)
std::vector< TH1 * > m_hvEoverP
std::vector< TH1 * > m_hvTopoEtCone40
float energyBE(const unsigned layer) const
Get the energy in one layer of the EM Calo.
std::vector< TH1 * > m_hvPtCone20
@ numberOfSCTHits
number of hits in SCT [unit8_t].
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
unsigned int m_nElectrons
Class describing a TrackParticle.
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
@ deltaEta1
difference between the cluster eta (first sampling) and the eta of the track extrapolated to the firs...
std::vector< TH1 * > m_hvNOfBLayerHits
std::vector< TH1 * > m_hvNOfTRTHighThresholdHits
virtual double e() const
The total energy of the particle.
std::vector< TH1 * > m_hvCoreEM
std::vector< TH1 * > m_hvF0
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
const uint16_t AuthorElectron
Object Reconstructed by standard cluster-based algorithm.
std::vector< int > m_nElectronsPerLumiBlock
std::string m_nameOfEgammaType