Classes | Functions | Variables
triggersim Namespace Reference

Classes

class  ActivityTrigger
 
class  ActivityTriggerProd
 
class  BasicTrigger
 
class  TemplateTrigger
 
class  TemplateTriggerAna
 
class  TemplateTriggerProd
 

Functions

std::ostream & operator<< (std::ostream &o, BasicTrigger const &bt)
 
bool operator< (BasicTrigger const &a, BasicTrigger const &b)
 

Variables

const unsigned int kNullTrigger = 0
 
const unsigned int kActivity = 1
 
const unsigned int kSNe = 2
 
const unsigned int kNu = 3
 
const unsigned int kNucleon = 4
 
const unsigned int kMonopole = 5
 
const unsigned int kCosmic = 6
 
const unsigned int kBackground = 7
 
const unsigned int kSubTypeOffset = 1000
 
const unsigned int kColRCEHits = kActivity * kSubTypeOffset + 1
 
const unsigned int kColAPAHits = kActivity * kSubTypeOffset + 2
 
const unsigned int kIndRCEHits = kActivity * kSubTypeOffset + 3
 
const unsigned int kIndAPAHits = kActivity * kSubTypeOffset + 4
 
const unsigned int kSNeShort = kSNe * kSubTypeOffset + 1
 
const unsigned int kSNeLong = kSNe * kSubTypeOffset + 2
 
const unsigned int kNuBeam = kNu * kSubTypeOffset + 1
 
const unsigned int kNuAtmo = kNu * kSubTypeOffset + 2
 
const unsigned int kNuSolar = kNu * kSubTypeOffset + 3
 
const unsigned int kProtonDecay = kNucleon * kSubTypeOffset + 1
 
const unsigned int kNNbar = kNucleon * kSubTypeOffset + 2
 
const unsigned int kCosmicMu = kCosmic * kSubTypeOffset + 1
 
const unsigned int kGenRad = kBackground * kSubTypeOffset + 1
 
const unsigned int kAr39 = kBackground * kSubTypeOffset + 2
 
const unsigned int kRadon = kBackground * kSubTypeOffset + 3
 

Function Documentation

bool triggersim::operator< ( BasicTrigger const &  a,
BasicTrigger const &  b 
)

Definition at line 141 of file BasicTrigger.cxx.

141  {
142 
143  return a.TrigType() < b.TrigType();
144 
145  }
const double a
static bool * b
Definition: config.cpp:1043
std::ostream& triggersim::operator<< ( std::ostream &  o,
BasicTrigger const &  bt 
)

Definition at line 126 of file BasicTrigger.cxx.

126  {
127 
128  o << "Trigger Type = " << bt.TrigType() << std::endl;
129  o << "Trigger Sub-Type = " << bt.TrigSubType() << std::endl;
130  o << "Trigger Decision = " << bt.TrigDecision() << std::endl;
131  o << "Trigger HardwareID = " << bt.fTrigHardwareID << std::endl;
132  return o;
133 
134  }
bt
Definition: tracks.py:83
QTextStream & endl(QTextStream &s)

Variable Documentation

const unsigned int triggersim::kActivity = 1

Definition at line 15 of file TriggerTypes.h.

const unsigned int triggersim::kAr39 = kBackground * kSubTypeOffset + 2

Definition at line 64 of file TriggerTypes.h.

const unsigned int triggersim::kBackground = 7

Definition at line 21 of file TriggerTypes.h.

const unsigned int triggersim::kColAPAHits = kActivity * kSubTypeOffset + 2

Definition at line 32 of file TriggerTypes.h.

const unsigned int triggersim::kColRCEHits = kActivity * kSubTypeOffset + 1

Definition at line 31 of file TriggerTypes.h.

const unsigned int triggersim::kCosmic = 6

Definition at line 20 of file TriggerTypes.h.

const unsigned int triggersim::kCosmicMu = kCosmic * kSubTypeOffset + 1

Definition at line 58 of file TriggerTypes.h.

const unsigned int triggersim::kGenRad = kBackground * kSubTypeOffset + 1

Definition at line 63 of file TriggerTypes.h.

const unsigned int triggersim::kIndAPAHits = kActivity * kSubTypeOffset + 4

Definition at line 34 of file TriggerTypes.h.

const unsigned int triggersim::kIndRCEHits = kActivity * kSubTypeOffset + 3

Definition at line 33 of file TriggerTypes.h.

const unsigned int triggersim::kMonopole = 5

Definition at line 19 of file TriggerTypes.h.

const unsigned int triggersim::kNNbar = kNucleon * kSubTypeOffset + 2

Definition at line 53 of file TriggerTypes.h.

const unsigned int triggersim::kNu = 3

Definition at line 17 of file TriggerTypes.h.

const unsigned int triggersim::kNuAtmo = kNu * kSubTypeOffset + 2

Definition at line 46 of file TriggerTypes.h.

const unsigned int triggersim::kNuBeam = kNu * kSubTypeOffset + 1

Definition at line 45 of file TriggerTypes.h.

const unsigned int triggersim::kNucleon = 4

Definition at line 18 of file TriggerTypes.h.

const unsigned int triggersim::kNullTrigger = 0

Definition at line 14 of file TriggerTypes.h.

const unsigned int triggersim::kNuSolar = kNu * kSubTypeOffset + 3

Definition at line 47 of file TriggerTypes.h.

const unsigned int triggersim::kProtonDecay = kNucleon * kSubTypeOffset + 1

Definition at line 52 of file TriggerTypes.h.

const unsigned int triggersim::kRadon = kBackground * kSubTypeOffset + 3

Definition at line 65 of file TriggerTypes.h.

const unsigned int triggersim::kSNe = 2

Definition at line 16 of file TriggerTypes.h.

const unsigned int triggersim::kSNeLong = kSNe * kSubTypeOffset + 2

Definition at line 40 of file TriggerTypes.h.

const unsigned int triggersim::kSNeShort = kSNe * kSubTypeOffset + 1

Definition at line 39 of file TriggerTypes.h.

const unsigned int triggersim::kSubTypeOffset = 1000

Definition at line 26 of file TriggerTypes.h.