15#include "GaudiKernel/ServiceHandle.h"
16#include "GaudiKernel/ToolHandle.h"
55 CscCalcSlope(
const std::string& name, ISvcLocator* pSvcLocator);
79 ToolHandle<ICscCalibTool>
m_cscCalibTool{
this,
"CscCalibTool",
"CscCalibTool"};
125 StatusCode
fillBitHist(TH1I * bitHist,
const uint16_t & val);
151 return StatusCode::RECOVERABLE;
154 std::bitset<12> bitVal(val);
156 for(
unsigned int bitIndex = 0; bitIndex <
m_numBits; bitIndex++){
157 if(bitVal[bitIndex]){
158 bitHist->Fill(bitIndex);
163 return StatusCode::SUCCESS;
An STL vector of pointers that by default owns its pointed-to elements.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StatusCode initialize(void)
basic required functions
std::string m_outputFileName
Parameters input through joboptions.
CscCalibResultCollection * m_peakTimes
std::map< int, TProfile * > * m_ampProfs
double calShape(double *x, double *par)
std::array< double, 24 > m_crossTalkFix
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
int m_expectedChamberLayer
SG::ReadCondHandleKey< CscCondDbData > m_readKey
TProfile * m_peakTimeProf
CscCalibResultCollection * m_intercepts
bool m_ignoreDatabaseError
StatusCode finalize(void)
StatusCode calculateParameters()
Finalize functions.
std::vector< float > * m_fitReturns
DataVector< TGraphErrors > * m_calGraphs
CscCalibResultCollection * m_slopes
std::string m_calOutputVersion
ToolHandle< ICscCalibTool > m_cscCalibTool
Services and tools.
int m_eventCnt
coherent correction array has the corrections to the coherently pulsed channels to get the basic chan...
std::string m_titlePrefix
DataVector< DataVector< TProfile > > * m_fracProfs
StatusCode storeGateRecord()
unsigned int m_maxStripHash
Internally global variables.
StatusCode fillBitHist(TH1I *bitHist, const uint16_t &val)
CscCalcSlope(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< Muon::ICSC_RDO_Decoder > m_cscRdoDecoderTool
void outputParameter3(const CscCalibResultCollection &results, std::ofstream &out)
std::vector< float > m_dbLevels
std::string m_titlePostfix
DataVector< DataVector< TGraph > > * m_fracGraphs
DataVector< TH1I > * m_bitHists
SmartIF< IChronoStatSvc > m_chronoSvc
TProfile * m_currentAmpProf
std::set< int > * m_pulsedChambers
std::string m_pedFileName
StatusCode collectEventInfo()
event loop functions
StatusCode writeCalibrationFile()
StatusCode makeCalibPoints()
Utility functions.
std::string m_cmd_parameters
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.