|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TILERAWCHNOISECALIBALG_H
6 #define TILERAWCHNOISECALIBALG_H
19 #include "GaudiKernel/ToolHandle.h"
85 static void doFit(
TH1F*
h,
float* gp,
bool invert =
true);
121 "TileCondToolEmscale",
"TileCondToolEmscale",
"Tile em scale tool"};
123 "TileBadChanTool",
"TileBadChanTool",
"Tile bad channel tool"};
126 "TileCondIdTransforms",
"TileCondIdTransforms",
"Tile Id transforms tool"};
130 "EventInfo",
"EventInfo",
"EventInfo key"};
132 "TileRawChannelContainerFixed",
"TileRawChannelFixed",
133 "Input Tile raw channel container reconstructed with ATLAS method"};
135 "TileRawChannelContainerFit",
"TileRawChannelFit",
136 "Input Tile raw channel container reconstructed with Fit method"};
138 "TileRawChannelContainerOpt",
"TileRawChannelOpt2",
139 "Input Tile raw channel container reconstructed with Opt method"};
141 "TileRawChannelContainerDsp",
"TileRawChannelCnt",
142 "Input Tile raw channel container from DSP"};
144 "TileRawChannelContainerOF1",
"TileRawChannelOF1",
145 "Input Tile raw channel container reconstructed with OF1 method"};
147 "TileRawChannelContainerMF",
"TileRawChannelMF",
148 "Input Tile raw channel container reconstructed with MF method"};
246 #endif // TILENOISECALIBALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerDspKey
static constexpr int NSIDES
float(* m_rc_gsigma2)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
float(* m_ecell_rms)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
float(* m_rc_av)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
float(* m_gerrsigma2)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
float(* m_gsigma2)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
std::string m_digitsContainer
void fillCellHist()
fillCellHist is called during execute It fill the HGHG and LGLG combination of the cell energies
float(* m_rc_sigma)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
std::string m_OF1RawChannelContainer
float(* m_gcorrsigma1sigma2)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
std::string m_beamElemContainer
const uint32_t * m_cispar
void StoreRunInfo(const TileDQstatus *dqStatus)
StoreRunInfo is called only during the first event.
ToolHandle< ITileBadChanTool > m_tileBadChanTool
TileBeamElemContByteStreamCnv * m_beamCnv
uint8_t(* m_drawer)[Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
static constexpr int NPARS
void deleteHist()
deleteHist is called at finalize to ensure that no histogram goes into any output root file delete []...
bool(* m_side)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
float(* m_gchi2)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
virtual StatusCode finalize() override
The output ntuple is created in finalize method.
float(* m_gerrsigma1)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
float(* m_rc_sigma_err)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
float(* m_gsigma1)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
float(* m_rc_mean_err)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerOF1Key
float(* m_rc_gchi2)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
void fillCell(TileRawChannelUnit::UNIT RChUnit, const TileRawChannel *rch)
int(* m_cell_nch)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][Tile::MAX_GAIN]
static const unsigned int MAX_DRAWER
Number of drawers in ROS 1-4.
static constexpr int NTOWERS
float(* m_ecell_av)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
float(* m_rc_gnorm)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
float(* m_rc_probC2)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
Helper class for TileCal online (hardware) identifiers.
Class that holds Data Quality fragment information and provides functions to extract the data quality...
void finalRawCh(int rctype)
finalDigits is called during finalize Here the average Ped, lfn, hfn and covariance are calculated.
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerMFKey
virtual StatusCode initialize() override
Only array initialization is done here All the helpers initialization is done at the first event.
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerOptKey
ToolHandle< TileCondIdTransforms > m_tileIdTrans
Helper class for TileCal offline identifiers.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerFitKey
const TileCablingService * m_cabling
virtual StatusCode execute() override
Main method.
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerFixedKey
float(* m_rc_gerrsigma2)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
uint32_t(* m_ecell_hash)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS]
float(* m_gnorm)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
std::string m_MFRawChannelContainer
static const unsigned int MAX_ROS
Number of ROSs
float(* m_ggpar)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS][NPARS]
Information produced by TileDQstatusAlg (used to be done by TileBeamInfoProvider).
float(* m_gerrnorm)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
This AthConstConverter class provides conversion from ByteStream to TileBeamElemContainer.
float(* m_rc_gsigma1)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
void finalCell()
finalCell is called during finalize Here the cell variables of the ntuple are filled.
uint8_t(* m_sample)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
StatusCode fillRawChannels(const TileDQstatus *dqStatus, const SG::ReadHandleKey< TileRawChannelContainer > &rawChannelContainerKey, RCtype rctype)
std::string m_fixedRawChannelContainer
static constexpr int NCELLGAINS
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
float(* m_rc_ndf)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
int(* m_evt)[Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
TileRawChNoiseCalibAlg(const std::string &name, ISvcLocator *pSvcLocator)
int digiChannel2PMT(int ros, int chan)
uint8_t(* m_phi)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
std::string m_fitRawChannelContainer
SG::ReadHandleKey< TileDQstatus > m_dqStatusKey
float(* m_ecell_ene)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][Tile::MAX_GAIN]
uint8_t(* m_tower)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
StatusCode FirstEvt_initialize()
Initialization done at the first event.
std::string m_optRawChannelContainer
virtual ~TileRawChNoiseCalibAlg()
float(* m_rc_gcorrsigma1sigma2)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
static int channel2hole(int ros, int channel)
std::string m_dspRawChannelContainer
uint8_t(* m_gg)[Tile::MAX_DRAWER][NSAMPLES][NTOWERS][NCELLGAINS]
float(* m_rc_rms)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
static constexpr int NSAMPLES
bool(* m_gain)[Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
static void doFit(TH1F *h, float *gp, bool invert=true)
doFit performs the double gaussian fit of the amplitude
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
const TileHWID * m_tileHWID
static const unsigned int MAX_CHAN
Number of channels in drawer.
float(* m_rc_kurtosis)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
float(* m_rc_ggpar)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN][NPARS]
float(* m_rc_chi2)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
setBGCode setTAP setLVL2ErrorBits bool
uint8_t(* m_ros)[Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
float(* m_rc_mean)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
float(* m_rc_gerrnorm)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
float(* m_rc_skewness)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
float(* m_rc_gerrsigma1)[Tile::MAX_ROS][Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]
static const unsigned int MAX_GAIN
Number of gains per channel
uint8_t(* m_channel)[Tile::MAX_DRAWER][Tile::MAX_CHAN][Tile::MAX_GAIN]