ATLAS Offline Software
Public Member Functions | List of all members
Analysis::TauPi0Cluster Class Reference

#include <TauPi0Cluster.h>

Collaboration diagram for Analysis::TauPi0Cluster:

Public Member Functions

 TauPi0Cluster ()
 default constructor More...
 
 TauPi0Cluster (const TauPi0Cluster &rhs)
 copy constructor More...
 
virtual ~TauPi0Cluster ()
 destructor (virtual) More...
 
TauPi0Clusteroperator= (const TauPi0Cluster &rhs)
 assignment operator More...
 
bool operator== (const TauPi0Cluster &rhs) const
 Equality operator. More...
 
bool operator!= (const TauPi0Cluster &rhs) const
 Inequality operator. More...
 
void dump ()
 
Accessors for deltaPhi
float deltaPhi () const
 Get deltaPhi. More...
 
void setDeltaPhi (float deltaPhi)
 Set deltaPhi. More...
 
Accessors for deltaTheta
float deltaTheta () const
 Get deltaTheta. More...
 
void setDeltaTheta (float deltaTheta)
 Set deltaTheta. More...
 
Accessors for engFracEM
float engFracEM () const
 Get engFracEM. More...
 
void setEngFracEM (float engFracEM)
 Set engFracEM. More...
 
Accessors for engFracMAX
float engFracMAX () const
 Get engFracMAX. More...
 
void setEngFracMAX (float engFracMAX)
 Set engFracMAX. More...
 
Accessors for engFracCore
float engFracCore () const
 Get engFracCore. More...
 
void setEngFracCore (float engFracCore)
 Set engFracCore. More...
 
Accessors for secondEngDens
float secondEngDens () const
 Get secondEngDens. More...
 
void setSecondEngDens (float secondEngDens)
 Set secondEngDens. More...
 
Accessors for LATERAL
float LATERAL () const
 Get LATERAL. More...
 
void setLATERAL (float LATERAL)
 Set LATERAL. More...
 
Accessors for LONGITUDINAL
float LONGITUDINAL () const
 Get LONGITUDINAL. More...
 
void setLONGITUDINAL (float LONGITUDINAL)
 Set LONGITUDINAL. More...
 
Accessors for EM1CoreFrac
float EM1CoreFrac () const
 Get EM1CoreFrac. More...
 
void setEM1CoreFrac (float EM1CoreFrac)
 Set EM1CoreFrac. More...
 
Accessors for asymmetryInEM1WRTTrk
float asymmetryInEM1WRTTrk () const
 Get asymmetryInEM1WRTTrk. More...
 
void setAsymmetryInEM1WRTTrk (float asymmetryInEM1WRTTrk)
 Set asymmetryInEM1WRTTrk. More...
 
Accessors for NHitsInEM1
int NHitsInEM1 () const
 Get NHitsInEM1. More...
 
void setNHitsInEM1 (int NHitsInEM1)
 Set NHitsInEM1. More...
 
Accessors for NPosECells_PS
int NPosECells_PS () const
 Get NPosECells_PS. More...
 
void setNPosECells_PS (int NPosECells_PS)
 Set NPosECells_PS. More...
 
Accessors for NPosECells_EM1
int NPosECells_EM1 () const
 Get NPosECells_EM1. More...
 
void setNPosECells_EM1 (int NPosECells_EM1)
 Set NPosECells_EM1. More...
 
Accessors for NPosECells_EM2
int NPosECells_EM2 () const
 Get NPosECells_EM2. More...
 
void setNPosECells_EM2 (int NPosECells_EM2)
 Set NPosECells_EM2. More...
 
Accessors for firstEtaWRTClusterPosition_EM1
float firstEtaWRTClusterPosition_EM1 () const
 Get firstEtaWRTClusterPosition_EM1. More...
 
void setFirstEtaWRTClusterPosition_EM1 (float firstEtaWRTClusterPosition_EM1)
 Set firstEtaWRTClusterPosition_EM1. More...
 
Accessors for firstEtaWRTClusterPosition_EM2
float firstEtaWRTClusterPosition_EM2 () const
 Get firstEtaWRTClusterPosition_EM2. More...
 
void setFirstEtaWRTClusterPosition_EM2 (float firstEtaWRTClusterPosition_EM2)
 Set firstEtaWRTClusterPosition_EM2. More...
 
Accessors for secondEtaWRTClusterPosition_EM1
float secondEtaWRTClusterPosition_EM1 () const
 Get secondEtaWRTClusterPosition_EM1. More...
 
void setSecondEtaWRTClusterPosition_EM1 (float secondEtaWRTClusterPosition_EM1)
 Set secondEtaWRTClusterPosition_EM1. More...
 
Accessors for secondEtaWRTClusterPosition_EM2
float secondEtaWRTClusterPosition_EM2 () const
 Get secondEtaWRTClusterPosition_EM2. More...
 
void setSecondEtaWRTClusterPosition_EM2 (float secondEtaWRTClusterPosition_EM2)
 Set secondEtaWRTClusterPosition_EM2. More...
 
Accessors for BDTScore
float BDTScore () const
 Get BDTScore. More...
 
