|
ATLAS Offline Software
|
Go to the documentation of this file.
25 const std::string&
name,
30 declareInterface< IElectronCnvTool >(
this);
38 "Most likely used for trigger objects");
47 return StatusCode::SUCCESS;
52 return convert(aod,xaod,&xaodFrwd);
61 return StatusCode::SUCCESS;
93 if (
eg->trackParticle()) {
94 double clE =
eg->cluster()->e();
95 double pt = sqrt(clE*clE - 0.511*0.511)/cosh(
eg->trackParticle()->eta());
96 double eta =
eg->trackParticle()->eta();
97 double phi =
eg->trackParticle()->phi();
115 Eigen::Matrix<double,4,4>
matrix;
116 for(
int i(0);
i<4;++
i){
117 for(
int j(0);j<4;++j){
122 Eigen::Matrix<double,4,4>
covMatrix= jacobian*
matrix*jacobian.transpose();
145 return StatusCode::SUCCESS;
194 float parameter =
static_cast<float>(
result);
213 float isolation =
static_cast<float>(
result);
236 float isolation =
static_cast<float>(
result);
244 std::string clusterContainerName;
251 std::vector< ElementLink< xAOD::TrackParticleContainer > > linksToTracks;
262 std::vector< ElementLink< xAOD::TrackParticleContainer > > linksToTracks;
276 std::vector< ElementLink< xAOD::TrackParticleContainer > > linksToTracks;
284 if (clusterContainerName.empty())
290 std::vector< ElementLink< xAOD::CaloClusterContainer > > linksToClusters;
291 linksToClusters.push_back(newclusterElementLink);
299 const std::string&
name)
const{
301 std::string linkname =
name;
303 if (linkname.empty())
304 linkname = oldLink.
dataID();
347 if(el_cl !=
nullptr) {
348 float elEta = fabs(el_cl->
etaBE(2));
349 float elEt = el_cl->
e()/cosh(elEta);
352 float raphad = fabs(elEt) != 0. ?
ethad/elEt : 0.;
359 float raphad1 = fabs(elEt) != 0. ?
ethad1/elEt : 0.;
363 ATH_MSG_WARNING(
"No xAOD::CaloCluster was found during the conversion egammaContainer -> xAOD::ElectronContainer");
@ 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...
@ deltaPhiRescaled
difference between the cluster phi (sampling 2) and the phi of the track extrapolated from the perige...
@ emaxs1
energy of strip with maximal energy deposit
@ deltaPhi0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
@ topoetcone20
Topo-cluster ET-sum.
Electron_v1 Electron
Definition of the current "egamma version".
@ e337
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x7
@ e033
uncalibrated energy (sum of cells) in presampler in a 3x3 window in cells in eta X phi
ElementLink< Rec::TrackParticleContainer > trackParticleElementLink(unsigned int index=0) const
element link to trackParticle
@ deltaPhi3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
@ e333
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x3
@ e2ts1
2nd max in strips calc by summing 3 strips
@ asy1
uncorr asymmetry in 3 strips in the 1st sampling
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
@ e235
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x5
@ topoetcone40
Topo cluster ET in a cone with half-opening angle 0.30.
const unsigned int AuthorSofte
Electron reconstructed by the track-based algorithm.
@ ecore
core energy in em calo E(core) = E0(3x3) + E1(15x2) + E2(5x5) + E3(3x5)
@ deltaEta0
difference between the cluster eta (presampler) and the eta of the track extrapolated to the presampl...
@ deltaEta2
difference between the cluster eta (second sampling) and the eta of the track extrapolated to the sec...
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
@ e233
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x3 (in cell units e...
@ e033
uncalibrated energy (sum of cells) in presampler in a 3x3 window in cells in eta X phi
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
void setTrackParticleLinks(const TPELVec_t &links)
Set the ElementLinks to the xAOD::TrackParticle/s that match the electron candidate.
@ deltaEta2
difference between the cluster eta (second sampling) and the eta of the track extrapolated to the sec...
@ f1core
E1(3x1)/E = fraction of the energy reconstructed in the first longitudinal compartment of the electro...
@ f3
fraction of energy reconstructed in 3rd sampling
@ e2ts1
2nd max in strips calc by summing 3 strips
double detailValue(egammaParameters::ParamDef key, const std::string &name="", unsigned int index=0) const
get the float value of key in the container name
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
bool isValid() const
Test to see if the link can be dereferenced.
@ deltaPhi3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
bool showerShapeValue(float &value, const EgammaParameters::ShowerShapeType information) const
Accessor for ShowerShape values.
const ID_type & dataID() const
Get the key that we reference, as a string.
@ deltaPhi1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
@ deltaEta3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
@ deltaPhi1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
@ e333
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x3
@ deltaPhiFromLastMeasurement
difference between the cluster phi (sampling 2) and the eta of the track extrapolated from the last m...
@ f3
fraction of energy reconstructed in 3rd sampling
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in +- n stri...
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
@ e1152
uncalibrated energy (sum of cells) in strips in a 15x2 window in cells in eta X phi
@ deltaPhiFromLastMeasurement
difference between the cluster phi (sampling 2) and the eta of the track extrapolated from the last m...
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
@ ecore
core energy in em calo E(core) = E0(3x3) + E1(15x2) + E2(5x5) + E3(3x5)
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
Description of a calorimeter cluster.
void resetWithKeyAndIndex(const ID_type &dataID, index_type elemID, IProxyDict *sg=0)
Set the link to an element given by string key and index.
unsigned int nTrackParticles() const
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
@ etcone20
ET in a cone with half-opening angle 0.2, with exclusion of a window of size 7x5 in electromagnetic c...
bool setIsolationValue(float value, const Iso::IsolationType information)
old set method for Isolation values.
@ etcone20
Calorimeter isolation.
@ pos7
Difference between the track and the shower positions: sum_{i=i_m-7}^{i=i_m+7}E_i x (i-i_m) / sum_{i=...
::StatusCode StatusCode
StatusCode definition for legacy code.
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
@ poscs2
relative position in eta within cell in 2nd sampling
IsolationType
Overall enumeration for isolation types in xAOD files.
const xAOD::CaloCluster * caloCluster(size_t index=0) const
Pointer to the xAOD::CaloCluster/s that define the electron candidate.
@ e011
uncalibrated energy (sum of cells) in presampler in a 1x1 window in cells in eta X phi
@ deltaEta3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ~0,2, corresponding typically to 20 strips ...
@ deltaPhiRescaled2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
void setCaloClusterLinks(const CLELVec_t &links)
set Pointer to the xAOD::CaloCluster
const unsigned int AuthorElectron
Electron reconstructed by standard cluster-based algorithm.
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
ElementLink implementation for ROOT usage.
@ e377
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
@ f3core
E3(3x3)/E fraction of the energy reconstructed in the third compartment of the electromagnetic calori...
unsigned int author() const
Reconstruction Author
@ poscs1
relative position in eta within cell in 1st sampling
@ e1152
uncalibrated energy (sum of cells) in strips in a 15x2 window in cells in eta X phi
@ topoetcone20
Topo cluster ET in a cone with half-opening angle 0.20.
@ r33over37allcalo
1-ratio of energy in 3x3 over 3x7 cells; E(3x3) = E0(1x1) + E1(3x1) + E2(3x3) + E3(3x3); E(3x7) = E0(...
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Helpers for checking error return status codes and reporting errors.
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
@ barys1
barycentre in sampling 1 calculated in 3 strips
@ poscs2
relative position in eta within cell in 2nd sampling
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
value_type push_back(value_type pElem)
Add an element to the end of the collection.
@ ptcone40
summed pt of tracks in a cone with half-opening angle 0.4
@ barys1
barycentre in sampling 1 calculated in 3 strips
@ deltaEta1
difference between the cluster eta (first sampling) and the eta of the track extrapolated to the firs...
@ asy1
uncorr asymmetry in 3 strips in the 1st sampling
@ pos
difference between shower cell and predicted track in +/- 1 cells
@ e255
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 5x5
@ e235
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x5
@ etcone30
ET in a cone with half-opening angle 0.3, with exclusion of a window of size 7x5 in electromagnetic c...
#define ATH_MSG_WARNING(x)
@ e255
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 5x5
@ e337
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x7
@ r33over37allcalo
1-ratio of energy in 3x3 over 3x7 cells; E(3x3) = E0(1x1) + E1(3x1) + E2(3x3) + E3(3x3); E(3x7) = E0(...
@ deltaEta0
difference between the cluster eta (presampler) and the eta of the track extrapolated to the presampl...
const unsigned int AuthorFrwd
Electron reconstructed by the Forward cluster-based algorithm.
index_type index() const
Get the index of the element inside of its container.
@ f1core
E1(3x1)/E = fraction of the energy reconstructed in the first longitudinal compartment of the electro...
@ ptcone30
summed pt of tracks in a cone with half-opening angle 0.3
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
@ widths1
same as egammaParameters::weta1 but without corrections on particle impact point inside the cell
const ElementLink< CaloClusterContainer > & clusterElementLink() const
element link to cluster
@ e335
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x5
@ weta1
shower width using +/-3 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
@ e011
uncorrected energy in presampler in a 1x1 window in cells in eta X phi
@ Eratio
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
@ ehad1
E leakage into 1st sampling of had calo (CaloSampling::HEC0 + CaloSampling::TileBar0 + CaloSampling::...
@ poscs1
relative position in eta within cell in 1st sampling
@ 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...
@ etcone40
ET in a cone with half-opening angle 0.4, with exclusion of a window of size 7x5 in electromagnetic c...
bool setShowerShapeValue(float value, const EgammaParameters::ShowerShapeType information)
Set method for Shower Shape values.
@ f3core
E3(3x3)/E fraction of the energy reconstructed in the third compartment of the electromagnetic calori...
@ deltaPhi0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
@ topoetcone30
Topo cluster ET in a cone with half-opening angle 0.30.
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
@ widths2
same as egammaParameters::weta2 but without corrections on particle impact point inside the cell
@ weta1
shower width using +/-1 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
@ pos7
Difference between the track and the shower positions: sum_{i=i_m-7}^{i=i_m+7}E_i x (i-i_m) / sum_{i=...
@ e335
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x5
@ emaxs1
energy of strip with maximal energy deposit
virtual double e() const
The total energy of the particle.
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
@ e377
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
@ pos
difference between shower cell and predicted track in +/- 1 cells
@ widths1
same as egammaParameters::weta1 but without corrections on particle impact point inside the cell
bool setTrackCaloMatchValue(const float value, const EgammaParameters::TrackCaloMatchType information)
Set method for Track to Calo Match values.
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
@ widths2
same as egammaParameters::weta2 but without corrections on particle impact point inside the cell