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 {
  QDbDetector::RT_UNKNOWN, QDbDetector::RT_BACKGROUND, QDbDetector::RT_CALIBRATION, QDbDetector::RT_NPULSES,
  QDbDetector::RT_TEST, QDbDetector::RT_SIMULATION, QDbDetector::RT_REPROCESS
}
 possible run types More...
enum  QDbDetector::DetectorName {
  QDbDetector::DN_CUORICINO = 0, QDbDetector::DN_THREETOWERS = 1, QDbDetector::DN_CUORE0 = 2, QDbDetector::DN_CUORE = 3,
  QDbDetector::DN_HALLA = 4, QDbDetector::DN_HALLC = 5, QDbDetector::DN_HALLC_CUORE = 6, QDbDetector::DN_UNKNOWN = 9
}
 possible detector names More...

Functions

QDbDetector::RunType QDbDetector::GetRunType (int run)
 return run type
QDbDetector::RunType QDbDetector::GetRunTypeFromBasket (int basket)
 get run type for a given settings basket
QDbDetector::RunType QDbDetector::String2RunType (const std::string &s)
 string to RunType
std::string QDbDetector::RunType2String (QDbDetector::RunType runType)
 RunType to string.
int QDbDetector::GetMinAllowedRunNumber (DetectorName detector)
 get the minimum allowed run number for a given detector
int QDbDetector::GetMaxAllowedRunNumber (DetectorName detector)
 get the maximum allowed run number for a given detector
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 int > &chList)
 get the list of active logical channels in a given run
void QDbDetector::GetListOfPulsers (unsigned int run, std::map< unsigned int, std::list< unsigned int > > &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, or throws QError if bolo_id is NULL
int QDbDetector::Channel (const int run, const int boloId)
 channel from run_number and bolo_id
std::map< unsigned int,
unsigned int > 
QDbDetector::GetDaqCrates (int basket)
 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) Note that the return values are bolo_id, not channel
std::vector< int > QDbDetector::ActiveBoloList (int run)
 list of only active bolometers in a given run (no thermometers) Note that the return values are bolo_id, not channel
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="DB")
 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="DB")
 Get Pulser Id for bolometer boloId.
QVector QDbDetector::Position (int run, int channel)
 position of the crystal (QVector with 3 components, x,y,z)
int QDbDetector::BoloFloor (const int run, const int channel)
 return the floor of the bolometer
vector< int > QDbDetector::BolometersOnFloor (const int run, const int floor)
 return a vector containing all the channels on
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)
int QDbDetector::BoloTower (const int run, const int channel)
 return the tower of the bolometer
int QDbDetector::BoloPosition (const int run, const int channel)
 return the position of the bolometer within its floor possible values are 1, 2, 3, or 4
string QDbDetector::BoloName (const int run, const 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)
vector< int > QDbDetector::GetBolometerChannels (const int run)
 Get bolometer channels of a given run.
double QDbDetector::GetMass (int run, int channel)
 return crystal mass in kg
double QDbDetector::GetMass130Te (int run, int channel)
 return mass of 130Te in crystal (in kg)


Generated on Tue Nov 16 10:50:00 2010 for CUORE Software by  doxygen 1.5.6