|
ATLAS Offline Software
|
Go to the documentation of this file.
28 m_roiID(-1), m_Zvtx(0),
30 m_etCalibCluster(0), m_simpleEtFlow(0), m_nMatchedTracks(0),
31 m_cluster(NULL), m_tracksInfo(NULL), m_tracks(NULL),
32 m_trkAvgDist(0), m_etOverPtLeadTrk(0)
37 float eta,
float phi,
float zvtx,
float pt,
39 float etCalibClusterr,
float etFlowr,
int nMatchedTracks,
43 m_roiID(roi), m_Zvtx(zvtx),
45 m_etCalibCluster(etCalibClusterr), m_simpleEtFlow(etFlowr), m_nMatchedTracks(nMatchedTracks),
46 m_cluster(cluster), m_tracksInfo(tracksInfo), m_tracks(tracks),
47 m_trkAvgDist(0), m_etOverPtLeadTrk(0)
53 float eta,
float phi,
float zvtx,
float pt,
float etCalibClusterr,
54 float etFLow,
int nMatchedTracks,
61 m_etCalibCluster(etCalibClusterr), m_simpleEtFlow(etFLow),
62 m_nMatchedTracks(nMatchedTracks), m_cluster(cluster),
63 m_tracksInfo(tracksInfo), m_tracks(tracks),
64 m_trkAvgDist(0), m_etOverPtLeadTrk(0)
110 <<
"; pt: " << tau.
pt()
111 <<
"; eta: " << tau.
eta()
112 <<
"; phi: " << tau.
phi()
126 return (
m <<
str( tau ) );
132 static const double DELTA = 0.001;
134 ( std::abs( left.
pt() - right.
pt() ) > DELTA ) ||
135 ( std::abs( left.
eta() - right.
eta() ) > DELTA ) ||
136 ( std::abs( left.
phi() - right.
phi() ) > DELTA ) ||
155 std::map< std::string, double >& varChange ) {
157 static const double DELTA = 0.001;
159 varChange[
"roiId" ] =
static_cast< double >( left.
roiId() - right.
roiId() );
161 if( std::abs( left.
pt() - right.
pt() ) > DELTA ) {
162 varChange[
"pt" ] = left.
pt() - right.
pt();
164 if( std::abs( left.
eta() - right.
eta() ) > DELTA ) {
165 varChange[
"eta" ] = left.
eta() - right.
eta();
167 if( std::abs( left.
phi() - right.
phi() ) > DELTA ) {
168 varChange[
"phi" ] = left.
phi() - right.
phi();
const TrigTauTracksInfo * tracksInfo() const
void setTauCluster(const TrigTauCluster *tauCluster)
void setSimpleEtFlow(float etFlow)
MsgStream & operator<<(MsgStream &m, const TrigTau &tau)
Helper operator for printing the object.
Scalar phi() const
phi method
float m_etOverPtLeadTrk
ration of cluster energy to leading pt track
const TrigInDetTrackCollection * trackCollection() const
Scalar eta() const
pseudorapidity method
void setRoiId(int roiId)
set methods
Dummy type needed fro specialized implementation.
Class with calibrated variables for tau clustering.
void setEtCalibCluster(float etCalibCluster)
TrigTau()
File: TrigTau.cxx.
const TrigTauCluster * tauCluster() const
float m_err_Zvtx
Error on z coordinate.
virtual double phi() const
get phi data member
float m_etCalibCluster
Transverse energy of the calibrated tau cluster.
@ trkAvgDist
Get calibrated EM transverse energy (DEPRECATED since r19)
int nMatchedTracks() const
setTeId setLumiBlock roiId
void diff(const TrigTau &left, const TrigTau &right, std::map< std::string, double > &varChange)
Comparison with feedback.
void setTrackCollection(const TrigInDetTrackCollection *trackColl)
void setEtOverPtLeadTrk(float etOverPtLeadTrk)
int m_roiID
Identifier of the RoI.
virtual double pt() const
get pt data member
float m_simpleEtFlow
EtFlow as calculated from 3 fastest tracks and cluster with energy of first 3 EM samplings.
int roiId() const
accessor methods
float simpleEtFlow() const
void setErr_Zvtx(float err_zvtx)
int m_nMatchedTracks
Number of tracks matched to the calorimeter cluster.
const TrigInDetTrackCollection * m_tracks
Collection of inner detector tracks.
void setTrkAvgDist(float trkAvgDist)
virtual double eta() const
get eta data member
bool operator==(const TrigTau &left, const TrigTau &right)
Operator comparing two TrigTau objects for equality.
void setNMatchedTracks(int nmatchedTracks)
const TrigTauTracksInfo * m_tracksInfo
Collection of inner detector tracks.
float m_trkAvgDist
average distance of tracks to tau direction
float m_Zvtx
Z coordinate of the tau vertex.
float etOverPtLeadTrk() const
void setTracksInfo(const TrigTauTracksInfo *trackInfo)
float etCalibCluster() const
const TrigTauCluster * m_cluster
Calorimeter tau cluster.
std::string str(const TrigTau &tau)
Helper function for printing the object.