Public Member Functions | Public Attributes | Friends | List of all members
anab::T0 Class Reference

#include <T0.h>

Public Member Functions

 T0 ()
 
 T0 (double Time, unsigned int TriggerType, int TriggerBits, int ID=-1, double TriggerConfidence=-1)
 
const double & Time () const
 
const unsigned int & TriggerType () const
 
const int & TriggerBits () const
 
const int & ID () const
 
const double & TriggerConfidence () const
 

Public Attributes

double fTime
 Time in ns. More...
 
unsigned int fTriggerType
 Type of trigger used. 0 - Muon Counters, 1 - Photon Detectors, 2 - Monte Carlo Truth. More...
 
int fTriggerBits
 An identifier for the Muon track / Flash / MCParticle used in matching. More...
 
int fID
 Current size of T0 data product. More...
 
double fTriggerConfidence
 Confidence with which this T0 is known. More...
 

Friends

std::ostream & operator<< (std::ostream &o, T0 const &a)
 

Detailed Description

Definition at line 16 of file T0.h.

Constructor & Destructor Documentation

anab::T0::T0 ( )

Definition at line 15 of file T0.cxx.

16  : fTime(0)
17  , fTriggerType(0)
18  , fTriggerBits(0)
19  , fID(-1)
20  , fTriggerConfidence(-1)
21  {
22  }
int fID
Current size of T0 data product.
Definition: T0.h:24
double fTime
Time in ns.
Definition: T0.h:21
double fTriggerConfidence
Confidence with which this T0 is known.
Definition: T0.h:25
int fTriggerBits
An identifier for the Muon track / Flash / MCParticle used in matching.
Definition: T0.h:23
unsigned int fTriggerType
Type of trigger used. 0 - Muon Counters, 1 - Photon Detectors, 2 - Monte Carlo Truth.
Definition: T0.h:22
anab::T0::T0 ( double  Time,
unsigned int  TriggerType,
int  TriggerBits,
int  ID = -1,
double  TriggerConfidence = -1 
)

Definition at line 25 of file T0.cxx.

30  : fTime(Time)
33  , fID(ID)
35  {
36 
37  }
int fID
Current size of T0 data product.
Definition: T0.h:24
const unsigned int & TriggerType() const
Definition: T0.h:45
const int & TriggerBits() const
Definition: T0.h:46
const double & Time() const
Definition: T0.h:44
double fTime
Time in ns.
Definition: T0.h:21
double fTriggerConfidence
Confidence with which this T0 is known.
Definition: T0.h:25
int fTriggerBits
An identifier for the Muon track / Flash / MCParticle used in matching.
Definition: T0.h:23
const int & ID() const
Definition: T0.h:47
const double & TriggerConfidence() const
Definition: T0.h:48
unsigned int fTriggerType
Type of trigger used. 0 - Muon Counters, 1 - Photon Detectors, 2 - Monte Carlo Truth.
Definition: T0.h:22

Member Function Documentation

const int & anab::T0::ID ( ) const
inline

Definition at line 47 of file T0.h.

47 { return fID; }
int fID
Current size of T0 data product.
Definition: T0.h:24
const double & anab::T0::Time ( ) const
inline

Definition at line 44 of file T0.h.

44 { return fTime; }
double fTime
Time in ns.
Definition: T0.h:21
const int & anab::T0::TriggerBits ( ) const
inline

Definition at line 46 of file T0.h.

46 { return fTriggerBits; }
int fTriggerBits
An identifier for the Muon track / Flash / MCParticle used in matching.
Definition: T0.h:23
const double & anab::T0::TriggerConfidence ( ) const
inline

Definition at line 48 of file T0.h.

48 { return fTriggerConfidence; }
double fTriggerConfidence
Confidence with which this T0 is known.
Definition: T0.h:25
const unsigned int & anab::T0::TriggerType ( ) const
inline

Definition at line 45 of file T0.h.

45 { return fTriggerType; }
unsigned int fTriggerType
Type of trigger used. 0 - Muon Counters, 1 - Photon Detectors, 2 - Monte Carlo Truth.
Definition: T0.h:22

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
T0 const &  a 
)
friend

Time in ns

Type of trigger used. 0 - Muon Counters, 1 - Photon Detectors, 2 - Monte Carlo Truth

An identifier for the Muon track / Flash / MCParticle used in matching.

Current size of T0 data product.

Confidence with which this T0 is known.

Definition at line 42 of file T0.cxx.

43  {
44  o << "T0 with Time: " << a.fTime /// Time in ns
45  << "\n from Trigger type: " << a.fTriggerType /// Type of trigger used. 0 - Muon Counters, 1 - Photon Detectors, 2 - Monte Carlo Truth
46  << "\n with bits: " << a.fTriggerBits /// An identifier for the Muon track / Flash / MCParticle used in matching.
47  << "\n with ID: " << a.fID /// Current size of T0 data product.
48  << "\n with confidence: " << a.fTriggerConfidence /// Confidence with which this T0 is known.
49  <<std::endl;
50 
51  return o;
52  }
const double a
QTextStream & endl(QTextStream &s)

Member Data Documentation

int anab::T0::fID

Current size of T0 data product.

Definition at line 24 of file T0.h.

double anab::T0::fTime

Time in ns.

Definition at line 21 of file T0.h.

int anab::T0::fTriggerBits

An identifier for the Muon track / Flash / MCParticle used in matching.

Definition at line 23 of file T0.h.

double anab::T0::fTriggerConfidence

Confidence with which this T0 is known.

Definition at line 25 of file T0.h.

unsigned int anab::T0::fTriggerType

Type of trigger used. 0 - Muon Counters, 1 - Photon Detectors, 2 - Monte Carlo Truth.

Definition at line 22 of file T0.h.


The documentation for this class was generated from the following files: