ATLAS Offline Software
Functions
SiCharge.cxx File Reference
#include "InDetSimEvent/SiCharge.h"
Include dependency graph for SiCharge.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const SiCharge &charge)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const SiCharge charge 
)

Definition at line 51 of file SiCharge.cxx.

52 {
53  out << "Charge=" << charge.charge() << " Time=" << charge.time()
54  << " Process=";
55  if (charge.processType()==SiCharge::no) out << "no";
56  else if (charge.processType()==SiCharge::track) out << "track";
57  else if (charge.processType()==SiCharge::diodeX_Talk) out << "diodeX_Talk";
58  else if (charge.processType()==SiCharge::cellX_Talk) out << "cellX_Talk";
59  else if (charge.processType()==SiCharge::noise) out << "noise";
60  else if (charge.processType()==SiCharge::extraNoise) out << "extraNoise";
61  else if (charge.processType()==SiCharge::cut_track) out << "cut_track";
62  else out << "UNKNOWN !";
63  return (out << " Barcode=" << charge.trackBarcode());
64 }
SiCharge::track
@ track
Definition: SiCharge.h:28
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
SiCharge::diodeX_Talk
@ diodeX_Talk
Definition: SiCharge.h:28
SiCharge::extraNoise
@ extraNoise
Definition: SiCharge.h:28
SiCharge::noise
@ noise
Definition: SiCharge.h:28
charge
double charge(const T &p)
Definition: AtlasPID.h:538
SiCharge::cut_track
@ cut_track
Definition: SiCharge.h:28
SiCharge::no
@ no
Definition: SiCharge.h:28
SiCharge::cellX_Talk
@ cellX_Talk
Definition: SiCharge.h:28