void setBDTScore (float BDTScore)
 Set BDTScore. More...
 
void setExternalVars (float DELTA_PHI, float DELTA_THETA, float ENG_FRAC_EM, float ENG_FRAC_MAX, float ENG_FRAC_CORE, float SECOND_ENG_DENS, float LATERAL, float LONGITUDINAL, float EM1CoreFrac, float asymmetryInEM1WRTTrk, int NHitsInEM1, int NPosECells_PS, int NPosECells_EM1, int NPosECells_EM2, float firstEtaWRTClusterPosition_EM1, float firstEtaWRTClusterPosition_EM2, float secondEtaWRTClusterPosition_EM1, float secondEtaWRTClusterPosition_EM2, float BDTScore)
 setter More...
 

Accessors for cluster (copied from TauCommonDetails)

cluster

ElementLink< CaloClusterContainerm_cluster
 cluster More...
 
std::vector< TauShot * > m_tauShotVector
 
float m_DELTA_PHI
 cluster external properties More...
 
float m_DELTA_THETA
 
float m_ENG_FRAC_EM
 
float m_ENG_FRAC_MAX
 
float m_ENG_FRAC_CORE
 
float m_SECOND_ENG_DENS
 
float m_LATERAL
 
float m_LONGITUDINAL
 
float m_EM1CoreFrac
 
float m_asymmetryInEM1WRTTrk
 
int m_NHitsInEM1
 
int m_NPosECells_PS
 
int m_NPosECells_EM1
 
int m_NPosECells_EM2
 
float m_firstEtaWRTClusterPosition_EM1
 
float m_firstEtaWRTClusterPosition_EM2
 
float m_secondEtaWRTClusterPosition_EM1
 
float m_secondEtaWRTClusterPosition_EM2
 
float m_BDTScore
 
const ElementLink< CaloClusterContainer > & clusterLink () const
 Get (const) cluster link. More...
 
ElementLink< CaloClusterContainer > & clusterLink ()
 Get cluster link. More...
 
const CaloClustercluster () const
 Get cluster Consider using direct access through clusterLink() instead. More...
 
void setCluster (const CaloCluster *cluster, const CaloClusterContainer *cont)
 Set cluster to pi0 cluster vector Consider using direct access through clusterLink() instead. More...
 
const std::vector< TauShot * > & tauShotVec () const
 Get shot vector (const) More...
 
std::vector< TauShot * > & tauShotVec ()
 Get shot vector. More...
 
void addTauShot (TauShot *tauShot)
 Add shot to shot vector. More...
 
void setPi0Cluster (const CaloCluster *cluster, const CaloClusterContainer *cont, std::vector< TauShot * > tauShotVec, float DELTA_PHI, float DELTA_THETA, float ENG_FRAC_EM, float ENG_FRAC_MAX, float ENG_FRAC_CORE, float SECOND_ENG_DENS, float LATERAL, float LONGITUDINAL, float EM1CoreFrac, float asymmetryInEM1WRTTrk, int NHitsInEM1, int NPosECells_PS, int NPosECells_EM1, int NPosECells_EM2, float firstEtaWRTClusterPosition_EM1, float firstEtaWRTClusterPosition_EM2, float secondEtaWRTClusterPosition_EM1, float secondEtaWRTClusterPosition_EM2, float BDTScore)
 

Detailed Description

Definition at line 28 of file TauPi0Cluster.h.

Constructor & Destructor Documentation

◆ TauPi0Cluster() [1/2]

Analysis::TauPi0Cluster::TauPi0Cluster ( )

◆ TauPi0Cluster() [2/2]

Analysis::TauPi0Cluster::TauPi0Cluster ( const TauPi0Cluster rhs)

copy constructor

Parameters
rhsTauPi0Cluster instance to assign from

Definition at line 36 of file TauPi0Cluster.cxx.

36  :
37  m_cluster(rhs.m_cluster),
38  m_tauShotVector(rhs.m_tauShotVector),
39  m_DELTA_PHI(rhs.m_DELTA_PHI),
40  m_DELTA_THETA(rhs.m_DELTA_THETA),
41  m_ENG_FRAC_EM(rhs.m_ENG_FRAC_EM),
42  m_ENG_FRAC_MAX(rhs.m_ENG_FRAC_MAX),
43  m_ENG_FRAC_CORE(rhs.m_ENG_FRAC_CORE),
44  m_SECOND_ENG_DENS(rhs.m_SECOND_ENG_DENS),
45  m_LATERAL(rhs.m_LATERAL),
46  m_LONGITUDINAL(rhs.m_LONGITUDINAL),
47  m_EM1CoreFrac(rhs.m_EM1CoreFrac),
48  m_asymmetryInEM1WRTTrk(rhs.m_asymmetryInEM1WRTTrk),
49  m_NHitsInEM1(rhs.m_NHitsInEM1),
50  m_NPosECells_PS(rhs.m_NPosECells_PS),
51  m_NPosECells_EM1(rhs.m_NPosECells_EM1),
52  m_NPosECells_EM2(rhs.m_NPosECells_EM2),
53  m_firstEtaWRTClusterPosition_EM1(rhs.m_firstEtaWRTClusterPosition_EM1),
54  m_firstEtaWRTClusterPosition_EM2(rhs.m_firstEtaWRTClusterPosition_EM2),
55  m_secondEtaWRTClusterPosition_EM1(rhs.m_secondEtaWRTClusterPosition_EM1),
56  m_secondEtaWRTClusterPosition_EM2(rhs.m_secondEtaWRTClusterPosition_EM2),
57  m_BDTScore(rhs.m_BDTScore)
58  {
59  }

