LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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 19 of file T0.h.

Constructor & Destructor Documentation

anab::T0::T0 ( )

Definition at line 14 of file T0.cxx.

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

Definition at line 24 of file T0.cxx.

29  : fTime(Time)
32  , fID(ID)
34  {
35 
36  }
int fID
Current size of T0 data product.
Definition: T0.h:27
const unsigned int & TriggerType() const
Definition: T0.h:48
const int & TriggerBits() const
Definition: T0.h:49
const double & Time() const
Definition: T0.h:47
double fTime
Time in ns.
Definition: T0.h:24
double fTriggerConfidence
Confidence with which this T0 is known.
Definition: T0.h:28
int fTriggerBits
An identifier for the Muon track / Flash / MCParticle used in matching.
Definition: T0.h:26
const int & ID() const
Definition: T0.h:50
const double & TriggerConfidence() const
Definition: T0.h:51
unsigned int fTriggerType
Type of trigger used. 0 - Muon Counters, 1 - Photon Detectors, 2 - Monte Carlo Truth.
Definition: T0.h:25

Member Function Documentation

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

Definition at line 50 of file T0.h.

References fID.

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

Definition at line 47 of file T0.h.

References fTime.

Referenced by lar_pandora::PFParticleAnalysis::analyze().

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

Definition at line 49 of file T0.h.

References fTriggerBits.

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

Definition at line 51 of file T0.h.

References fTriggerConfidence.

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

Definition at line 48 of file T0.h.

References fTriggerType.

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

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 41 of file T0.cxx.

42  {
43  o << "T0 with Time: " << a.fTime
44  << "\n from Trigger type: " << a.fTriggerType
45  << "\n with bits: " << a.fTriggerBits
46  << "\n with ID: " << a.fID
47  << "\n with confidence: " << a.fTriggerConfidence
48  <<std::endl;
49 
50  return o;
51  }

Member Data Documentation

int anab::T0::fID

Current size of T0 data product.

Definition at line 27 of file T0.h.

Referenced by ID(), and anab::operator<<().

double anab::T0::fTime

Time in ns.

Definition at line 24 of file T0.h.

Referenced by anab::operator<<(), and Time().

int anab::T0::fTriggerBits

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

Definition at line 26 of file T0.h.

Referenced by anab::operator<<(), and TriggerBits().

double anab::T0::fTriggerConfidence

Confidence with which this T0 is known.

Definition at line 28 of file T0.h.

Referenced by anab::operator<<(), and TriggerConfidence().

unsigned int anab::T0::fTriggerType

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

Definition at line 25 of file T0.h.

Referenced by anab::operator<<(), and TriggerType().


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