Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DecoParam Struct Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/online/decoder_maindaq/DecoParam.h>

+ Collaboration diagram for DecoParam:

Public Member Functions

 DecoParam ()
 
 ~DecoParam ()
 
int InitMapper ()
 

Public Attributes

std::string fn_in
 
std::string dir_param
 
bool is_online
 
int sampling
 
int verbose
 
int time_wait
 
ChanMapTaiwan chan_map_taiwan
 
ChanMapV1495 chan_map_v1495
 
ChanMapScaler chan_map_scaler
 
unsigned short int runID
 
int spillID
 
int spillID_cntr
 
int spillID_slow
 
short targPos
 
short targPos_slow
 
unsigned int codaID
 
short spillType
 
short rocID
 
int eventIDstd
 
long int hitID
 
bool has_1st_bos
 
bool at_bos
 
unsigned int turn_id_max
 Max turnOnset in a spill. Used to drop NIM3 events that came after the beam stops. See elog 15010. More...
 
time_t timeStart
 
time_t timeEnd
 

Detailed Description

This class contains all decoder parameters. Two types of parameters are included.

  • For controlling the decoder behavior.
  • For monitoring the condition of the decoder.

Definition at line 14 of file DecoParam.h.

Constructor & Destructor Documentation

DecoParam::DecoParam ( )

Definition at line 7 of file DecoParam.cc.

DecoParam::~DecoParam ( )
inline

Definition at line 56 of file DecoParam.h.

Member Function Documentation

int DecoParam::InitMapper ( )

Definition at line 16 of file DecoParam.cc.

References chan_map_scaler, chan_map_taiwan, chan_map_v1495, RunParamBase::ReadFromDB(), runID, and RunParamBase::SetMapIDbyDB().

+ Here is the call graph for this function:

Member Data Documentation

bool DecoParam::at_bos

Definition at line 47 of file DecoParam.h.

ChanMapScaler DecoParam::chan_map_scaler

Definition at line 27 of file DecoParam.h.

Referenced by InitMapper(), and Fun4AllEVIOInputManager::run().

ChanMapTaiwan DecoParam::chan_map_taiwan

Definition at line 25 of file DecoParam.h.

Referenced by InitMapper(), and Fun4AllEVIOInputManager::run().

ChanMapV1495 DecoParam::chan_map_v1495

Definition at line 26 of file DecoParam.h.

Referenced by InitMapper(), and Fun4AllEVIOInputManager::run().

unsigned int DecoParam::codaID

Definition at line 40 of file DecoParam.h.

std::string DecoParam::dir_param

Definition at line 19 of file DecoParam.h.

Referenced by Fun4AllEVIOInputManager::DirParam().

int DecoParam::eventIDstd

Definition at line 43 of file DecoParam.h.

std::string DecoParam::fn_in

Control parameters

Definition at line 18 of file DecoParam.h.

Referenced by MainDaqParser::OpenCodaFile().

bool DecoParam::has_1st_bos

Definition at line 46 of file DecoParam.h.

long int DecoParam::hitID

Definition at line 44 of file DecoParam.h.

bool DecoParam::is_online

Definition at line 20 of file DecoParam.h.

Referenced by MainDaqParser::End(), and Fun4AllEVIOInputManager::SetOnline().

short DecoParam::rocID

Definition at line 42 of file DecoParam.h.

unsigned short int DecoParam::runID

Monitoring parameters

Definition at line 32 of file DecoParam.h.

Referenced by InitMapper().

int DecoParam::sampling

Definition at line 21 of file DecoParam.h.

Referenced by Fun4AllEVIOInputManager::EventSamplingFactor().

int DecoParam::spillID

Definition at line 34 of file DecoParam.h.

int DecoParam::spillID_cntr

Definition at line 35 of file DecoParam.h.

int DecoParam::spillID_slow

Definition at line 36 of file DecoParam.h.

short DecoParam::spillType

Definition at line 41 of file DecoParam.h.

short DecoParam::targPos

Definition at line 37 of file DecoParam.h.

short DecoParam::targPos_slow

Definition at line 38 of file DecoParam.h.

int DecoParam::time_wait

Definition at line 23 of file DecoParam.h.

Referenced by Fun4AllEVIOInputManager::PretendSpillInterval().

time_t DecoParam::timeEnd

Definition at line 53 of file DecoParam.h.

Referenced by MainDaqParser::End().

time_t DecoParam::timeStart

Definition at line 53 of file DecoParam.h.

Referenced by MainDaqParser::End(), and MainDaqParser::OpenCodaFile().

unsigned int DecoParam::turn_id_max

Max turnOnset in a spill. Used to drop NIM3 events that came after the beam stops. See elog 15010.

Definition at line 50 of file DecoParam.h.

int DecoParam::verbose

Definition at line 22 of file DecoParam.h.

Referenced by MainDaqParser::End(), and Fun4AllEVIOInputManager::fileopen().


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