◆ ~TauPi0Cluster()

Analysis::TauPi0Cluster::~TauPi0Cluster ( )
virtual

destructor (virtual)

Definition at line 147 of file TauPi0Cluster.cxx.

148  {
149  }

Member Function Documentation

◆ addTauShot()

void Analysis::TauPi0Cluster::addTauShot ( TauShot tauShot)

Add shot to shot vector.

◆ asymmetryInEM1WRTTrk()

float Analysis::TauPi0Cluster::asymmetryInEM1WRTTrk ( ) const

Get asymmetryInEM1WRTTrk.

Returns
cluster asymmetryInEM1WRTTrk

◆ BDTScore()

float Analysis::TauPi0Cluster::BDTScore ( ) const

Get BDTScore.

Returns
cluster BDTScore

◆ cluster()

const CaloCluster* Analysis::TauPi0Cluster::cluster ( ) const

Get cluster Consider using direct access through clusterLink() instead.

Parameters
iindex
Returns
cluster

◆ clusterLink() [1/2]

ElementLink<CaloClusterContainer>& Analysis::TauPi0Cluster::clusterLink ( )

Get cluster link.

Returns
pi0 clusters vector

◆ clusterLink() [2/2]

const ElementLink<CaloClusterContainer>& Analysis::TauPi0Cluster::clusterLink ( ) const

Get (const) cluster link.

Returns
(const) cluster

◆ deltaPhi()

float Analysis::TauPi0Cluster::deltaPhi ( ) const

Get deltaPhi.

Returns
cluster deltaPhi

◆ deltaTheta()

float Analysis::TauPi0Cluster::deltaTheta ( ) const

Get deltaTheta.

Returns
cluster deltaTheta

◆ dump()

void Analysis::TauPi0Cluster::dump ( )

Definition at line 152 of file TauPi0Cluster.cxx.

153  {
154  int oldpr = std::cout.precision(5); // store and change precision
155  std::cout << "in TauPi0Cluster::dump()" << std::endl;
156  std::cout << "-------------------------" << std::endl;
157  std::cout << "m_DELTA_PHI = " << m_DELTA_PHI << std::endl;
158  std::cout << "m_DELTA_THETA = " << m_DELTA_THETA << std::endl;
159  std::cout << "m_ENG_FRAC_EM = " << m_ENG_FRAC_EM << std::endl;
160  std::cout << "m_ENG_FRAC_MAX = " << m_ENG_FRAC_MAX << std::endl;
161  std::cout << "m_ENG_FRAC_CORE = " << m_ENG_FRAC_CORE << std::endl;
162  std::cout << "m_SECOND_ENG_DENS = " << m_SECOND_ENG_DENS << std::endl;
163  if (m_SECOND_ENG_DENS>0)
164  std::cout << "log(m_SECOND_ENG_DENS) = " << log(m_SECOND_ENG_DENS) << std::endl;
165  std::cout << "m_LATERAL = " << m_LATERAL << std::endl;
166  std::cout << "m_LONGITUDINAL = " << m_LONGITUDINAL << std::endl;
167  std::cout << "m_EM1CoreFrac = " << m_EM1CoreFrac << std::endl;
168  std::cout << "m_asymmetryInEM1WRTTrk = " << m_asymmetryInEM1WRTTrk << std::endl;
169  std::cout << "m_NHitsInEM1 = " << m_NHitsInEM1 << std::endl;
170  std::cout << "m_NPosECells_PS = " << m_NPosECells_PS << std::endl;
171  std::cout << "m_NPosECells_EM1 = " << m_NPosECells_EM1 << std::endl;
172  std::cout << "m_NPosECells_EM2 = " << m_NPosECells_EM2 << std::endl;
173  std::cout << "m_firstEtaWRTClusterPosition_EM1 = " << m_firstEtaWRTClusterPosition_EM1 << std::endl;
174  std::cout << "m_firstEtaWRTClusterPosition_EM2 = " << m_firstEtaWRTClusterPosition_EM2 << std::endl;
175  std::cout << "m_secondEtaWRTClusterPosition_EM1 = " << m_secondEtaWRTClusterPosition_EM1 << std::endl;
176  std::cout << "m_secondEtaWRTClusterPosition_EM2 = " << m_secondEtaWRTClusterPosition_EM2 << std::endl;
177  std::cout << "m_BDTScore = " << m_BDTScore << std::endl;
178  if (m_cluster.isValid()) {
179  std::cout << "this->cluster()->e() = " << this->cluster()->e() << std::endl;
180  std::cout << "this->cluster()->pt() = " << this->cluster()->pt() << std::endl;
181  std::cout << "this->cluster()->eta() = " << this->cluster()->eta() << std::endl;
182  std::cout << "this->cluster()->phi() = " << this->cluster()->phi() << std::endl;
183  }
184  std::cout << std::endl <<std::endl;
185  std::cout << "-------------------------" <<std::endl;
186  std::cout.precision(oldpr); //restore previous precision
187  }

