|
ATLAS Offline Software
|
Go to the documentation of this file.
42 if(
type-firstType<0 || type-firstType>=
nbTypes)
return -1.;
50 if(
type-firstType<0 || type-firstType>=
nbTypes)
return -1.;
58 if(
type-firstType<0 || type-firstType>=
nbTypes)
return -1;
65 if(
type-firstType<0 || type-firstType>=
nbTypes)
return -1;
72 if(
type-firstType<0 || type-firstType>=
nbTypes)
return false;
241 return m_pmtsLG[j].getPMSigmaPedestal();
244 return m_pmtsHG[j].getPMSigmaPedestal();
254 const int diodeCurrOrd,
255 const int diodeCurrMeas,
256 const int filtNumber,
257 const int timingDelay,
266 const int timeLastMeasP,
267 const double diodeBoxTemp,
268 const int timeLastMeasD,
269 const double gasFlux,
270 const int timeLastMeasF,
271 const double humidity,
272 const int timeLastMeasH,
273 const time_t lastPedMeas,
274 const time_t lastAlphaMeas)
276 m_slowCtrl.
setControl(pumpDiodeTemp, timeLastMeasP, diodeBoxTemp,timeLastMeasD, gasFlux, timeLastMeasF, humidity, timeLastMeasH, lastPedMeas, lastAlphaMeas);
281 const double LVdiodes,
288 m_plc.
setPLC(alphaPos, LVdiodes, HVpmts, shutter, interlock, alarm);
302 const double diodePedestal,
303 const double diodeSigmaPedestal,
305 const double sigmaAlpha,
306 const double pedestalAlpha,
307 const double sigmaPedAlpha,
308 const unsigned int gain)
313 m_diodesLG[diode].setDiode(diodeAdc, diodePedestal, diodeSigmaPedestal,
alpha, sigmaAlpha, pedestalAlpha, sigmaPedAlpha);
316 m_diodesHG[diode].setDiode(diodeAdc, diodePedestal, diodeSigmaPedestal,
alpha, sigmaAlpha, pedestalAlpha, sigmaPedAlpha);
327 const double pmPedestal,
328 const double pmSigmaPedestal,
329 const unsigned int gain)
333 m_pmtsLG[
pmt].setPmt(pmAdc, tdc, pmPedestal, pmSigmaPedestal);
336 m_pmtsHG[
pmt].setPmt(pmAdc, tdc, pmPedestal, pmSigmaPedestal);
349 TileLaserObject::operator std::string()
const
351 std::ostringstream
text;
352 text <<
"TileLaserObject:\n";
354 text <<
"version: " << m_version <<
" ";
355 text <<
"BCID: " << m_BCID <<
" ";
356 text <<
"daqtype: " << m_daqtype <<
" ";
357 text <<
"calibtype: " << m_calibtype <<
"\n";
358 text <<
" " <<
static_cast<std::string
> (m_slowCtrl) <<
"\n";
359 text <<
" " <<
static_cast<std::string
> (m_laserParameter) <<
"\n";
360 text <<
" " <<
static_cast<std::string
> (m_plc) <<
"\n";
361 text <<
" LG diodes\n";
363 text <<
" " <<
static_cast<std::string
> (
d) <<
"\n";
365 text <<
" HG diodes\n";
367 text <<
" " <<
static_cast<std::string
> (
d) <<
"\n";
369 text <<
" LG PMTs\n";
371 text <<
" " <<
static_cast<std::string
> (
p) <<
"\n";
373 text <<
" HG PMTs\n";
375 text <<
" " <<
static_cast<std::string
> (
p) <<
"\n";
378 for (
const std::vector<TileLasCalib>&
v : m_lascalib) {
379 text <<
" " <<
v.size() <<
"calibs\n";
381 text <<
" " <<
static_cast<std::string
> (
c) <<
"\n";
void setDaqType(const unsigned int daqtype)
int getTDC(const unsigned int j, const unsigned int gain=0) const
int getN(int chan, int gain, int type) const
void setPLC(const int alphaPos, const double LVdiodes, const double HVpmts, const int shutter, const int interlock, const int alarm)
int getType(int chan, int gain, int type) const
double getAlpha(const unsigned int i, const unsigned int gain=0) const
void setTimeouts(const bool qdc, const bool tdc)
std::vector< TileLaserDiode > m_diodesLG
TileLaserControl m_slowCtrl
bool isSet(int chan, int gain, int type) const
void setControl(const double pumpDiodeTemp, const int timeLastMeasP, const double diodeBoxTemp, const int timeLastMeasD, const double gasFlux, const int timeLastMeasF, const double humidity, const int timeLastMeasH, const time_t lastPedMeas, const time_t lastAlphaMeas)
void setLaser(const int Counter, const int diodeCurrOrd, const int diodeCurrMeas, const int filtNumber, const int timingDelay, const int version)
int getPMADC(const unsigned int j, const unsigned int gain=0) const
double getSigmaPedAlpha(const unsigned int i, const unsigned int gain=0) const
void setLaser(const int Counter, const int diodeCurrOrd, const int diodeCurrMeas, const int filtNumber, const int SlamaDelay)
double getMean(int chan, int gain, int type) const
std::vector< TileLaserDiode > m_diodesHG
void setCalibType(int type)
void setPmt(const unsigned int pmt, const int pmAdc, const int tdc, const double pmPedestal, const double pmSigmaPedestal, const unsigned int gain)
void setPLC(const int alphaPos, const double LVdiodes, const double HVpmts, const int shutter, const int interlock, const int alarm)
std::vector< std::vector< TileLasCalib > > m_lascalib
double getDiodeSigmaPedestal(const unsigned int i, const unsigned int gain=0) const
int getDiodeADC(const unsigned int i, const unsigned int gain=0) const
double getPMPedestal(const unsigned int j, const unsigned int gain=0) const
TileLaser m_laserParameter
double getPMSigmaPedestal(const unsigned int j, const unsigned int gain=0) const
double getDiodePedestal(const unsigned int i, const unsigned int gain=0) const
void setControl(const double pumpDiodeTemp, const int timeLastMeasP, const double diodeBoxTemp, const int timeLastMeasD, const double gasFlux, const int timeLastMeasG, const double humidity, const int timeLastMeasH, const time_t lastPedMeas, const time_t lastAlphaMeas)
std::vector< TileLaserPmt > m_pmtsLG
void setDiode(const unsigned int diode, const int diodeAdc, const double diodePedestal, const double diodeSigmaPedestal, const double alpha, const double sigmaAlpha, const double pedestalAlpha, const double sigmaPedAlpha, const unsigned int gain)
void setCalib(int chan, int type, double sumXinQDC, double sumX2inQDC, int nevts, int gain)
double getSigmaAlpha(const unsigned int i, const unsigned int gain=0) const
std::vector< TileLaserPmt > m_pmtsHG
double getSigma(int chan, int gain, int type) const
double getPedestalAlpha(const unsigned int i, const unsigned int gain=0) const