LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 16 of file T0.h.

Constructor & Destructor Documentation

anab::T0::T0 ( )

Definition at line 15 of file T0.cxx.

15 : fTime(0), fTriggerType(0), fTriggerBits(0), fID(-1), fTriggerConfidence(-1) {}
int fID
Current size of T0 data product.
Definition: T0.h:24
double fTime
Time in ns.
Definition: T0.h:20
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 18 of file T0.cxx.

19  : fTime(Time)
22  , fID(ID)
24  {}
int fID
Current size of T0 data product.
Definition: T0.h:24
const unsigned int & TriggerType() const
Definition: T0.h:49
const int & TriggerBits() const
Definition: T0.h:53
const double & Time() const
Definition: T0.h:45
double fTime
Time in ns.
Definition: T0.h:20
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:57
const double & TriggerConfidence() const
Definition: T0.h:61
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 57 of file T0.h.

References fID.

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

Definition at line 45 of file T0.h.

References fTime.

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

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

Definition at line 53 of file T0.h.

References fTriggerBits.

54 {
55  return fTriggerBits;
56 }
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 61 of file T0.h.

References fTriggerConfidence.

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

Definition at line 49 of file T0.h.

References fTriggerType.

50 {
51  return fTriggerType;
52 }
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 29 of file T0.cxx.

30  {
31  o << "T0 with Time: " << a.fTime
32  << "\n from Trigger type: "
33  << a.fTriggerType
34  << "\n with bits: "
35  << a.fTriggerBits
36  << "\n with ID: " << a.fID
37  << "\n with confidence: " << a.fTriggerConfidence
38  << std::endl;
39 
40  return o;
41  }

Member Data Documentation

int anab::T0::fID

Current size of T0 data product.

Definition at line 24 of file T0.h.

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

double anab::T0::fTime

Time in ns.

Definition at line 20 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 23 of file T0.h.

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

double anab::T0::fTriggerConfidence

Confidence with which this T0 is known.

Definition at line 25 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 22 of file T0.h.

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


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