◆ EM1CoreFrac()

float Analysis::TauPi0Cluster::EM1CoreFrac ( ) const

Get EM1CoreFrac.

Returns
cluster EM1CoreFrac

◆ engFracCore()

float Analysis::TauPi0Cluster::engFracCore ( ) const

Get engFracCore.

Returns
cluster engFracCore

◆ engFracEM()

float Analysis::TauPi0Cluster::engFracEM ( ) const

Get engFracEM.

Returns
cluster engFracEM

◆ engFracMAX()

float Analysis::TauPi0Cluster::engFracMAX ( ) const

Get engFracMAX.

Returns
cluster engFracMAX

◆ firstEtaWRTClusterPosition_EM1()

float Analysis::TauPi0Cluster::firstEtaWRTClusterPosition_EM1 ( ) const

Get firstEtaWRTClusterPosition_EM1.

Returns
cluster firstEtaWRTClusterPosition_EM1

◆ firstEtaWRTClusterPosition_EM2()

float Analysis::TauPi0Cluster::firstEtaWRTClusterPosition_EM2 ( ) const

Get firstEtaWRTClusterPosition_EM2.

Returns
cluster firstEtaWRTClusterPosition_EM2

◆ LATERAL()

float Analysis::TauPi0Cluster::LATERAL ( ) const

Get LATERAL.

Returns
cluster LATERAL

◆ LONGITUDINAL()

float Analysis::TauPi0Cluster::LONGITUDINAL ( ) const

Get LONGITUDINAL.

Returns
cluster LONGITUDINAL

◆ NHitsInEM1()

int Analysis::TauPi0Cluster::NHitsInEM1 ( ) const

Get NHitsInEM1.

Returns
cluster NHitsInEM1

◆ NPosECells_EM1()

int Analysis::TauPi0Cluster::NPosECells_EM1 ( ) const

Get NPosECells_EM1.

Returns
cluster NPosECells_EM1

◆ NPosECells_EM2()

int Analysis::TauPi0Cluster::NPosECells_EM2 ( ) const

Get NPosECells_EM2.

Returns
cluster NPosECells_EM2

◆ NPosECells_PS()

int Analysis::TauPi0Cluster::NPosECells_PS ( ) const

Get NPosECells_PS.

Returns
cluster NPosECells_PS

◆ operator!=()

Inequality operator.

Parameters
rhsTauPi0Cluster instance to compare to
Returns
!operator==

Definition at line 118 of file TauPi0Cluster.cxx.

118  {
119  if(m_cluster != rhs.m_cluster) return true;
120  if(m_tauShotVector.size() != rhs.m_tauShotVector.size()) return true;
121  for(unsigned iShot=0; iShot!=m_tauShotVector.size();++iShot){
122  if(!(*(m_tauShotVector.at(iShot))==*(rhs.m_tauShotVector.at(iShot)))) return true;
123  }
124  if(m_DELTA_PHI != rhs.m_DELTA_PHI) return true;
125  if(m_DELTA_THETA != rhs.m_DELTA_THETA) return true;
126  if(m_ENG_FRAC_EM != rhs.m_ENG_FRAC_EM) return true;
127  if(m_ENG_FRAC_MAX != rhs.m_ENG_FRAC_MAX) return true;
128  if(m_ENG_FRAC_CORE != rhs.m_ENG_FRAC_CORE) return true;
129  if(m_SECOND_ENG_DENS != rhs.m_SECOND_ENG_DENS) return true;
130  if(m_LATERAL != rhs.m_LATERAL) return true;
131  if(m_LONGITUDINAL != rhs.m_LONGITUDINAL) return true;
132  if(m_EM1CoreFrac != rhs.m_EM1CoreFrac) return true;
133  if(m_asymmetryInEM1WRTTrk != rhs.m_asymmetryInEM1WRTTrk) return true;
134  if(m_NHitsInEM1 != rhs.m_NHitsInEM1) return true;
135  if(m_NPosECells_PS != rhs.m_NPosECells_PS) return true;
136  if(m_NPosECells_EM1 != rhs.m_NPosECells_EM1) return true;
137  if(m_NPosECells_EM2 != rhs.m_NPosECells_EM2) return true;
138  if(m_firstEtaWRTClusterPosition_EM1 != rhs.m_firstEtaWRTClusterPosition_EM1) return true;
139  if(m_firstEtaWRTClusterPosition_EM2 != rhs.m_firstEtaWRTClusterPosition_EM2) return true;
140  if(m_secondEtaWRTClusterPosition_EM1 != rhs.m_secondEtaWRTClusterPosition_EM1) return true;
141  if(m_secondEtaWRTClusterPosition_EM2 != rhs.m_secondEtaWRTClusterPosition_EM2) return true;
142  if(m_BDTScore != rhs.m_BDTScore) return true;
143  return false;
144  }

