67 std::cout <<
"m_EMenergyNarrow: ";
70 std::cout << std::endl;
71 std::cout <<
"m_HADenergyNarrow: ";
74 std::cout << std::endl;
81 log <<MSG::DEBUG<<
"m_EMenergyNarrow : ";
85 log <<MSG::DEBUG<<
"m_HADenergyNarrow : ";
123 std::stringstream stream;
124 stream <<
" EMRad: ";
126 stream <<
"; EMEnergyWidth: ";
128 stream <<
"; EMEnergy(dR<0.1): ";
130 stream <<
"; EMEnergy(dR<0.2): ";
132 stream <<
"; EMEnergy(dR<0.3): ";
135 stream <<
"; HADRad: ";
137 stream <<
"; HADEnergyWidth: ";
139 stream <<
"; HADEnergy(dR<0.1): ";
141 stream <<
"; HADEnergy(dR<0.2): ";
143 stream <<
"; HADEnergy(dR<0.3): ";
161 std::map< std::string, double >& varChange )
163 double epsilon=0.001;
168 {sprintf(name,
"EMRadius[%d]",i); varChange[name] = clus1.
EMRadius(i) - clus2.
EMRadius(i); }
181 {sprintf(name,
"EMRadius[%d]",i); varChange[name] = clus1.
HADRadius(i) - clus2.
HADRadius(i); }
void diff(const TrigTauClusterDetails &clus1, const TrigTauClusterDetails &clus2, std::map< std::string, double > &varChange)
Comparison with feedback.
bool operator==(const TrigTauClusterDetails &clus1, const TrigTauClusterDetails &clus2)
Operator comparing two TrigTauCluster objects for equality.
MsgStream & operator<<(MsgStream &m, const TrigTauClusterDetails &tau)
Helper operator for printing the object.
const int NUMHADSAMP
Number of HAD Samples.
const int NUMEMSAMP
Number of EM Samples.
float EMenergyNarrow(int samp) const
get EM Energy in the narrow region (0.1x0.1)
float m_HADenergyWidth[NUMHADSAMP]
Width in HAD samplings.
float m_HADenergyWide[NUMHADSAMP]
HAD Energy in the normalization region (0.3x0.3)
float m_EMenergyWidth[NUMEMSAMP]
Width in EM samplings.
float HADenergyNarrow(int samp) const
get HAD Energy in the narrow region (0.1x0.1)
float HADRadius(int samp) const
get HAD Radius per sampling
float HADenergyWidth(int samp) const
get Width in HAD samplings
float EMenergyWidth(int samp) const
get Width in EM samplings
float m_EMenergyWide[NUMEMSAMP]
EM Energy in the mormalization region (0.3x0.3)
float m_HADRadius[NUMHADSAMP]
HAD Radius per sampling.
float m_HADenergyNarrow[NUMHADSAMP]
HAD Energy in the narrow region (0.1x0.1)
float m_HADenergyMedium[NUMHADSAMP]
HAD Energy in the wide region (0.2x0.2)
float EMenergyMedium(int samp) const
get EM Energy in the wide region (0.2x0.2)
float EMenergyWide(int samp) const
get EM Energy in the mormalization region (0.3x0.3)
~TrigTauClusterDetails()
Destructor.
float m_EMRadius[NUMEMSAMP]
EM Radius per sampling.
void print(void) const
Prints out cluster variables to std::cout.
float HADenergyWide(int samp) const
get HAD Energy in the normalization region (0.3x0.3)
float m_EMenergyMedium[NUMEMSAMP]
EM Energy in the wide region (0.2x0.2)
float HADenergyMedium(int samp) const
get HAD Energy in the wide region (0.2x0.2)
TrigTauClusterDetails()
Constructor, please note the default values.
float m_EMenergyNarrow[NUMEMSAMP]
EM Energy in the narrow region (0.1x0.1)
float EMRadius(int samp) const
get EM Radius per sampling