Jpp  debug
the software that should make you happy
Public Member Functions | Public Attributes | List of all members
JTRIGGER::JTriggerMXShower_t::JParameters Class Reference

Trigger parameters. More...

#include <JTriggerMXShower_t.hh>

Public Member Functions

 JParameters ()
 Default constructor. More...
 
 JParameters (const bool enabled, const int numberOfHits, const int numberOfModules, const double DMax_m, const double TMaxExtra_ns, const int factoryLimit)
 Constructor. More...
 
virtual ~JParameters ()
 Virtual destructor. More...
 
void reset ()
 Reset trigger parameters. More...
 
bool equals (const JParameters &parameters) const
 Equality. More...
 
 ClassDef (JParameters, 3)
 

Public Attributes

bool enabled
 enabled status of trigger More...
 
int numberOfHits
 minimal number of hits to trigger event More...
 
int numberOfModules
 minimal number of modules to trigger event More...
 
double DMax_m
 maximal distance between PMTs [m] More...
 
double TMaxExtra_ns
 maximal extra time [ns] More...
 
int factoryLimit
 maximal number of hits to apply trigger logic (above this limit, always trigger) More...
 

Detailed Description

Trigger parameters.

Definition at line 24 of file JTriggerMXShower_t.hh.

Constructor & Destructor Documentation

◆ JParameters() [1/2]

JTRIGGER::JTriggerMXShower_t::JParameters::JParameters ( )
inline

Default constructor.

Definition at line 30 of file JTriggerMXShower_t.hh.

31  {
32  reset();
33  }
void reset()
Reset trigger parameters.

◆ JParameters() [2/2]

JTRIGGER::JTriggerMXShower_t::JParameters::JParameters ( const bool  enabled,
const int  numberOfHits,
const int  numberOfModules,
const double  DMax_m,
const double  TMaxExtra_ns,
const int  factoryLimit 
)
inline

Constructor.

Parameters
enabledenabled status of trigger
numberOfHitsminimal number of hits to trigger event
numberOfModulesminimal number of modules to trigger event
DMax_mmaximal distance between PMTs [m]
TMaxExtra_nsmaximal extra time [ns]
factoryLimitmaximal number of hits to apply trigger logic (above this limit, always trigger)

Definition at line 46 of file JTriggerMXShower_t.hh.

52  {
53  this->enabled = enabled;
54  this->numberOfHits = numberOfHits;
56  this->DMax_m = DMax_m;
57  this->TMaxExtra_ns = TMaxExtra_ns;
58  this->factoryLimit = factoryLimit;
59  }
double DMax_m
maximal distance between PMTs [m]
int factoryLimit
maximal number of hits to apply trigger logic (above this limit, always trigger)
int numberOfHits
minimal number of hits to trigger event
double TMaxExtra_ns
maximal extra time [ns]
int numberOfModules
minimal number of modules to trigger event

◆ ~JParameters()

virtual JTRIGGER::JTriggerMXShower_t::JParameters::~JParameters ( )
inlinevirtual

Virtual destructor.

Definition at line 65 of file JTriggerMXShower_t.hh.

66  {}

Member Function Documentation

◆ reset()

void JTRIGGER::JTriggerMXShower_t::JParameters::reset ( )
inline

Reset trigger parameters.

Definition at line 72 of file JTriggerMXShower_t.hh.

73  {
74  enabled = false;
75  numberOfHits = 8;
76  numberOfModules = 8;
77  DMax_m = 43.0;
78  TMaxExtra_ns = 20.0;
79  factoryLimit = 100;
80  }

◆ equals()

bool JTRIGGER::JTriggerMXShower_t::JParameters::equals ( const JParameters parameters) const
inline

Equality.

Parameters
parameterstrigger parameters
Returns
true if equals; else false

Definition at line 89 of file JTriggerMXShower_t.hh.

90  {
91  return (enabled == parameters.enabled &&
92  numberOfHits == parameters.numberOfHits &&
93  numberOfModules == parameters.numberOfModules &&
94  DMax_m == parameters.DMax_m &&
95  TMaxExtra_ns == parameters.TMaxExtra_ns &&
96  factoryLimit == parameters.factoryLimit);
97  }

◆ ClassDef()

JTRIGGER::JTriggerMXShower_t::JParameters::ClassDef ( JParameters  ,
 
)

Member Data Documentation

◆ enabled

bool JTRIGGER::JTriggerMXShower_t::JParameters::enabled

enabled status of trigger

Definition at line 103 of file JTriggerMXShower_t.hh.

◆ numberOfHits

int JTRIGGER::JTriggerMXShower_t::JParameters::numberOfHits

minimal number of hits to trigger event

Definition at line 104 of file JTriggerMXShower_t.hh.

◆ numberOfModules

int JTRIGGER::JTriggerMXShower_t::JParameters::numberOfModules

minimal number of modules to trigger event

Definition at line 105 of file JTriggerMXShower_t.hh.

◆ DMax_m

double JTRIGGER::JTriggerMXShower_t::JParameters::DMax_m

maximal distance between PMTs [m]

Definition at line 106 of file JTriggerMXShower_t.hh.

◆ TMaxExtra_ns

double JTRIGGER::JTriggerMXShower_t::JParameters::TMaxExtra_ns

maximal extra time [ns]

Definition at line 107 of file JTriggerMXShower_t.hh.

◆ factoryLimit

int JTRIGGER::JTriggerMXShower_t::JParameters::factoryLimit

maximal number of hits to apply trigger logic (above this limit, always trigger)

Definition at line 108 of file JTriggerMXShower_t.hh.


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