◆ operator=()

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

assignment operator

Parameters
rhsTauPi0Cluster instance to assign from

Definition at line 62 of file TauPi0Cluster.cxx.

63  {
64  if (this!=&rhs) {
65  m_cluster = rhs.m_cluster;
66  m_tauShotVector = rhs.m_tauShotVector;
67  m_DELTA_PHI = rhs.m_DELTA_PHI;
68  m_DELTA_THETA = rhs.m_DELTA_THETA;
69  m_ENG_FRAC_EM = rhs.m_ENG_FRAC_EM;
70  m_ENG_FRAC_MAX = rhs.m_ENG_FRAC_MAX;
71  m_ENG_FRAC_CORE = rhs.m_ENG_FRAC_CORE;
72  m_SECOND_ENG_DENS = rhs.m_SECOND_ENG_DENS;
73  m_LATERAL = rhs.m_LATERAL;
74  m_LONGITUDINAL = rhs.m_LONGITUDINAL;
75  m_EM1CoreFrac = rhs.m_EM1CoreFrac;
76  m_asymmetryInEM1WRTTrk = rhs.m_asymmetryInEM1WRTTrk;
77  m_NHitsInEM1 = rhs.m_NHitsInEM1;
78  m_NPosECells_PS = rhs.m_NPosECells_PS;
79  m_NPosECells_EM1 = rhs.m_NPosECells_EM1;
80  m_NPosECells_EM2 = rhs.m_NPosECells_EM2;
81  m_firstEtaWRTClusterPosition_EM1 = rhs.m_firstEtaWRTClusterPosition_EM1;
82  m_firstEtaWRTClusterPosition_EM2 = rhs.m_firstEtaWRTClusterPosition_EM2;
83  m_secondEtaWRTClusterPosition_EM1 = rhs.m_secondEtaWRTClusterPosition_EM1;
84  m_secondEtaWRTClusterPosition_EM2 = rhs.m_secondEtaWRTClusterPosition_EM2;
85  m_BDTScore = rhs.m_BDTScore;
86  }
87  return *this;
88  }

◆ operator==()

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

Equality operator.

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

Definition at line 90 of file TauPi0Cluster.cxx.

90  {
91  if(m_cluster != rhs.m_cluster) return false;
92  if(m_tauShotVector.size() != rhs.m_tauShotVector.size()) return false;
93  for(unsigned iShot=0; iShot!=m_tauShotVector.size();++iShot){
94  if(!(*(m_tauShotVector.at(iShot))==*(rhs.m_tauShotVector.at(iShot)))) return false;
95  }
96  if(m_DELTA_PHI != rhs.m_DELTA_PHI) return false;
97  if(m_DELTA_THETA != rhs.m_DELTA_THETA) return false;
98  if(m_ENG_FRAC_EM != rhs.m_ENG_FRAC_EM) return false;
99  if(m_ENG_FRAC_MAX != rhs.m_ENG_FRAC_MAX) return false;
100  if(m_ENG_FRAC_CORE != rhs.m_ENG_FRAC_CORE) return false;
101  if(m_SECOND_ENG_DENS != rhs.m_SECOND_ENG_DENS) return false;
102  if(m_LATERAL != rhs.m_LATERAL) return false;
103  if(m_LONGITUDINAL != rhs.m_LONGITUDINAL) return false;
104  if(m_EM1CoreFrac != rhs.m_EM1CoreFrac) return false;
105  if(m_asymmetryInEM1WRTTrk != rhs.m_asymmetryInEM1WRTTrk) return false;
106  if(m_NHitsInEM1 != rhs.m_NHitsInEM1) return false;
107  if(m_NPosECells_PS != rhs.m_NPosECells_PS) return false;
108  if(m_NPosECells_EM1 != rhs.m_NPosECells_EM1) return false;
109  if(m_NPosECells_EM2 != rhs.m_NPosECells_EM2) return false;
110  if(m_firstEtaWRTClusterPosition_EM1 != rhs.m_firstEtaWRTClusterPosition_EM1) return false;
111  if(m_firstEtaWRTClusterPosition_EM2 != rhs.m_firstEtaWRTClusterPosition_EM2) return false;
112  if(m_secondEtaWRTClusterPosition_EM1 != rhs.m_secondEtaWRTClusterPosition_EM1) return false;
113  if(m_secondEtaWRTClusterPosition_EM2 != rhs.m_secondEtaWRTClusterPosition_EM2) return false;
114  if(m_BDTScore != rhs.m_BDTScore) return false;
115  return true;
116  }

◆ secondEngDens()

float Analysis::TauPi0Cluster::secondEngDens ( ) const

Get secondEngDens.

Returns
cluster secondEngDens

◆ secondEtaWRTClusterPosition_EM1()

float Analysis::TauPi0Cluster::secondEtaWRTClusterPosition_EM1 ( ) const

Get secondEtaWRTClusterPosition_EM1.

Returns
cluster secondEtaWRTClusterPosition_EM1

◆ secondEtaWRTClusterPosition_EM2()

