|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   23 #include "GaudiKernel/MsgStream.h" 
   29 static const double DELTA = 0.001;
 
   63    stream << 
"MuonCode: " << 
d.MuonCode()
 
   64           << 
"; RoINum: " << 
d.RoINum()
 
   65           << 
"; eta: " << 
d.eta()
 
   66           << 
"; phi: " << 
d.phi()
 
   68           << 
"; charge: " << 
d.charge();
 
   75    return ( 
m << 
str( 
d ) );
 
   81    if( 
a.MuonCode() != 
b.MuonCode() )
 
   83    if( std::abs( 
a.charge() - 
b.charge() ) > DELTA )
 
   85    if( std::abs( 
a.pt() - 
b.pt() ) > DELTA )
 
   87    if( std::abs( 
a.eta() - 
b.eta() ) > DELTA )
 
   89    if( std::abs( 
a.phi() - 
b.phi() ) > DELTA )
 
   91    if( std::abs( 
a.m() - 
b.m() ) > DELTA )
 
   98            std::map< std::string, double >& variableChange ) {
 
  100    if( 
a.MuonCode() != 
b.MuonCode() ) {
 
  101       variableChange[ 
"MuonCode" ] = 
static_cast< double >( 
a.MuonCode() - 
b.MuonCode() );
 
  103    if( std::abs( 
a.charge() - 
b.charge() ) > DELTA ) {
 
  104       variableChange[ 
"Charge" ] = 
a.charge() - 
b.charge();
 
  106    if( std::abs( 
a.pt() - 
b.pt() ) > DELTA ) {
 
  107       variableChange[ 
"Pt" ] = 
a.pt() - 
b.pt(); 
 
  109    if( std::abs( 
a.eta() - 
b.eta() ) > DELTA ) {
 
  110       variableChange[ 
"Eta" ] = 
a.eta() - 
b.eta();
 
  112    if( std::abs( 
a.phi() - 
b.phi() ) > DELTA ) {
 
  113       variableChange[ 
"Phi" ] = 
a.phi() - 
b.phi();
 
  115    if( std::abs( 
a.m() - 
b.m() ) > DELTA ) {
 
  116       variableChange[ 
"Mass" ] = 
a.m() - 
b.m();
 
  
virtual ~TrigMuonEF()
Destructor.
bool operator==(const TrigMuonEF &a, const TrigMuonEF &b)
Operator comparing two TrigMuonEF objects for equality.
TrigMuonEF()=default
Default constructor.
MsgStream & operator<<(MsgStream &m, const TrigMuonEF &d)
Helper operator for printing the object.
int m_muonCode
what kind of track we are dealing with (Moore, StandAlone, Combined)
void set_RoINum(const std::string &theRoINum)
Set RoINum.
void set_muonCode(int theMuonCode)
Set MuonCode.
std::string str(const TrigMuonEF &d)
Helper function for printing the object.
void diff(const TrigMuonEF &a, const TrigMuonEF &b, std::map< std::string, double > &variableChange)
Comparison with feedback.
void set_Charge(double theCharge)
Set Charge.