ATLAS Offline Software
|
Extra detail class containing information for track and calo seeded tau reconstruction algorithms. More...
#include <TauCommonExtraDetails.h>
Public Member Functions | |
TauCommonExtraDetails () | |
Default constructor. More... | |
TauCommonExtraDetails (const TauCommonExtraDetails &rhs) | |
Copy constructor. More... | |
virtual | ~TauCommonExtraDetails () |
Virtual destructor. More... | |
TauCommonExtraDetails & | operator= (const TauCommonExtraDetails &rhs) |
Assignment operator. More... | |
bool | operator== (const TauCommonExtraDetails &rhs) const |
Equality operator. More... | |
bool | operator!= (const TauCommonExtraDetails &rhs) const |
Inequality operator. More... | |
virtual const std::string & | className () const |
Get name of class. More... | |
void | allocTracksAndSamplings (unsigned int tracks, unsigned int samplings) |
Allocate data structures for given number of tracks and samplings. More... | |
std::string | toString () const |
Uses printOn to make a string of the TauDetails. More... | |
Accessors for sumPtLooseTrk | |
Sum of p_T for loose tracks. | |
double | sumPtLooseTrk () const |
Get sum of p_T for loose tracks. More... | |
void | setSumPtLooseTrk (double pt) |
Set sum of p_T for loose tracks. More... | |
Accessors for sumPtTrk | |
Sum of p_T for tracks. | |
double | sumPtTrk () const |
Get sum of p_T for loose tracks. More... | |
void | setSumPtTrk (double pt) |
Set sum of p_T for loose tracks. More... | |
Accessors for closestEtaTrkVertCell | |
Closest cell to track position at vertex in eta. Indices are [track][sample] | |
const std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestEtaTrkVertCell () const |
Get closest eta vector. More... | |
std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestEtaTrkVertCell () |
Get closest eta vector. More... | |
const CaloCell * | closestEtaTrkVertCell (int itrk, int num) const |
Get CaloCell in closest eta vector. More... | |
void | setClosestEtaTrkVertCell (const std::vector< std::vector< ElementLink< CaloCellContainer > > > &closestEtaTrkVertCell) |
Set closest eta vector. More... | |
void | setClosestEtaTrkVertCell (const CaloCell *val, const CaloCellContainer *cont, int itrk, int num) |
Accessors for closestPhiTrkVertCell | |
Closest cell to track position at vertex in phi. Indices are [track][sample] | |
const std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestPhiTrkVertCell () const |
Get closest phi vector. More... | |
std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestPhiTrkVertCell () |
Get closest phi vector. More... | |
const CaloCell * | closestPhiTrkVertCell (int itrk, int num) const |
Get CaloCell in closest phi vector. More... | |
void | setClosestPhiTrkVertCell (const std::vector< std::vector< ElementLink< CaloCellContainer > > > &closestPhiTrkVertCell) |
Set closest phi vector. More... | |
void | setClosestPhiTrkVertCell (const CaloCell *val, const CaloCellContainer *cont, int itrk, int num) |
Accessors for closestEtaTrkCell | |
Closest cell to track position from extrapolation in eta. Indices are [track][sample] | |
const std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestEtaTrkCell () const |
Get closest eta vector. More... | |
std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestEtaTrkCell () |
Get closest eta vector. More... | |
const CaloCell * | closestEtaTrkCell (int itrk, int num) const |
Get CaloCell in closest eta vector. More... | |
void | setClosestEtaTrkCell (const std::vector< std::vector< ElementLink< CaloCellContainer > > > &closestEtaTrkCell) |
Set closest eta vector. More... | |
void | setClosestEtaTrkCell (const CaloCell *val, const CaloCellContainer *cont, int itrk, int num) |
Accessors for closestPhiTrkCell | |
Closest cell to track position from extrapolation in phi. Indices are [track][sample] | |
const std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestPhiTrkCell () const |
Get closest phi vector. More... | |
std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestPhiTrkCell () |
Get closest phi vector. More... | |
const CaloCell * | closestPhiTrkCell (int itrk, int num) const |
Get CaloCell in closest phi vector. More... | |
void | setClosestPhiTrkCell (const std::vector< std::vector< ElementLink< CaloCellContainer > > > &closestPhiTrkCell) |
Set closest phi vector. More... | |
void | setClosestPhiTrkCell (const CaloCell *val, const CaloCellContainer *cont, int itrk, int num) |
Accessors for etaTrkCaloSamp | |
Eta of extrapolation point in EM Calo. Indices are [track][sample] | |
const std::vector< std::vector< double > > & | etaTrkCaloSamp () const |
Get eta vector. More... | |
std::vector< std::vector< double > > & | etaTrkCaloSamp () |
Get eta vector. More... | |
void | setEtaTrkCaloSamp (const std::vector< std::vector< double > > &etaTrkCaloSamp) |
Set eta vector. More... | |
Accessors for phiTrkCaloSamp | |
const std::vector< std::vector< double > > & | phiTrkCaloSamp () const |
Get phi vector. More... | |
std::vector< std::vector< double > > & | phiTrkCaloSamp () |
Get phi vector. More... | |
void | setPhiTrkCaloSamp (const std::vector< std::vector< double > > &phiTrkCaloSamp) |
Set phi vector. More... | |
Accessors for etaLooseTrkCaloSamp | |
Eta of extrapolation point in EM Calo. Indices are [track][sample] | |
const std::vector< std::vector< double > > & | etaLooseTrkCaloSamp () const |
Get eta vector. More... | |
std::vector< std::vector< double > > & | etaLooseTrkCaloSamp () |
Get eta vector. More... | |
void | setEtaLooseTrkCaloSamp (const std::vector< std::vector< double > > &etaLooseTrkCaloSamp) |
Set eta vector. More... | |
Accessors for phiLooseTrkCaloSamp | |
const std::vector< std::vector< double > > & | phiLooseTrkCaloSamp () const |
Get phi vector. More... | |
std::vector< std::vector< double > > & | phiLooseTrkCaloSamp () |
Get phi vector. More... | |
void | setPhiLooseTrkCaloSamp (const std::vector< std::vector< double > > &phiLooseTrkCaloSamp) |
Set phi vector. More... | |
Accessors for nEMCell | |
int | seedCalo_nEMCell () const |
Get number of EM cells. More... | |
void | setSeedCalo_nEMCell (int n) |
Setumber of EM cells. More... | |
Accessors for stripEt | |
double | seedCalo_stripEt () const |
Get sum of ET in strip layer. More... | |
void | setSeedCalo_stripEt (double et) |
Set sum of ET in strip layer. More... | |
Accessors for | |
double | seedCalo_EMCentFrac () const |
Set EM Centrality Fraction. More... | |
void | setSeedCalo_EMCentFrac (double fraction) |
Get EM Centrality Fraction. More... | |
Accessors for sumCellEnergy | |
double | seedCalo_sumCellEnergy () const |
Get energy sum. More... | |
void | setSeedCalo_sumCellEnergy (double energy) |
Set energy sum. More... | |
Static Public Attributes | |
static const float | DEFAULT = -1111. |
static const int | DEFAULT_INT = INT_MIN |
Private Attributes | |
Members applicable for track & calo seeded tau reconstruction | |
double | m_sumPtLooseTrk |
Sum of p_T for loose tracks. More... | |
double | m_sumPtTrk |
Sum of p_T for tracks. More... | |
std::vector< std::vector< ElementLink< CaloCellContainer > > > | m_closestEtaTrkVertCell |
Closest cell to track position at vertex in eta. More... | |
std::vector< std::vector< ElementLink< CaloCellContainer > > > | m_closestPhiTrkVertCell |
Closest cell to track position at vertex in phi. More... | |
std::vector< std::vector< ElementLink< CaloCellContainer > > > | m_closestEtaTrkCell |
Closest cell to track position from extrapolation in eta. More... | |
std::vector< std::vector< ElementLink< CaloCellContainer > > > | m_closestPhiTrkCell |
Closest cell to track position from extrapolation in phi. More... | |
std::vector< std::vector< double > > | m_etaTrkCaloSamp |
Eta of extrapolation point in EM Calo. More... | |
std::vector< std::vector< double > > | m_phiTrkCaloSamp |
Phi of extrapolation point in EM Calo. More... | |
std::vector< std::vector< double > > | m_etaLooseTrkCaloSamp |
Eta of extrapolation point in EM Calo. More... | |
std::vector< std::vector< double > > | m_phiLooseTrkCaloSamp |
Phi of extrapolation point in EM Calo. More... | |
Members applicable for calo seeded tau reconstruction | |
int | m_seedCalo_nEMCell |
Number of EM cells within dR < 0.4, with E > m_cellEthr. More... | |
double | m_seedCalo_stripEt |
Uncalibrated sum of ET in the strip layer within dR < 0.4. More... | |
double | m_seedCalo_EMCentFrac |
EM Centrality Fraction (ET(dr<0.1)/ET(dr<0.4) for EM calos only. More... | |
double | m_seedCalo_sumCellEnergy |
Energy sum of all cells within dR < 0.4. More... | |
double | m_seedCalo_sumEMCellEnergy |
Energy sum of all em cells within dR < 0.4 (Presampler + EM1 + EM2) More... | |
Friends | |
class | TauCommonExtraDetailsCnv_p1 |
class | TauJet |
Definition of the current "tau version". More... | |
Accessors for sumEMCellEnergy | |
static const std::string | s_className |
Name of class. More... | |
double | seedCalo_sumEMCellEnergy () const |
Get EM energy sum. More... | |
void | setSeedCalo_sumEMCellEnergy (double energy) |
Set EM energy sum. More... | |
template<class stream > | |
void | printOn (stream &o) const |
Printing function. More... | |
Extra detail class containing information for track and calo seeded tau reconstruction algorithms.
Is saved only to ESD output.
Definition at line 31 of file TauCommonExtraDetails.h.
Analysis::TauCommonExtraDetails::TauCommonExtraDetails | ( | ) |
Analysis::TauCommonExtraDetails::TauCommonExtraDetails | ( | const TauCommonExtraDetails & | rhs | ) |
Copy constructor.
rhs | TauCommonExtraDetails instance to assign from |
Definition at line 46 of file TauCommonExtraDetails.cxx.
|
virtual |
void Analysis::TauCommonExtraDetails::allocTracksAndSamplings | ( | unsigned int | tracks, |
unsigned int | samplings | ||
) |
Allocate data structures for given number of tracks and samplings.
tracks | Number of tracks |
samplings | Number of samplings |
Definition at line 140 of file TauCommonExtraDetails.cxx.
|
virtual |
Get name of class.
Implements Analysis::TauDetails.
Definition at line 170 of file TauCommonExtraDetails.cxx.
std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestEtaTrkCell | ( | ) |
Get closest eta vector.
const std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestEtaTrkCell | ( | ) | const |
Get closest eta vector.
std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestEtaTrkVertCell | ( | ) |
Get closest eta vector.
const std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestEtaTrkVertCell | ( | ) | const |
Get closest eta vector.
std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestPhiTrkCell | ( | ) |
Get closest phi vector.
const std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestPhiTrkCell | ( | ) | const |
Get closest phi vector.
std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestPhiTrkVertCell | ( | ) |
Get closest phi vector.
const std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestPhiTrkVertCell | ( | ) | const |
Get closest phi vector.
std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::etaLooseTrkCaloSamp | ( | ) |
Get eta vector.
const std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::etaLooseTrkCaloSamp | ( | ) | const |
Get eta vector.
std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::etaTrkCaloSamp | ( | ) |
Get eta vector.
const std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::etaTrkCaloSamp | ( | ) | const |
Get eta vector.
|
virtualinherited |
check if parameter exists
Reimplemented in Analysis::TauRecDetails, and Analysis::Tau1P3PDetails.
Definition at line 53 of file TauDetails.cxx.
|
virtualinherited |
bool Analysis::TauCommonExtraDetails::operator!= | ( | const TauCommonExtraDetails & | rhs | ) | const |
TauCommonExtraDetails & Analysis::TauCommonExtraDetails::operator= | ( | const TauCommonExtraDetails & | rhs | ) |
Assignment operator.
rhs | TauCommonExtraDetails instance to assign from |
Definition at line 75 of file TauCommonExtraDetails.cxx.
bool Analysis::TauCommonExtraDetails::operator== | ( | const TauCommonExtraDetails & | rhs | ) | const |
Equality operator.
rhs | right hand side TauCommonDetails instance to compare |
Definition at line 100 of file TauCommonExtraDetails.cxx.
|
virtualinherited |
Reimplemented in Analysis::TauRecDetails, and Analysis::Tau1P3PDetails.
Definition at line 41 of file TauDetails.cxx.
std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::phiLooseTrkCaloSamp | ( | ) |
Get phi vector.
const std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::phiLooseTrkCaloSamp | ( | ) | const |
Get phi vector.
std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::phiTrkCaloSamp | ( | ) |
Get phi vector.
const std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::phiTrkCaloSamp | ( | ) | const |
Get phi vector.
|
protected |
Printing function.
o | string to print to |
double Analysis::TauCommonExtraDetails::seedCalo_EMCentFrac | ( | ) | const |
Set EM Centrality Fraction.
int Analysis::TauCommonExtraDetails::seedCalo_nEMCell | ( | ) | const |
Get number of EM cells.
double Analysis::TauCommonExtraDetails::seedCalo_stripEt | ( | ) | const |
Get sum of ET in strip layer.
double Analysis::TauCommonExtraDetails::seedCalo_sumCellEnergy | ( | ) | const |
Get energy sum.
double Analysis::TauCommonExtraDetails::seedCalo_sumEMCellEnergy | ( | ) | const |
Get EM energy sum.
void Analysis::TauCommonExtraDetails::setClosestEtaTrkCell | ( | const CaloCell * | val, |
const CaloCellContainer * | cont, | ||
int | itrk, | ||
int | num | ||
) |
void Analysis::TauCommonExtraDetails::setClosestEtaTrkCell | ( | const std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestEtaTrkCell | ) |
Set closest eta vector.
closestEtaTrkCell | closest eta vector |
void Analysis::TauCommonExtraDetails::setClosestEtaTrkVertCell | ( | const CaloCell * | val, |
const CaloCellContainer * | cont, | ||
int | itrk, | ||
int | num | ||
) |
void Analysis::TauCommonExtraDetails::setClosestEtaTrkVertCell | ( | const std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestEtaTrkVertCell | ) |
Set closest eta vector.
closestEtaTrkVertCell | closest eta vector |
void Analysis::TauCommonExtraDetails::setClosestPhiTrkCell | ( | const CaloCell * | val, |
const CaloCellContainer * | cont, | ||
int | itrk, | ||
int | num | ||
) |
void Analysis::TauCommonExtraDetails::setClosestPhiTrkCell | ( | const std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestPhiTrkCell | ) |
Set closest phi vector.
closestPhiTrkCell | closest phi vector |
void Analysis::TauCommonExtraDetails::setClosestPhiTrkVertCell | ( | const CaloCell * | val, |
const CaloCellContainer * | cont, | ||
int | itrk, | ||
int | num | ||
) |
void Analysis::TauCommonExtraDetails::setClosestPhiTrkVertCell | ( | const std::vector< std::vector< ElementLink< CaloCellContainer > > > & | closestPhiTrkVertCell | ) |
Set closest phi vector.
closestPhiTrkVertCell | closest phi vector |
void Analysis::TauCommonExtraDetails::setEtaLooseTrkCaloSamp | ( | const std::vector< std::vector< double > > & | etaLooseTrkCaloSamp | ) |
Set eta vector.
etaTrkCell | eta vector |
void Analysis::TauCommonExtraDetails::setEtaTrkCaloSamp | ( | const std::vector< std::vector< double > > & | etaTrkCaloSamp | ) |
Set eta vector.
etaTrkCell | eta vector |
|
virtualinherited |
|
virtualinherited |
void Analysis::TauCommonExtraDetails::setPhiLooseTrkCaloSamp | ( | const std::vector< std::vector< double > > & | phiLooseTrkCaloSamp | ) |
Set phi vector.
phiTrkCell | phi vector |
void Analysis::TauCommonExtraDetails::setPhiTrkCaloSamp | ( | const std::vector< std::vector< double > > & | phiTrkCaloSamp | ) |
Set phi vector.
phiTrkCell | phi vector |
void Analysis::TauCommonExtraDetails::setSeedCalo_EMCentFrac | ( | double | fraction | ) |
Get EM Centrality Fraction.
fraction | Centrality fraction |
void Analysis::TauCommonExtraDetails::setSeedCalo_nEMCell | ( | int | n | ) |
Setumber of EM cells.
n | number of cells |
void Analysis::TauCommonExtraDetails::setSeedCalo_stripEt | ( | double | et | ) |
Set sum of ET in strip layer.
et | E_t |
void Analysis::TauCommonExtraDetails::setSeedCalo_sumCellEnergy | ( | double | energy | ) |
Set energy sum.
energy | Energy sum |
void Analysis::TauCommonExtraDetails::setSeedCalo_sumEMCellEnergy | ( | double | energy | ) |
Set EM energy sum.
energy | Energy sum |
void Analysis::TauCommonExtraDetails::setSumPtLooseTrk | ( | double | pt | ) |
Set sum of p_T for loose tracks.
pt | p_T |
void Analysis::TauCommonExtraDetails::setSumPtTrk | ( | double | pt | ) |
Set sum of p_T for loose tracks.
pt | p_T |
double Analysis::TauCommonExtraDetails::sumPtLooseTrk | ( | ) | const |
Get sum of p_T for loose tracks.
double Analysis::TauCommonExtraDetails::sumPtTrk | ( | ) | const |
Get sum of p_T for loose tracks.
|
inherited |
Uses printOn to make a string of the TauDetails.
Definition at line 34 of file TauDetails.cxx.
|
friend |
Definition at line 32 of file TauCommonExtraDetails.h.
|
friend |
Definition of the current "tau version".
Definition at line 33 of file TauCommonExtraDetails.h.
|
staticinherited |
Definition at line 34 of file TauDetails.h.
|
staticinherited |
Definition at line 35 of file TauDetails.h.
|
private |
Closest cell to track position from extrapolation in eta.
Indices are [track][sample]
Definition at line 444 of file TauCommonExtraDetails.h.
|
private |
Closest cell to track position at vertex in eta.
Indices are [track][sample]
Definition at line 432 of file TauCommonExtraDetails.h.
|
private |
Closest cell to track position from extrapolation in phi.
Indices are [track][sample]
Definition at line 450 of file TauCommonExtraDetails.h.
|
private |
Closest cell to track position at vertex in phi.
Indices are [track][sample]
Definition at line 438 of file TauCommonExtraDetails.h.
|
private |
Eta of extrapolation point in EM Calo.
Indices are [track][sample]
Definition at line 466 of file TauCommonExtraDetails.h.
|
private |
Eta of extrapolation point in EM Calo.
Indices are [track][sample]
Definition at line 455 of file TauCommonExtraDetails.h.
|
private |
Phi of extrapolation point in EM Calo.
Indices are [track][sample]
Definition at line 471 of file TauCommonExtraDetails.h.
|
private |
Phi of extrapolation point in EM Calo.
Indices are [track][sample]
Definition at line 460 of file TauCommonExtraDetails.h.
|
private |
EM Centrality Fraction (ET(dr<0.1)/ET(dr<0.4) for EM calos only.
Applicable for calo seeded tau rec
Definition at line 491 of file TauCommonExtraDetails.h.
|
private |
Number of EM cells within dR < 0.4, with E > m_cellEthr.
Applicable for calo seeded tau rec
Definition at line 481 of file TauCommonExtraDetails.h.
|
private |
Uncalibrated sum of ET in the strip layer within dR < 0.4.
Applicable for calo seeded tau rec
Definition at line 486 of file TauCommonExtraDetails.h.
|
private |
Energy sum of all cells within dR < 0.4.
Applicable for calo seeded tau rec
Definition at line 496 of file TauCommonExtraDetails.h.
|
private |
Energy sum of all em cells within dR < 0.4 (Presampler + EM1 + EM2)
Applicable for calo seeded tau rec
Definition at line 502 of file TauCommonExtraDetails.h.
|
private |
Sum of p_T for loose tracks.
Definition at line 423 of file TauCommonExtraDetails.h.
|
private |
Sum of p_T for tracks.
Definition at line 426 of file TauCommonExtraDetails.h.
|
staticprivate |
Name of class.
Definition at line 416 of file TauCommonExtraDetails.h.