float Analysis::TauPi0Cluster::secondEtaWRTClusterPosition_EM2 ( ) const

Get secondEtaWRTClusterPosition_EM2.

Returns
cluster secondEtaWRTClusterPosition_EM2

◆ setAsymmetryInEM1WRTTrk()

void Analysis::TauPi0Cluster::setAsymmetryInEM1WRTTrk ( float  asymmetryInEM1WRTTrk)

Set asymmetryInEM1WRTTrk.

Parameters
asymmetryInEM1WRTTrkcluster asymmetryInEM1WRTTrk

◆ setBDTScore()

void Analysis::TauPi0Cluster::setBDTScore ( float  BDTScore)

Set BDTScore.

Parameters
BDTScorecluster BDTScore

◆ setCluster()

void Analysis::TauPi0Cluster::setCluster ( const CaloCluster cluster,
const CaloClusterContainer cont 
)

Set cluster to pi0 cluster vector Consider using direct access through clusterLink() instead.

Parameters
cluster
contcluster container

◆ setDeltaPhi()

void Analysis::TauPi0Cluster::setDeltaPhi ( float  deltaPhi)

Set deltaPhi.

Parameters
deltaPhicluster deltaPhi

◆ setDeltaTheta()

void Analysis::TauPi0Cluster::setDeltaTheta ( float  deltaTheta)

Set deltaTheta.

Parameters
deltaThetacluster deltaTheta

◆ setEM1CoreFrac()

void Analysis::TauPi0Cluster::setEM1CoreFrac ( float  EM1CoreFrac)

Set EM1CoreFrac.

Parameters
EM1CoreFraccluster EM1CoreFrac

◆ setEngFracCore()

void Analysis::TauPi0Cluster::setEngFracCore ( float  engFracCore)

Set engFracCore.

Parameters
engFracCorecluster engFracCore

◆ setEngFracEM()

void Analysis::TauPi0Cluster::setEngFracEM ( float  engFracEM)

Set engFracEM.

Parameters
engFracEMcluster engFracEM

◆ setEngFracMAX()

void Analysis::TauPi0Cluster::setEngFracMAX ( float  engFracMAX)

Set engFracMAX.

Parameters
engFracMAXcluster engFracMAX

◆ setExternalVars()

void Analysis::TauPi0Cluster::setExternalVars ( float  DELTA_PHI,
float  DELTA_THETA,
float  ENG_FRAC_EM,
float  ENG_FRAC_MAX,
float  ENG_FRAC_CORE,
float  SECOND_ENG_DENS,
float  LATERAL,
float  LONGITUDINAL,
float  EM1CoreFrac,
float  asymmetryInEM1WRTTrk,
int  NHitsInEM1,
int  NPosECells_PS,
int  NPosECells_EM1,
int  NPosECells_EM2,
float  firstEtaWRTClusterPosition_EM1,
float  firstEtaWRTClusterPosition_EM2,
float  secondEtaWRTClusterPosition_EM1,
float  secondEtaWRTClusterPosition_EM2,
float  BDTScore 
)

setter

◆ setFirstEtaWRTClusterPosition_EM1()

void Analysis::TauPi0Cluster::setFirstEtaWRTClusterPosition_EM1 ( float  firstEtaWRTClusterPosition_EM1)

Set firstEtaWRTClusterPosition_EM1.

Parameters
firstEtaWRTClusterPosition_EM1cluster firstEtaWRTClusterPosition_EM1

◆ setFirstEtaWRTClusterPosition_EM2()

void Analysis::TauPi0Cluster::setFirstEtaWRTClusterPosition_EM2 ( float  firstEtaWRTClusterPosition_EM2)

Set firstEtaWRTClusterPosition_EM2.

Parameters
firstEtaWRTClusterPosition_EM2cluster firstEtaWRTClusterPosition_EM2

◆ setLATERAL()

void Analysis::TauPi0Cluster::setLATERAL ( float  LATERAL)

Set LATERAL.

Parameters
LATERALcluster LATERAL

◆ setLONGITUDINAL()

void Analysis::TauPi0Cluster::setLONGITUDINAL ( float  LONGITUDINAL)

Set LONGITUDINAL.

Parameters
LONGITUDINALcluster LONGITUDINAL

◆ setNHitsInEM1()

void Analysis::TauPi0Cluster::setNHitsInEM1 ( int  NHitsInEM1)

Set NHitsInEM1.

Parameters
NHitsInEM1cluster NHitsInEM1

◆ setNPosECells_EM1()

void Analysis::TauPi0Cluster::setNPosECells_EM1 ( int  NPosECells_EM1)

Set NPosECells_EM1.

Parameters
NPosECells_EM1cluster NPosECells_EM1

◆ setNPosECells_EM2()

void Analysis::TauPi0Cluster::setNPosECells_EM2 ( int  NPosECells_EM2)

Set NPosECells_EM2.

Parameters
NPosECells_EM2cluster NPosECells_EM2

◆ setNPosECells_PS()

void Analysis::TauPi0Cluster::setNPosECells_PS ( int  NPosECells_PS)

Set NPosECells_PS.

Parameters
NPosECells_PScluster NPosECells_PS

