 |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef CALOCONDPHYSALGS_CaloNoiseCompCondAlg_H
12 #define CALOCONDPHYSALGS_CaloNoiseCompCondAlg_H
58 namespace CLHEP {
class HepRandomEngine; }
114 const float Nminbias=-1);
116 const float Nminbias=-1);
123 const float Nminbias=-1);
126 const float Nminbias=-1);
128 const float Nminbias=-1);
130 const float Nminbias=-1);
282 void commonCalculations(
float & OFC_AC_OFC,
float & OFC_OFC,
int icase,
unsigned int firstSample=0);
295 const float &Nminbias);
316 if(tested_value<
BADVALUE+1)
return true;
def retrieve(aClass, aKey=None)
SG::ReadCondHandleKey< ILArNoise > m_noiseKey
const ILArOFC * m_ofccond
float adc2mev(const CaloDetDescrElement *caloDDE, const CaloGain::CaloGain gain)
void updateDiagnostic(int reason, const std::string &reason_name, int igain, bool &noiseOK)
CaloGain::CaloGain m_highestGain[m_nCalos]
void commonCalculations(float &OFC_AC_OFC, float &OFC_OFC, int icase, unsigned int firstSample=0)
const ILArNoise * m_noise
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
std::vector< IdentifierHash > m_indexContainer
StatusCode initPileUpNoise()
SG::ReadCondHandleKey< ILArOFC > m_LArOFCObjKey
algo to compute electronic and pile up noise in MeV @ based on old CaloNoiseTool, only WorkMode=1 imp...
const ILArShape * m_shapecond
const LArHEC_Base_ID * m_lar_hec_id
const LArFCAL_Base_ID * m_lar_fcal_id
VectorContainer m_elecNoiseRAWContainer
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
bool m_diagnostic[m_nGains]
BooleanProperty m_DumpDatabaseHG
VectorContainer m_adc2mevContainer
BooleanProperty m_DiagnosticLG
BooleanProperty m_UseSymmetry
SingleContainer m_pileupNoiseContainer
IdentifierHash m_TileHashMax
int m_nReason[5000][m_nGains]
const LArOnOffIdMapping * m_cabling
std::vector< float > SingleContainer
virtual StatusCode finalize() override final
standard Athena-Algorithm method
float calculatePileUpNoise(const IdentifierHash &idCaloHash, const float &Nminbias)
const LArEM_Base_ID * m_lar_em_id
CaloGain::CaloGain estimatedGain(const CaloDetDescrElement *caloDDE, const float &energy)
Definition of CaloDetDescrManager.
LArVectorProxy m_AutoCorr
This class defines the interface for accessing AutoCorrelation parameters for each channel @stereotyp...
SG::ReadCondHandleKey< ILArShape > m_shapeKey
std::string m_ReturnNoiseName
StatusCode retrieveCellDatabase(const IdentifierHash &idCaloHash, const Identifier &id, int igain, std::vector< bool > &retrieve)
UnsignedIntegerProperty m_firstSample
int m_reason[5000][10][m_nGains]
StatusCode initAdc2MeV(const LArADC2MeV *adc2mev)
BooleanProperty m_DumpDatabaseLG
@ PILEUPNOISE_HIGHESTGAIN
int index(const IdentifierHash &idCaloHash)
float m_LowGainThresh[m_nCalos]
IdentifierHash m_CaloHashMin
const AtlasDetectorID * m_atlas_id
This class initializes the Calo (LAr and Tile) offline identifiers.
StatusCode initElecNoise()
Helper class for offline supercell identifiers.
StatusCode checkCellDatabase(const Identifier &id, int igain, std::vector< bool > &retrieve)
bool checkIfConnected(const Identifier &id)
::StatusCode StatusCode
StatusCode definition for legacy code.
const CaloIdManager * m_calo_id_man
float elecNoiseRMS(const CaloCell *caloCell)
SUBCALO
enumeration of sub calorimeters
float pileupNoiseRMS(const CaloCell *caloCell, const float Nminbias=-1)
std::vector< float > elecNoiseRMS3gains(const CaloDetDescrElement *caloDDE)
virtual StatusCode execute() override final
standard Athena-Algorithm method
CaloNoiseCompCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
const CaloDetDescrManager * m_calo_dd_man
int sub_calo(const Identifier id) const
returns an int taken from SUBCALO enum and describing the subCalo to which the Id belongs.
IdentifierHash m_LArHashMax
StatusCode initContainers()
Helper class for offline cell identifiers.
const ILArPedestal * m_ped
SG::WriteCondHandleKey< CaloNoise > m_outputElecKey
SG::ReadCondHandleKey< ILArfSampl > m_fSamplKey
BooleanProperty m_DiagnosticMG
SG::ReadCondHandleKey< ILArMinBias > m_LArMinBiasObjKey
float totalNoiseRMS(const CaloCell *caloCell, const float Nminbias=-1)
@ ONLYRIGHTSIDEINTEGRATION
BooleanProperty m_DiagnosticHG
float m_HighGainThresh[m_nCalos]
int m_idHash[5000][m_nGains]
CaloGain::CaloGain estimatedGain(const CaloCell *caloCell)
const ILArMinBias * m_minbias
std::string m_reasonName[10]
CaloGain::CaloGain estimatedLArGain(const CaloCell_ID::SUBCALO &iCalo, const CaloDetDescrElement *caloDDE, const float &energy)
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
StatusCode initData(const LArADC2MeV *adc2mev)
float totalNoiseRMSHighestGain(const CaloCell *caloCell, const float Nminbias=-1)
This class provides the client interface for accessing the detector description information common to...
Data object for each calorimeter readout cell.
int m_nCellsWithProblem[m_nGains]
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
SG::ReadCondHandleKey< ILArAutoCorr > m_acorrKey
BooleanProperty m_DumpDatabaseMG
virtual StatusCode initialize() override final
standard Athena-Algorithm method
const ILArAutoCorr * m_acorr
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
VectorContainer m_elecNoiseCELLContainer
std::vector< float > calculateElecNoiseForLAR(const IdentifierHash &idCaloHash)
defines and typedefs for IOVSvc
std::vector< IdentifierHash > m_idSymmCaloHashContainer
static constexpr int m_nGains
@ ELECTRONICNOISE_HIGHESTGAIN
bool isBadValue(float tested_value)
SG::WriteCondHandleKey< CaloNoise > m_outputPileupKey
IntegerProperty m_deltaBunch
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
const CaloCell_SuperCell_ID * m_calosupercell_id
CaloGain::CaloGain estimatedGain(const CaloCell *caloCell, const CaloDetDescrElement *caloDDE)
virtual ~CaloNoiseCompCondAlg()=default
Default Destructor.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
std::vector< std::vector< float > > VectorContainer
int m_itReason[10][m_nGains]
const ILArfSampl * m_fsamplcond
const CaloCell_ID * m_calocell_id
CalorimeterNoiseSymmetryHandling
static constexpr int m_nCalos
Proxy for accessing a range of float values like a vector.
CaloCell_ID::SUBCALO caloNum(const IdentifierHash idCaloHash)
IdentifierHash m_CaloHashMax