|
void | rebuildMap () |
|
| ExperimentConfig () |
| default constructor creates an empty config More...
|
|
| ExperimentConfig (const ExperimentConfig &a_config) |
| copy constructor to ensure local map rebuild More...
|
|
ExperimentConfig & | operator= (const ExperimentConfig &a_rhs) |
|
void | addOrgScints (std::vector< OrgScintInfo > a_orgScints) |
|
void | addInorgScints (std::vector< InorgScintInfo > a_inorgScints) |
|
void | addHPGEs (std::vector< HPGeInfo > a_HPGEs) |
|
void | addClovers (std::vector< CloverInfo > a_clovers) |
|
void | addOrgScint (OrgScintInfo a_orgScint) |
|
void | addMultiPMTOrgScint (MultiPMTOrgScintInfo a_orgScint) |
|
void | addInorgScint (InorgScintInfo a_inorgScint) |
|
void | addHPGE (HPGeInfo a_HPGE) |
|
void | addClover (CloverInfo a_clover) |
|
void | addDetLengths (std::map< DetType, double > a_lengthMap) |
|
void | addSourceInfo (std::string a_id, PointSourceInfo a_source) |
|
void | setRFOffset (DetectorCalib *a_offset) |
|
void | setRFCalibID (int a_ID) |
|
void | setRFPeriod (double a_RFPeriod) |
|
void | setTDCRes (double a_TDCRes) |
|
void | setRFFilter (bool a_doFilter) |
|
void | setRFSubPeriod (uint16_t a_triggerPeriod) |
|
void | translateCoordinates (double a_x, double a_y, double a_z) |
|
bool | isKnown (int a_modID, int a_ch) const |
| returns true if the channel mod pair is known to the config More...
|
|
bool | isKnownModule (int a_modID) const |
|
const DetectorElementInfo & | getDetElInfo (int a_modID, int a_ch) const |
| gets the detector element info given a modID and a channel More...
|
|
std::ostream & | printLayout (std::ostream &a_stream) const |
| prints the internal state of the class More...
|
|
DetType | getDetType (int a_modID, int a_ch) const |
|
int | getDetID (int a_modID, int a_ch) const |
|
const CloverInfo & | getCloverInfo (int a_modID, int a_ch) const |
|
const CloverInfo & | getCloverInfo (int a_clovID) const |
|
const std::vector< CloverInfo > & | getCloverInfos () const |
|
const OrgScintInfo & | getOrgScintInfo (int a_modID, int a_ch) const |
|
const OrgScintInfo & | getOrgScintInfo (int a_orgScintID) const |
|
const MultiPMTOrgScintInfo & | getMultiPMTOrgScintInfo (int a_modID, int a_ch) const |
|
const MultiPMTOrgScintInfo & | getMultiPMTOrgScintInfo (int a_orgScintID) const |
|
const InorgScintInfo | getInorgScintInfo (int a_modID, int a_ch) const |
|
const InorgScintInfo | getInorgScintInfo (int a_inorgScintID) const |
|
const HPGeInfo | getHPGeInfo (int a_modID, int a_ch) const |
|
const HPGeInfo | getHPGeInfo (int a_hpgeID) const |
|
std::vector< int > | getDetIDList (DetType a_detType) const |
|
double | getRFOffset () const |
|
double | getRFCalibID () const |
|
double | getRFPeriod () const |
|
double | getTDCRes () const |
|
bool | getRFFilter () const |
|
uint16_t | getRFSubPeriod () const |
|
double | getRFModuleID () |
|
std::map< DetType, double > | getDetectorLengths () const |
|
void | setTime (uint32_t a_t) |
|
double | detDistToOrig (DetType a_detType, int a_detID, int a_elementID=0) const |
|
bool | canDoTiming () const |
|
bool | canDoGainConversion () const |
|
int | getNumModules () |
|
void | clearDet (DetType a_type) |
|
virtual | ~ExperimentConfig () |
|
std::vector< OrgScintInfo > | m_orgScints |
|
std::vector< MultiPMTOrgScintInfo > | m_PMTOrgScints |
|
std::vector< InorgScintInfo > | m_inorgScints |
|
std::vector< HPGeInfo > | m_HPGEs |
|
std::vector< CloverInfo > | m_clovers |
|
std::map< std::string, PointSourceInfo > | m_sourceInfo |
|
std::map< int, std::map< int, std::pair< DetType, int > > > | m_modChMap |
|
std::map< DetType, double > | m_detectorLengths |
| lengths of the detectors for TOF calculation More...
|
|
DetectorCalib * | m_RFOffset |
| RF offset to an EJ-309 detector [ns]. More...
|
|
int | m_RFCalibDetID |
| detector ID of RF offset More...
|
|
double | m_RFPeriod |
|
double | m_TDCRes |
|
bool | m_rfFilter |
|
uint16_t | m_rfSubPeriod |
|
OrgScintInfo | m_defOrgScintInfo |
| BCM data [uAmps]. More...
|
|
MultiPMTOrgScintInfo | m_defMultiPMTOrgScintInfo |
|
InorgScintInfo | m_defInorgScintInfo |
|
HPGeInfo | m_defHPGeInfo |
|
CloverInfo | m_defCloverInfo |
|
DetectorElementInfo | m_defDetElementInfo |
|
this class is used to limit the interfacce of ExperimentConfig to just functions that are relavent for an experiment using strictly scintillator data types.