◆ setPi0Cluster()

void Analysis::TauPi0Cluster::setPi0Cluster ( const CaloCluster cluster,
const CaloClusterContainer cont,
std::vector< TauShot * >  tauShotVec,
float  DELTA_PHI,
float  DELTA_THETA,
float  ENG_FRAC_EM,
float  ENG_FRAC_MAX,
float  ENG_FRAC_CORE,
float  SECOND_ENG_DENS,
float  LATERAL,
float  LONGITUDINAL,
float  EM1CoreFrac,
float  asymmetryInEM1WRTTrk,
int  NHitsInEM1,
int  NPosECells_PS,
int  NPosECells_EM1,
int  NPosECells_EM2,
float  firstEtaWRTClusterPosition_EM1,
float  firstEtaWRTClusterPosition_EM2,
float  secondEtaWRTClusterPosition_EM1,
float  secondEtaWRTClusterPosition_EM2,
float  BDTScore 
)

◆ setSecondEngDens()

void Analysis::TauPi0Cluster::setSecondEngDens ( float  secondEngDens)

Set secondEngDens.

Parameters
secondEngDenscluster secondEngDens

◆ setSecondEtaWRTClusterPosition_EM1()

void Analysis::TauPi0Cluster::setSecondEtaWRTClusterPosition_EM1 ( float  secondEtaWRTClusterPosition_EM1)

Set secondEtaWRTClusterPosition_EM1.

Parameters
secondEtaWRTClusterPosition_EM1cluster secondEtaWRTClusterPosition_EM1

◆ setSecondEtaWRTClusterPosition_EM2()

void Analysis::TauPi0Cluster::setSecondEtaWRTClusterPosition_EM2 ( float  secondEtaWRTClusterPosition_EM2)

Set secondEtaWRTClusterPosition_EM2.

Parameters
secondEtaWRTClusterPosition_EM2cluster secondEtaWRTClusterPosition_EM2

◆ tauShotVec() [1/2]

std::vector<TauShot*>& Analysis::TauPi0Cluster::tauShotVec ( )

Get shot vector.

Returns
shot vector

◆ tauShotVec() [2/2]

const std::vector<TauShot*>& Analysis::TauPi0Cluster::tauShotVec ( ) const

Get shot vector (const)

Returns
(const) shot vector

Member Data Documentation

◆ m_asymmetryInEM1WRTTrk

float Analysis::TauPi0Cluster::m_asymmetryInEM1WRTTrk
private

Definition at line 429 of file TauPi0Cluster.h.

◆ m_BDTScore

float Analysis::TauPi0Cluster::m_BDTScore
private

Definition at line 438 of file TauPi0Cluster.h.

◆ m_cluster

ElementLink<CaloClusterContainer> Analysis::TauPi0Cluster::m_cluster
private

cluster

Definition at line 414 of file TauPi0Cluster.h.

◆ m_DELTA_PHI

float Analysis::TauPi0Cluster::m_DELTA_PHI
private

cluster external properties

Definition at line 420 of file TauPi0Cluster.h.

◆ m_DELTA_THETA

float Analysis::TauPi0Cluster::m_DELTA_THETA
private

Definition at line 421 of file TauPi0Cluster.h.

◆ m_EM1CoreFrac

float Analysis::TauPi0Cluster::m_EM1CoreFrac
private

Definition at line 428 of file TauPi0Cluster.h.

◆ m_ENG_FRAC_CORE

float Analysis::TauPi0Cluster::m_ENG_FRAC_CORE
private

Definition at line 424 of file TauPi0Cluster.h.

◆ m_ENG_FRAC_EM

float Analysis::TauPi0Cluster::m_ENG_FRAC_EM
private

Definition at line 422 of file TauPi0Cluster.h.

◆ m_ENG_FRAC_MAX

float Analysis::TauPi0Cluster::m_ENG_FRAC_MAX
private

Definition at line 423 of file TauPi0Cluster.h.

◆ m_firstEtaWRTClusterPosition_EM1

float Analysis::TauPi0Cluster::m_firstEtaWRTClusterPosition_EM1
private

Definition at line 434 of file TauPi0Cluster.h.

◆ m_firstEtaWRTClusterPosition_EM2

float Analysis::TauPi0Cluster::m_firstEtaWRTClusterPosition_EM2
private

Definition at line 435 of file TauPi0Cluster.h.

◆ m_LATERAL

float Analysis::TauPi0Cluster::m_LATERAL
private

Definition at line 426 of file TauPi0Cluster.h.

◆ m_LONGITUDINAL

float Analysis::TauPi0Cluster::m_LONGITUDINAL
private

Definition at line 427 of file TauPi0Cluster.h.

◆ m_NHitsInEM1

int Analysis::TauPi0Cluster::m_NHitsInEM1
private

Definition at line 430 of file TauPi0Cluster.h.

◆ m_NPosECells_EM1

int Analysis::TauPi0Cluster::m_NPosECells_EM1
private

Definition at line 432 of file TauPi0Cluster.h.

◆ m_NPosECells_EM2

int Analysis::TauPi0Cluster::m_NPosECells_EM2
private

