QDbDetector.hh File Reference


Detailed Description

Go to the source code of this file.

Namespaces

namespace  QDbDetector
namespace  Cuore

Classes

class  QDbDetector::RootLoad

Enumerations

enum  QDbDetector::RunType {
  RT_UNKNOWN, RT_BACKGROUND, RT_CALIBRATION, RT_NPULSES,
  RT_TEST, RT_SIMULATION
}
 Run Type.
enum  QDbDetector::DetectorName {
  DN_CUORICINO = 0, DN_THREETOWERS = 1, DN_CUORE0 = 2, DN_CUORE = 3,
  DN_HALLC = 5, DN_HALLC_CUORE = 6, DN_UNKNOWN = 9
}
 DetectorName.

Functions

QDbDetector::RunType QDbDetector::GetRunType (int run)
 return run type
QDbDetector::RunType QDbDetector::String2RunType (const std::string &s)
 string to RunType
std::string QDbDetector::RunType2String (QDbDetector::RunType runType)
 RunType to string.
std::string QDbDetector::DetectorName2String (QDbDetector::DetectorName detectorId)
 DetectorName to string.
QDbDetector::DetectorName QDbDetector::GetDetectorName (int run)
 return DetectorName
unsigned int QDbDetector::GetCurrentRunNumber ()
 get current run number (used by online)
unsigned int QDbDetector::SettingsBasket (const unsigned int run)
 get settings basket for the requested run number
void QDbDetector::GetListOfChannels (unsigned int run, std::list< unsigned short > &chList)
 get the list of active logical channels in a given run
void QDbDetector::GetListOfPulsers (unsigned int run, std::map< unsigned short, std::list< unsigned short > > &pulsers)
 get a map of pulser channels and corresponding list of logical channels
int QDbDetector::NRun (time_t time)
 run number from timestamp
int QDbDetector::NRun (const Cuore::QTime &time)
 run number from time of event
int QDbDetector::ProfileId (int run)
 profile_id from run_number
int QDbDetector::BoloId (const int run, const int ch)
 bolo_id from run_number and channel
int QDbDetector::Channel (const int run, const int boloId)
 channel from run_number and bolo_id
std::map< unsigned short,
unsigned short > 
QDbDetector::GetDaqCrates (const int run)
 get a map of logical channels and the DAQ crates they belong to
std::vector< int > QDbDetector::FloorList (int run)
 list of all floors in a given run
std::vector< int > QDbDetector::BoloList (int run)
 list of all bolometers in a given run (no thermometers)
std::vector< int > QDbDetector::ActiveBoloList (int run)
 list of only active bolometers in a given run (no thermometers)
bool QDbDetector::IsActiveBolo (int run, int id)
 check if a channel is active
std::vector< int > QDbDetector::ActiveChannelList (const int run)
 list of only active channels in a given run (no thermometers)
std::vector< int > QDbDetector::ThermList (int run)
 list of thermistors (without crystals) read in a given run
std::map< int, int > QDbDetector::TrgThresholdList (int run)
 get trigger threshold list
std::vector< int > QDbDetector::GetRelativeChannels (int run, int channel, const std::string &fileName)
 Get list of channels on the same crystal of channel (useful when there is more than one thermistor per crystal).
int QDbDetector::GetPulserId (int run, int boloId, const std::string &filename)
 Get Pulser Id for bolometer boloId.
QVector QDbDetector::Position (int channel)
 position of the chrystal (QVector with 3 components, x,y,z)
int QDbDetector::BoloFloor (int channel)
 return the position of the bolometer whose chennel nb is
std::vector< int > QDbDetector::BolometersOnFloor (int floor)
 return an array containing all the channel in
std::map< int, int > QDbDetector::ChannelFloor (int run)
 return a map of (channel, floor)
std::multimap< int, int > QDbDetector::FloorChannel (int run)
 return a multimap (floor,channel)
std::string QDbDetector::BoloName (int channel)
 return bolometer name
double QDbDetector::SamplingFrequency (int run, int chan)
 sampling frequency for a given channel in a given run
std::vector< double > QDbDetector::ADCRange (int run, int chan)
 adc range for a given channel in a given run
int QDbDetector::GetThermometerChannel (int run)
 tower termometer channel
std::vector< int > QDbDetector::GetMuonQDCChannels (int)
 get the list of QDC daq channels
std::vector< int > QDbDetector::GetMuonTDCChannels (int)
 get the list of TDC daq channels
std::string QDbDetector::GetScintillatorNameFromQDCCh (int channel, int run)
 get the name of the scintillator
double QDbDetector::GetScintillatorThickness (std::string name, int run)


Generated on Fri Mar 6 13:40:40 2009 for CUORE Software by  doxygen 1.5.1