ATLAS Offline Software
Public Member Functions | Static Public Attributes | Friends | List of all members
Analysis::TauCommonExtraDetails Class Reference

Extra detail class containing information for track and calo seeded tau reconstruction algorithms. More...

#include <TauCommonExtraDetails.h>

Inheritance diagram for Analysis::TauCommonExtraDetails:
Collaboration diagram for Analysis::TauCommonExtraDetails:

Public Member Functions

 TauCommonExtraDetails ()
 Default constructor. More...
 
 TauCommonExtraDetails (const TauCommonExtraDetails &rhs)
 Copy constructor. More...
 
virtual ~TauCommonExtraDetails ()
 Virtual destructor. More...
 
TauCommonExtraDetailsoperator= (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 CaloCellclosestEtaTrkVertCell (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 CaloCellclosestPhiTrkVertCell (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 CaloCellclosestEtaTrkCell (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 CaloCellclosestPhiTrkCell (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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TauCommonExtraDetails() [1/2]

Analysis::TauCommonExtraDetails::TauCommonExtraDetails ( )

Default constructor.

Definition at line 30 of file TauCommonExtraDetails.cxx.

30  :
31  TauDetails(),
32  //Applicable for track & calo seeded tau reconstruction
34  m_sumPtTrk(),
35  //Applicable for calo seeded tau reconstruction
41  {
42  allocTracksAndSamplings( 10, 4 );
43  }

◆ TauCommonExtraDetails() [2/2]

Analysis::TauCommonExtraDetails::TauCommonExtraDetails ( const TauCommonExtraDetails rhs)

Copy constructor.

Parameters
rhsTauCommonExtraDetails instance to assign from

Definition at line 46 of file TauCommonExtraDetails.cxx.

47  :
48  TauDetails(),
49  //Applicable for track & calo seeded tau reconstruction
50  m_sumPtLooseTrk(rhs.m_sumPtLooseTrk),
51  m_sumPtTrk(rhs.m_sumPtTrk),
52  m_closestEtaTrkVertCell(rhs.m_closestEtaTrkVertCell),
53  m_closestPhiTrkVertCell(rhs.m_closestPhiTrkVertCell),
54  m_closestEtaTrkCell(rhs.m_closestEtaTrkCell),
55  m_closestPhiTrkCell(rhs.m_closestPhiTrkCell),
56  m_etaTrkCaloSamp(rhs.m_etaTrkCaloSamp),
57  m_phiTrkCaloSamp(rhs.m_phiTrkCaloSamp),
58  m_etaLooseTrkCaloSamp(rhs.m_etaLooseTrkCaloSamp),
59  m_phiLooseTrkCaloSamp(rhs.m_phiLooseTrkCaloSamp),
60  //Applicable for calo seeded tau reconstruction
61  m_seedCalo_nEMCell(rhs.m_seedCalo_nEMCell),
62  m_seedCalo_stripEt(rhs.m_seedCalo_stripEt),
63  m_seedCalo_EMCentFrac(rhs.m_seedCalo_EMCentFrac),
64  m_seedCalo_sumCellEnergy(rhs.m_seedCalo_sumCellEnergy),
65  m_seedCalo_sumEMCellEnergy(rhs.m_seedCalo_sumEMCellEnergy)
66  {
67  }

◆ ~TauCommonExtraDetails()

Analysis::TauCommonExtraDetails::~TauCommonExtraDetails ( )
virtual

Virtual destructor.

Definition at line 70 of file TauCommonExtraDetails.cxx.

71  {
72  }

Member Function Documentation

◆ allocTracksAndSamplings()

void Analysis::TauCommonExtraDetails::allocTracksAndSamplings ( unsigned int  tracks,
unsigned int  samplings 
)

Allocate data structures for given number of tracks and samplings.

Parameters
tracksNumber of tracks
samplingsNumber of samplings

Definition at line 140 of file TauCommonExtraDetails.cxx.

143  {
144  if ( tracks == 0 || samplings == 0 )
145  return;
146  std::vector<ElementLink<CaloCellContainer> > initEL( samplings );
147  m_closestEtaTrkVertCell.clear();
148  m_closestEtaTrkVertCell.resize( tracks, initEL );
149  m_closestEtaTrkCell.clear();
150  m_closestEtaTrkCell.resize( tracks, initEL );
151  m_closestPhiTrkVertCell.clear();
152  m_closestPhiTrkVertCell.resize( tracks, initEL );
153  m_closestPhiTrkCell.clear();
154  m_closestPhiTrkCell.resize( tracks, initEL );
155  std::vector<double> initD( samplings, TauDetails::DEFAULT );
156  m_etaTrkCaloSamp.clear();
157  m_etaTrkCaloSamp.resize( tracks, initD );
158  m_phiTrkCaloSamp.clear();
159  m_phiTrkCaloSamp.resize( tracks, initD );
160  m_etaLooseTrkCaloSamp.clear();
161  m_etaLooseTrkCaloSamp.resize( tracks, initD );
162  m_phiLooseTrkCaloSamp.clear();
163  m_phiLooseTrkCaloSamp.resize( tracks, initD );
164  }

◆ className()

const std::string & Analysis::TauCommonExtraDetails::className ( ) const
virtual

Get name of class.

Returns
name of class

Implements Analysis::TauDetails.

Definition at line 170 of file TauCommonExtraDetails.cxx.

171  {
172  return s_className;
173  }

◆ closestEtaTrkCell() [1/3]

std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestEtaTrkCell ( )

Get closest eta vector.

Returns
closest eta vector

◆ closestEtaTrkCell() [2/3]

const std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestEtaTrkCell ( ) const

Get closest eta vector.

Returns
const closest eta vector

◆ closestEtaTrkCell() [3/3]

const CaloCell* Analysis::TauCommonExtraDetails::closestEtaTrkCell ( int  itrk,
int  num 
) const

Get CaloCell in closest eta vector.

Returns
CaloCell in closest eta vector

◆ closestEtaTrkVertCell() [1/3]

std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestEtaTrkVertCell ( )

Get closest eta vector.

Returns
const closest eta vector

◆ closestEtaTrkVertCell() [2/3]

const std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestEtaTrkVertCell ( ) const

Get closest eta vector.

Returns
closest eta vector

◆ closestEtaTrkVertCell() [3/3]

const CaloCell* Analysis::TauCommonExtraDetails::closestEtaTrkVertCell ( int  itrk,
int  num 
) const

Get CaloCell in closest eta vector.

Returns
CaloCell in closest eta vector

◆ closestPhiTrkCell() [1/3]

std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestPhiTrkCell ( )

Get closest phi vector.

Returns
closest phi vector

◆ closestPhiTrkCell() [2/3]

const std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestPhiTrkCell ( ) const

Get closest phi vector.

Returns
constant closest phi vector

◆ closestPhiTrkCell() [3/3]

const CaloCell* Analysis::TauCommonExtraDetails::closestPhiTrkCell ( int  itrk,
int  num 
) const

Get CaloCell in closest phi vector.

Returns
CaloCell in closest phi vector

◆ closestPhiTrkVertCell() [1/3]

std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestPhiTrkVertCell ( )

Get closest phi vector.

Returns
closest phi vector

◆ closestPhiTrkVertCell() [2/3]

const std::vector<std::vector<ElementLink<CaloCellContainer> > >& Analysis::TauCommonExtraDetails::closestPhiTrkVertCell ( ) const

Get closest phi vector.

Returns
const closest phi vector

◆ closestPhiTrkVertCell() [3/3]

const CaloCell* Analysis::TauCommonExtraDetails::closestPhiTrkVertCell ( int  itrk,
int  num 
) const

Get CaloCell in closest phi vector.

Returns
CaloCell in closest phi vector

◆ etaLooseTrkCaloSamp() [1/2]

std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::etaLooseTrkCaloSamp ( )

Get eta vector.

Returns
eta

◆ etaLooseTrkCaloSamp() [2/2]

const std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::etaLooseTrkCaloSamp ( ) const

Get eta vector.

Returns
const eta vector

◆ etaTrkCaloSamp() [1/2]

std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::etaTrkCaloSamp ( )

Get eta vector.

Returns
eta

◆ etaTrkCaloSamp() [2/2]

const std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::etaTrkCaloSamp ( ) const

Get eta vector.

Returns
const eta vector

◆ hasParameter()

bool Analysis::TauDetails::hasParameter ( TauJetParameters ::Detail  detail) const
virtualinherited

check if parameter exists

Reimplemented in Analysis::TauRecDetails, and Analysis::Tau1P3PDetails.

Definition at line 53 of file TauDetails.cxx.

55  {
56  return false;
57  }

◆ intParameter()

int Analysis::TauDetails::intParameter ( TauJetParameters ::Detail  detail) const
virtualinherited

value of parameter (type int)

Definition at line 47 of file TauDetails.cxx.

49  {
50  return 0;
51  }

◆ operator!=()

Inequality operator.

Parameters
rhsTauCommonDetails instance to compare to
Returns
!operator==

◆ operator=()

TauCommonExtraDetails & Analysis::TauCommonExtraDetails::operator= ( const TauCommonExtraDetails rhs)

Assignment operator.

Parameters
rhsTauCommonExtraDetails instance to assign from
Returns
assigned object

Definition at line 75 of file TauCommonExtraDetails.cxx.

77  {
78  if( this != &rhs )
79  {
80  m_sumPtLooseTrk=rhs.m_sumPtLooseTrk;
81  m_sumPtTrk=rhs.m_sumPtTrk;
82  m_closestEtaTrkVertCell=rhs.m_closestEtaTrkVertCell;
83  m_closestPhiTrkVertCell=rhs.m_closestPhiTrkVertCell;
84  m_closestEtaTrkCell=rhs.m_closestEtaTrkCell;
85  m_closestPhiTrkCell=rhs.m_closestPhiTrkCell;
86  m_etaTrkCaloSamp=rhs.m_etaTrkCaloSamp;
87  m_phiTrkCaloSamp=rhs.m_phiTrkCaloSamp;
88  m_etaLooseTrkCaloSamp=rhs.m_etaLooseTrkCaloSamp;
89  m_phiLooseTrkCaloSamp=rhs.m_phiLooseTrkCaloSamp;
90  //Applicable for calo seeded tau reconstruction
91  m_seedCalo_nEMCell=rhs.m_seedCalo_nEMCell;
92  m_seedCalo_stripEt=rhs.m_seedCalo_stripEt;
93  m_seedCalo_EMCentFrac=rhs.m_seedCalo_EMCentFrac;
94  m_seedCalo_sumCellEnergy=rhs.m_seedCalo_sumCellEnergy;
95  m_seedCalo_sumEMCellEnergy=rhs.m_seedCalo_sumEMCellEnergy;
96  }
97  return *this;
98  }

◆ operator==()

bool Analysis::TauCommonExtraDetails::operator== ( const TauCommonExtraDetails rhs) const

Equality operator.

Parameters
rhsright hand side TauCommonDetails instance to compare
Returns
true if equal, false otherwise

Definition at line 100 of file TauCommonExtraDetails.cxx.

102  {
103  //Double comparisons
104  if (!TauCmp::cmp(m_sumPtLooseTrk,rhs.m_sumPtLooseTrk))
105  return false;
106  if (!TauCmp::cmp(m_sumPtTrk,rhs.m_sumPtTrk))
107  return false;
108  if (!TauCmp::cmp(m_seedCalo_stripEt,rhs.m_seedCalo_stripEt))
109  return false;
110  if (!TauCmp::cmp(m_seedCalo_EMCentFrac,rhs.m_seedCalo_EMCentFrac))
111  return false;
112  if (!TauCmp::cmp(m_seedCalo_sumCellEnergy,rhs.m_seedCalo_sumCellEnergy))
113  return false;
115  rhs.m_seedCalo_sumEMCellEnergy))
116  return false;
117  //Interger comparisons
118  if ( m_seedCalo_nEMCell != rhs.m_seedCalo_nEMCell) return false;
119  //Vector vector double comparisons
120  if (!TauCmp::vvcmp(m_etaTrkCaloSamp,rhs.m_etaTrkCaloSamp))
121  return false;
122  if (!TauCmp::vvcmp(m_phiTrkCaloSamp,rhs.m_phiTrkCaloSamp))
123  return false;
124  if (!TauCmp::vvcmp(m_etaLooseTrkCaloSamp,rhs.m_etaLooseTrkCaloSamp))
125  return false;
126  if (!TauCmp::vvcmp(m_phiLooseTrkCaloSamp,rhs.m_phiLooseTrkCaloSamp))
127  return false;
128  //Vector vector Element links
129  if (!TauCmp::vvcmp(m_closestEtaTrkVertCell,rhs.m_closestEtaTrkVertCell))
130  return false;
131  if (!TauCmp::vvcmp(m_closestPhiTrkVertCell,rhs.m_closestPhiTrkVertCell))
132  return false;
133  if (!TauCmp::vvcmp(m_closestEtaTrkCell,rhs.m_closestEtaTrkCell))
134  return false;
135  if (!TauCmp::vvcmp(m_closestPhiTrkCell,rhs.m_closestPhiTrkCell))
136  return false;
137  return true;
138  }

◆ parameter()

double Analysis::TauDetails::parameter ( TauJetParameters ::Detail  detail) const
virtualinherited

Reimplemented in Analysis::TauRecDetails, and Analysis::Tau1P3PDetails.

Definition at line 41 of file TauDetails.cxx.

43  {
44  return 0.;
45  }

◆ phiLooseTrkCaloSamp() [1/2]

std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::phiLooseTrkCaloSamp ( )

Get phi vector.

Returns
phi vector

◆ phiLooseTrkCaloSamp() [2/2]

const std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::phiLooseTrkCaloSamp ( ) const

Get phi vector.

Returns
const phi vector

◆ phiTrkCaloSamp() [1/2]

std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::phiTrkCaloSamp ( )

Get phi vector.

Returns
phi vector

◆ phiTrkCaloSamp() [2/2]

const std::vector<std::vector<double> >& Analysis::TauCommonExtraDetails::phiTrkCaloSamp ( ) const

Get phi vector.

Returns
const phi vector

◆ printOn()

template<class stream >
void Analysis::TauCommonExtraDetails::printOn ( stream &  o) const
protected

Printing function.

Parameters
ostring to print to

◆ seedCalo_EMCentFrac()

double Analysis::TauCommonExtraDetails::seedCalo_EMCentFrac ( ) const

Set EM Centrality Fraction.

Returns
Centrality fraction

◆ seedCalo_nEMCell()

int Analysis::TauCommonExtraDetails::seedCalo_nEMCell ( ) const

Get number of EM cells.

Returns
n number of cells

◆ seedCalo_stripEt()

double Analysis::TauCommonExtraDetails::seedCalo_stripEt ( ) const

Get sum of ET in strip layer.

Returns
et E_t

◆ seedCalo_sumCellEnergy()

double Analysis::TauCommonExtraDetails::seedCalo_sumCellEnergy ( ) const

Get energy sum.

Returns
Energy sum

◆ seedCalo_sumEMCellEnergy()

double Analysis::TauCommonExtraDetails::seedCalo_sumEMCellEnergy ( ) const

Get EM energy sum.

Returns
Energy sum

◆ setClosestEtaTrkCell() [1/2]

void Analysis::TauCommonExtraDetails::setClosestEtaTrkCell ( const CaloCell val,
const CaloCellContainer cont,
int  itrk,
int  num 
)

◆ setClosestEtaTrkCell() [2/2]

void Analysis::TauCommonExtraDetails::setClosestEtaTrkCell ( const std::vector< std::vector< ElementLink< CaloCellContainer > > > &  closestEtaTrkCell)

Set closest eta vector.

Parameters
closestEtaTrkCellclosest eta vector

◆ setClosestEtaTrkVertCell() [1/2]

void Analysis::TauCommonExtraDetails::setClosestEtaTrkVertCell ( const CaloCell val,
const CaloCellContainer cont,
int  itrk,
int  num 
)

◆ setClosestEtaTrkVertCell() [2/2]

void Analysis::TauCommonExtraDetails::setClosestEtaTrkVertCell ( const std::vector< std::vector< ElementLink< CaloCellContainer > > > &  closestEtaTrkVertCell)

Set closest eta vector.

Parameters
closestEtaTrkVertCellclosest eta vector

◆ setClosestPhiTrkCell() [1/2]

void Analysis::TauCommonExtraDetails::setClosestPhiTrkCell ( const CaloCell val,
const CaloCellContainer cont,
int  itrk,
int  num 
)

◆ setClosestPhiTrkCell() [2/2]

void Analysis::TauCommonExtraDetails::setClosestPhiTrkCell ( const std::vector< std::vector< ElementLink< CaloCellContainer > > > &  closestPhiTrkCell)

Set closest phi vector.

Parameters
closestPhiTrkCellclosest phi vector

◆ setClosestPhiTrkVertCell() [1/2]

void Analysis::TauCommonExtraDetails::setClosestPhiTrkVertCell ( const CaloCell val,
const CaloCellContainer cont,
int  itrk,
int  num 
)

◆ setClosestPhiTrkVertCell() [2/2]

void Analysis::TauCommonExtraDetails::setClosestPhiTrkVertCell ( const std::vector< std::vector< ElementLink< CaloCellContainer > > > &  closestPhiTrkVertCell)

Set closest phi vector.

Parameters
closestPhiTrkVertCellclosest phi vector

◆ setEtaLooseTrkCaloSamp()

void Analysis::TauCommonExtraDetails::setEtaLooseTrkCaloSamp ( const std::vector< std::vector< double > > &  etaLooseTrkCaloSamp)

Set eta vector.

Parameters
etaTrkCelleta vector

◆ setEtaTrkCaloSamp()

void Analysis::TauCommonExtraDetails::setEtaTrkCaloSamp ( const std::vector< std::vector< double > > &  etaTrkCaloSamp)

Set eta vector.

Parameters
etaTrkCelleta vector

◆ setIntParameter()

void Analysis::TauDetails::setIntParameter ( TauJetParameters ::Detail  detail,
int  param 
)
virtualinherited

set parameter of type int

Definition at line 64 of file TauDetails.cxx.

66  {
67  }

◆ setParameter()

void Analysis::TauDetails::setParameter ( TauJetParameters ::Detail  detail,
double  param 
)
virtualinherited

set parameter of type double

Definition at line 59 of file TauDetails.cxx.

61  {
62  }

◆ setPhiLooseTrkCaloSamp()

void Analysis::TauCommonExtraDetails::setPhiLooseTrkCaloSamp ( const std::vector< std::vector< double > > &  phiLooseTrkCaloSamp)

Set phi vector.

Parameters
phiTrkCellphi vector

◆ setPhiTrkCaloSamp()

void Analysis::TauCommonExtraDetails::setPhiTrkCaloSamp ( const std::vector< std::vector< double > > &  phiTrkCaloSamp)

Set phi vector.

Parameters
phiTrkCellphi vector

◆ setSeedCalo_EMCentFrac()

void Analysis::TauCommonExtraDetails::setSeedCalo_EMCentFrac ( double  fraction)

Get EM Centrality Fraction.

Parameters
fractionCentrality fraction

◆ setSeedCalo_nEMCell()

void Analysis::TauCommonExtraDetails::setSeedCalo_nEMCell ( int  n)

Setumber of EM cells.

Parameters
nnumber of cells

◆ setSeedCalo_stripEt()

void Analysis::TauCommonExtraDetails::setSeedCalo_stripEt ( double  et)

Set sum of ET in strip layer.

Parameters
etE_t

◆ setSeedCalo_sumCellEnergy()

void Analysis::TauCommonExtraDetails::setSeedCalo_sumCellEnergy ( double  energy)

Set energy sum.

Parameters
energyEnergy sum

◆ setSeedCalo_sumEMCellEnergy()

void Analysis::TauCommonExtraDetails::setSeedCalo_sumEMCellEnergy ( double  energy)

Set EM energy sum.

Parameters
energyEnergy sum

◆ setSumPtLooseTrk()

void Analysis::TauCommonExtraDetails::setSumPtLooseTrk ( double  pt)

Set sum of p_T for loose tracks.

Parameters
ptp_T

◆ setSumPtTrk()

void Analysis::TauCommonExtraDetails::setSumPtTrk ( double  pt)

Set sum of p_T for loose tracks.

Parameters
ptp_T

◆ sumPtLooseTrk()

double Analysis::TauCommonExtraDetails::sumPtLooseTrk ( ) const

Get sum of p_T for loose tracks.

Returns
p_T

◆ sumPtTrk()

double Analysis::TauCommonExtraDetails::sumPtTrk ( ) const

Get sum of p_T for loose tracks.

Returns
p_T

◆ toString()

std::string Analysis::TauDetails::toString ( ) const
inherited

Uses printOn to make a string of the TauDetails.

Returns
string representation of tau details

Definition at line 34 of file TauDetails.cxx.

35  {
36  std::stringstream s;
37  printOn(s);
38  return s.str();
39  }

Friends And Related Function Documentation

◆ TauCommonExtraDetailsCnv_p1

friend class TauCommonExtraDetailsCnv_p1
friend

Definition at line 32 of file TauCommonExtraDetails.h.

◆ TauJet

friend class TauJet
friend

Definition of the current "tau version".

Definition at line 33 of file TauCommonExtraDetails.h.

Member Data Documentation

◆ DEFAULT

const float Analysis::TauDetails::DEFAULT = -1111.
staticinherited

Definition at line 34 of file TauDetails.h.

◆ DEFAULT_INT

const int Analysis::TauDetails::DEFAULT_INT = INT_MIN
staticinherited

Definition at line 35 of file TauDetails.h.

◆ m_closestEtaTrkCell

std::vector<std::vector<ElementLink<CaloCellContainer> > > Analysis::TauCommonExtraDetails::m_closestEtaTrkCell
private

Closest cell to track position from extrapolation in eta.

Indices are [track][sample]

Definition at line 444 of file TauCommonExtraDetails.h.

◆ m_closestEtaTrkVertCell

std::vector<std::vector<ElementLink<CaloCellContainer> > > Analysis::TauCommonExtraDetails::m_closestEtaTrkVertCell
private

Closest cell to track position at vertex in eta.

Indices are [track][sample]

Definition at line 432 of file TauCommonExtraDetails.h.

◆ m_closestPhiTrkCell

std::vector<std::vector<ElementLink<CaloCellContainer> > > Analysis::TauCommonExtraDetails::m_closestPhiTrkCell
private

Closest cell to track position from extrapolation in phi.

Indices are [track][sample]

Definition at line 450 of file TauCommonExtraDetails.h.

◆ m_closestPhiTrkVertCell

std::vector<std::vector<ElementLink<CaloCellContainer> > > Analysis::TauCommonExtraDetails::m_closestPhiTrkVertCell
private

Closest cell to track position at vertex in phi.

Indices are [track][sample]

Definition at line 438 of file TauCommonExtraDetails.h.

◆ m_etaLooseTrkCaloSamp

std::vector<std::vector<double> > Analysis::TauCommonExtraDetails::m_etaLooseTrkCaloSamp
private

Eta of extrapolation point in EM Calo.

Indices are [track][sample]

Definition at line 466 of file TauCommonExtraDetails.h.

◆ m_etaTrkCaloSamp

std::vector<std::vector<double> > Analysis::TauCommonExtraDetails::m_etaTrkCaloSamp
private

Eta of extrapolation point in EM Calo.

Indices are [track][sample]

Definition at line 455 of file TauCommonExtraDetails.h.

◆ m_phiLooseTrkCaloSamp

std::vector<std::vector<double> > Analysis::TauCommonExtraDetails::m_phiLooseTrkCaloSamp
private

Phi of extrapolation point in EM Calo.

Indices are [track][sample]

Definition at line 471 of file TauCommonExtraDetails.h.

◆ m_phiTrkCaloSamp

std::vector<std::vector<double> > Analysis::TauCommonExtraDetails::m_phiTrkCaloSamp
private

Phi of extrapolation point in EM Calo.

Indices are [track][sample]

Definition at line 460 of file TauCommonExtraDetails.h.

◆ m_seedCalo_EMCentFrac

double Analysis::TauCommonExtraDetails::m_seedCalo_EMCentFrac
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.

◆ m_seedCalo_nEMCell

int Analysis::TauCommonExtraDetails::m_seedCalo_nEMCell
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.

◆ m_seedCalo_stripEt

double Analysis::TauCommonExtraDetails::m_seedCalo_stripEt
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.

◆ m_seedCalo_sumCellEnergy

double Analysis::TauCommonExtraDetails::m_seedCalo_sumCellEnergy
private

Energy sum of all cells within dR < 0.4.

Applicable for calo seeded tau rec

Definition at line 496 of file TauCommonExtraDetails.h.

◆ m_seedCalo_sumEMCellEnergy

double Analysis::TauCommonExtraDetails::m_seedCalo_sumEMCellEnergy
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.

◆ m_sumPtLooseTrk

double Analysis::TauCommonExtraDetails::m_sumPtLooseTrk
private

Sum of p_T for loose tracks.

Definition at line 423 of file TauCommonExtraDetails.h.

◆ m_sumPtTrk

double Analysis::TauCommonExtraDetails::m_sumPtTrk
private

Sum of p_T for tracks.

Definition at line 426 of file TauCommonExtraDetails.h.

◆ s_className

const std::string Analysis::TauCommonExtraDetails::s_className
staticprivate
Initial value:

Name of class.

Definition at line 416 of file TauCommonExtraDetails.h.


The documentation for this class was generated from the following files:
Analysis::TauCommonExtraDetails::m_closestPhiTrkCell
std::vector< std::vector< ElementLink< CaloCellContainer > > > m_closestPhiTrkCell
Closest cell to track position from extrapolation in phi.
Definition: TauCommonExtraDetails.h:450
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
Analysis::TauCommonExtraDetails::m_closestPhiTrkVertCell
std::vector< std::vector< ElementLink< CaloCellContainer > > > m_closestPhiTrkVertCell
Closest cell to track position at vertex in phi.
Definition: TauCommonExtraDetails.h:438
Analysis::TauDetails::DEFAULT
static const float DEFAULT
Definition: TauDetails.h:34
Analysis::TauDetails::TauDetails
TauDetails()
Default constructor.
Definition: TauDetails.cxx:26
Analysis::TauCmp::vvcmp
bool vvcmp(const std::vector< std::vector< T > > &a, const std::vector< std::vector< T > > &b)
Compare vectors using vcmp predicate.
Definition: TauCmp.h:46
Analysis::TauCmp::cmp
bool cmp(const double &a, const double &b)
Definition: TauCmp.cxx:34
Analysis::TauCommonExtraDetails::m_phiTrkCaloSamp
std::vector< std::vector< double > > m_phiTrkCaloSamp
Phi of extrapolation point in EM Calo.
Definition: TauCommonExtraDetails.h:460
Analysis::TauCommonExtraDetails::m_seedCalo_stripEt
double m_seedCalo_stripEt
Uncalibrated sum of ET in the strip layer within dR < 0.4.
Definition: TauCommonExtraDetails.h:486
Analysis::TauCommonExtraDetails::m_etaTrkCaloSamp
std::vector< std::vector< double > > m_etaTrkCaloSamp
Eta of extrapolation point in EM Calo.
Definition: TauCommonExtraDetails.h:455
Analysis::TauCommonExtraDetails::m_closestEtaTrkCell
std::vector< std::vector< ElementLink< CaloCellContainer > > > m_closestEtaTrkCell
Closest cell to track position from extrapolation in eta.
Definition: TauCommonExtraDetails.h:444
ClassName::name
static std::string name()
Return the name of class T as a string.
Analysis::TauCommonExtraDetails::allocTracksAndSamplings
void allocTracksAndSamplings(unsigned int tracks, unsigned int samplings)
Allocate data structures for given number of tracks and samplings.
Definition: TauCommonExtraDetails.cxx:140
Analysis::TauCommonExtraDetails::m_closestEtaTrkVertCell
std::vector< std::vector< ElementLink< CaloCellContainer > > > m_closestEtaTrkVertCell
Closest cell to track position at vertex in eta.
Definition: TauCommonExtraDetails.h:432
Analysis::TauCommonExtraDetails::m_seedCalo_nEMCell
int m_seedCalo_nEMCell
Number of EM cells within dR < 0.4, with E > m_cellEthr.
Definition: TauCommonExtraDetails.h:481
Analysis::TauCommonExtraDetails::m_phiLooseTrkCaloSamp
std::vector< std::vector< double > > m_phiLooseTrkCaloSamp
Phi of extrapolation point in EM Calo.
Definition: TauCommonExtraDetails.h:471
Analysis::TauCommonExtraDetails::m_sumPtLooseTrk
double m_sumPtLooseTrk
Sum of p_T for loose tracks.
Definition: TauCommonExtraDetails.h:423
Analysis::TauCommonExtraDetails::m_etaLooseTrkCaloSamp
std::vector< std::vector< double > > m_etaLooseTrkCaloSamp
Eta of extrapolation point in EM Calo.
Definition: TauCommonExtraDetails.h:466
Analysis::TauCommonExtraDetails::m_seedCalo_sumEMCellEnergy
double m_seedCalo_sumEMCellEnergy
Energy sum of all em cells within dR < 0.4 (Presampler + EM1 + EM2)
Definition: TauCommonExtraDetails.h:502
Analysis::TauCommonExtraDetails::m_seedCalo_EMCentFrac
double m_seedCalo_EMCentFrac
EM Centrality Fraction (ET(dr<0.1)/ET(dr<0.4) for EM calos only.
Definition: TauCommonExtraDetails.h:491
Analysis::TauCommonExtraDetails::s_className
static const std::string s_className
Name of class.
Definition: TauCommonExtraDetails.h:416
Analysis::TauDetails::printOn
void printOn(stream &o) const
Printing function.
Definition: TauDetails.h:96
Analysis::TauCommonExtraDetails::m_seedCalo_sumCellEnergy
double m_seedCalo_sumCellEnergy
Energy sum of all cells within dR < 0.4.
Definition: TauCommonExtraDetails.h:496
Analysis::TauCommonExtraDetails::m_sumPtTrk
double m_sumPtTrk
Sum of p_T for tracks.
Definition: TauCommonExtraDetails.h:426