Definition at line 433 of file TauPi0Cluster.h.

◆ m_NPosECells_PS

int Analysis::TauPi0Cluster::m_NPosECells_PS
private

Definition at line 431 of file TauPi0Cluster.h.

◆ m_SECOND_ENG_DENS

float Analysis::TauPi0Cluster::m_SECOND_ENG_DENS
private

Definition at line 425 of file TauPi0Cluster.h.

◆ m_secondEtaWRTClusterPosition_EM1

float Analysis::TauPi0Cluster::m_secondEtaWRTClusterPosition_EM1
private

Definition at line 436 of file TauPi0Cluster.h.

◆ m_secondEtaWRTClusterPosition_EM2

float Analysis::TauPi0Cluster::m_secondEtaWRTClusterPosition_EM2
private

Definition at line 437 of file TauPi0Cluster.h.

◆ m_tauShotVector

std::vector<TauShot*> Analysis::TauPi0Cluster::m_tauShotVector
private

Definition at line 417 of file TauPi0Cluster.h.


The documentation for this class was generated from the following files:
Analysis::TauPi0Cluster::m_asymmetryInEM1WRTTrk
float m_asymmetryInEM1WRTTrk
Definition: TauPi0Cluster.h:429
P4EEtaPhiMBase::pt
virtual double pt() const
transverse momentum
Definition: P4EEtaPhiMBase.cxx:101
Analysis::TauPi0Cluster::m_DELTA_THETA
float m_DELTA_THETA
Definition: TauPi0Cluster.h:421
Analysis::TauPi0Cluster::m_LATERAL
float m_LATERAL
Definition: TauPi0Cluster.h:426
Analysis::TauDetails::DEFAULT
static const float DEFAULT
Definition: TauDetails.h:34
Analysis::TauPi0Cluster::m_ENG_FRAC_CORE
float m_ENG_FRAC_CORE
Definition: TauPi0Cluster.h:424
Analysis::TauPi0Cluster::m_firstEtaWRTClusterPosition_EM2
float m_firstEtaWRTClusterPosition_EM2
Definition: TauPi0Cluster.h:435
Analysis::TauPi0Cluster::m_tauShotVector
std::vector< TauShot * > m_tauShotVector
Definition: TauPi0Cluster.h:417
Analysis::TauPi0Cluster::cluster
const CaloCluster * cluster() const
Get cluster Consider using direct access through clusterLink() instead.
Analysis::TauPi0Cluster::m_BDTScore
float m_BDTScore
Definition: TauPi0Cluster.h:438
Analysis::TauPi0Cluster::m_NPosECells_EM2
int m_NPosECells_EM2
Definition: TauPi0Cluster.h:433
Analysis::TauDetails::DEFAULT_INT
static const int DEFAULT_INT
Definition: TauDetails.h:35
Analysis::TauPi0Cluster::m_firstEtaWRTClusterPosition_EM1
float m_firstEtaWRTClusterPosition_EM1
Definition: TauPi0Cluster.h:434
Analysis::TauPi0Cluster::m_SECOND_ENG_DENS
float m_SECOND_ENG_DENS
Definition: TauPi0Cluster.h:425
Analysis::TauPi0Cluster::m_ENG_FRAC_MAX
float m_ENG_FRAC_MAX
Definition: TauPi0Cluster.h:423
Analysis::TauPi0Cluster::m_secondEtaWRTClusterPosition_EM2
float m_secondEtaWRTClusterPosition_EM2
Definition: TauPi0Cluster.h:437
Analysis::TauPi0Cluster::m_secondEtaWRTClusterPosition_EM1
float m_secondEtaWRTClusterPosition_EM1
Definition: TauPi0Cluster.h:436
Analysis::TauPi0Cluster::m_DELTA_PHI
float m_DELTA_PHI
cluster external properties
Definition: TauPi0Cluster.h:420
Analysis::TauPi0Cluster::m_NPosECells_PS
int m_NPosECells_PS
Definition: TauPi0Cluster.h:431
Analysis::TauPi0Cluster::m_EM1CoreFrac
float m_EM1CoreFrac
Definition: TauPi0Cluster.h:428
CaloCluster::eta
virtual double eta() const
Retrieve eta independent of signal state.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:755
Analysis::TauPi0Cluster::m_cluster
ElementLink< CaloClusterContainer > m_cluster
cluster
Definition: TauPi0Cluster.h:414
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
CaloCluster::e
virtual double e() const
Retrieve energy independent of signal state.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:753
Analysis::TauPi0Cluster::m_ENG_FRAC_EM
float m_ENG_FRAC_EM
Definition: TauPi0Cluster.h:422
Analysis::TauPi0Cluster::m_NPosECells_EM1
int m_NPosECells_EM1
Definition: TauPi0Cluster.h:432
Analysis::TauPi0Cluster::m_NHitsInEM1
int m_NHitsInEM1
Definition: TauPi0Cluster.h:430
Analysis::TauPi0Cluster::m_LONGITUDINAL
float m_LONGITUDINAL
Definition: TauPi0Cluster.h:427
CaloCluster::phi
virtual double phi() const
Retrieve phi independent of signal state.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:759