Classes | |
| class | RootLoad |
Enumerations | |
| enum | RunType { RT_UNKNOWN, RT_BACKGROUND, RT_CALIBRATION, RT_NPULSES, RT_TEST, RT_SIMULATION } |
| Run Type. | |
| enum | 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 | GetRunType (int run) |
| return run type | |
| QDbDetector::RunType | String2RunType (const std::string &s) |
| string to RunType | |
| std::string | RunType2String (QDbDetector::RunType runType) |
| RunType to string. | |
| QDbDetector::DetectorName | GetDetectorName (int run) |
| return DetectorName | |
| std::string | DetectorName2String (QDbDetector::DetectorName detectorId) |
| DetectorName to string. | |
| int | NRun (const QTime &time) |
| int | NRun (time_t time) |
| run number from timestamp | |
| int | ProfileId (int run) |
| profile_id from run_number | |
| int | BoloId (const int run, const int ch) |
| bolo_id from run_number and channel | |
| int | Channel (const int run, const int boloId) |
| channel from run_number and bolo_id | |
| std::vector< int > | FloorList (int run) |
| list of all floors in a given run | |
| std::vector< int > | BoloList (int run) |
| list of all bolometers in a given run (no thermometers) | |
| std::vector< int > | ActiveBoloList (int run) |
| list of only active bolometers in a given run (no thermometers) | |
| bool | IsActiveBolo (int run, int id) |
| check if a channel is active | |
| std::vector< int > | ActiveChannelList (const int run) |
| list of only active channels in a given run (no thermometers) | |
| std::vector< int > | ThermList (int run) |
| list of thermistors (without crystals) read in a given run | |
| std::map< int, int > | TrgThresholdList (int run) |
| get trigger threshold list | |
| std::vector< int > | 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 | GetPulserId (int run, int boloId, const std::string &filename) |
| Get Pulser Id for bolometer boloId. | |
| QVector | Position (int channel) |
| position of the chrystal (QVector with 3 components, x,y,z) | |
| int | BoloFloor (int channel) |
| return the position of the bolometer whose chennel nb is | |
| std::vector< int > | BolometersOnFloor (int floor) |
| return an array containing all the channel in | |
| std::map< int, int > | ChannelFloor (int run) |
| return a map of (channel, floor) | |
| std::multimap< int, int > | FloorChannel (int run) |
| return a multimap (floor,channel) | |
| std::string | BoloName (int channel) |
| return bolometer name | |
| double | SamplingFrequency (int run, int chan) |
| sampling frequency for a given channel in a given run | |
| std::vector< double > | ADCRange (int run, int chan) |
| adc range for a given channel in a given run | |
| int | GetThermometerChannel (int run) |
| tower termometer channel | |
| std::vector< int > | GetMuonQDCChannels (int) |
| get the list of QDC daq channels | |
| std::vector< int > | GetMuonTDCChannels (int) |
| get the list of TDC daq channels | |
| double | GetScintillatorThickness (std::string name, int run) |
| std::string | GetScintillatorNameFromQDCCh (int channel, int run) |
| get the name of the scintillator | |
| std::map< unsigned short, unsigned short > | GetDaqCrates (const int run) |
| get a map of logical channels and the DAQ crates they belong to | |
| unsigned int | SettingsBasket (const unsigned int run) |
| get settings basket for the requested run number | |
| unsigned int | GetCurrentRunNumber () |
| get current run number (used by online) | |
| void | GetListOfChannels (unsigned int run, std::list< unsigned short > &chList) |
| get the list of active logical channels in a given run | |
| void | 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 | NRun (const Cuore::QTime &time) |
| run number from time of event | |
| std::vector< int > QDbDetector::ActiveBoloList | ( | int | run | ) |
list of only active bolometers in a given run (no thermometers)
| run | run number |
| std::vector< int > QDbDetector::ActiveChannelList | ( | const int | run | ) |
list of only active channels in a given run (no thermometers)
| run | run number |
| std::vector< double > QDbDetector::ADCRange | ( | int | run, | |
| int | chan | |||
| ) |
adc range for a given channel in a given run
| run | ||
| channel |
| int QDbDetector::BoloFloor | ( | int | channel | ) |
return the position of the bolometer whose chennel nb is
| channel | MV FIXME need run number as input |
| int QDbDetector::BoloId | ( | const int | run, | |
| const int | ch | |||
| ) |
bolo_id from run_number and channel
| run | run number | |
| ch | channel |
| std::vector< int > QDbDetector::BoloList | ( | int | run | ) |
list of all bolometers in a given run (no thermometers)
| run | run number |
| std::vector< int > QDbDetector::BolometersOnFloor | ( | int | floor | ) |
return an array containing all the channel in
| floor | MV FIXME need run number as input |
| std::string QDbDetector::BoloName | ( | int | channel | ) |
return bolometer name
| channel | channel number MV FIXME need run number as input |
| int QDbDetector::Channel | ( | const int | run, | |
| const int | boloId | |||
| ) |
channel from run_number and bolo_id
| run | run_number | |
| boloId | bolo_id |
| std::map< int, int > QDbDetector::ChannelFloor | ( | int | run | ) |
return a map of (channel, floor)
| run | run number |
| std::multimap< int, int > QDbDetector::FloorChannel | ( | int | run | ) |
return a multimap (floor,channel)
| run | run number |
| std::vector< int > QDbDetector::FloorList | ( | int | run | ) |
list of all floors in a given run
| run | run number |
| std::map< unsigned short, unsigned short > QDbDetector::GetDaqCrates | ( | const int | run | ) |
get a map of logical channels and the DAQ crates they belong to
| run | run number |
| DetectorName QDbDetector::GetDetectorName | ( | int | run | ) |
return DetectorName
| run | run number |
| void QDbDetector::GetListOfChannels | ( | unsigned int | run, | |
| std::list< unsigned short > & | chList | |||
| ) |
get the list of active logical channels in a given run
| run | run number | |
| chList | filled with list of active channels |
| 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
| run | run number | |
| pulsers | map filled with pulser channels (key) and corresponding list of logical channels (value). The lists of logical channels are sorted in ascending order |
| std::vector< int > QDbDetector::GetMuonQDCChannels | ( | int | ) |
get the list of QDC daq channels
| run |
| std::vector< int > QDbDetector::GetMuonTDCChannels | ( | int | ) |
get the list of TDC daq channels
| run |
| RunType QDbDetector::GetRunType | ( | int | run | ) |
return run type
| run | run number |
| std::string QDbDetector::GetScintillatorNameFromQDCCh | ( | int | channel, | |
| int | run | |||
| ) |
get the name of the scintillator
| qdc | channel | |
| run |
| double QDbDetector::GetScintillatorThickness | ( | std::string | name, | |
| int | run | |||
| ) |
get the thickness of a scintillator (in cm) param scintillaotr name param run
| int QDbDetector::GetThermometerChannel | ( | int | run | ) |
tower termometer channel
| run |
| bool QDbDetector::IsActiveBolo | ( | int | run, | |
| int | id | |||
| ) |
check if a channel is active
| run | run number, id bolometer id |
| int QDbDetector::NRun | ( | const Cuore::QTime & | time | ) |
| int QDbDetector::NRun | ( | time_t | time | ) |
run number from timestamp
| time | timestamp in msec from 1901 MV FIXME need run number as input |
| Cuore::QVector QDbDetector::Position | ( | int | channel | ) |
position of the chrystal (QVector with 3 components, x,y,z)
| channel | logical channel (1-1 correspondence with bolometers) MV FIXME need run number as input |
| int QDbDetector::ProfileId | ( | int | run | ) |
profile_id from run_number
| run | run number |
| double QDbDetector::SamplingFrequency | ( | int | run, | |
| int | chan | |||
| ) |
sampling frequency for a given channel in a given run
| run | ||
| channel |
| std::vector< int > QDbDetector::ThermList | ( | int | run | ) |
list of thermistors (without crystals) read in a given run
| run | run number |
1.5.1