ATLAS Offline Software
LArCellRescaler.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //Dear emacs, this is -*-c++-*-
6 
7 #ifndef LARCELLREC_LARCELLRESCALER_H
8 #define LARCELLREC_LARCELLRESCALER_H
9 
10 
13 #include "StoreGate/DataHandle.h"
16 #include <string>
17 
18 class CaloCell;
19 
32 //Not safe due to callbacks
34 {
35 
36 public:
37 
38  LArCellRescaler (const std::string& type, const std::string& name,
39  const IInterface* parent);
40 
41  virtual ~LArCellRescaler();
42  virtual StatusCode initialize() override;
43 
44  virtual void MakeCorrection (CaloCell* theCell,
45  const EventContext& ctx) const override;
46 
47  private:
49  std::string m_key;
50 
51  StatusCode checkConstants(IOVSVC_CALLBACK_ARGS);
52 };
53 
54 #endif
LArCellRescaler::~LArCellRescaler
virtual ~LArCellRescaler()
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
CaloCellFactor.h
Container for a cell-level rescaling-factors, typically obtained by Z->ee intercalibration.
initialize
void initialize()
Definition: run_EoverP.cxx:894
CaloCellCorrection
Definition: CaloCellCorrection.h:51
IOVSVC_CALLBACK_ARGS
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
Definition: IOVSvcDefs.h:24
DataHandle.h
CaloCellCorrection.h
CaloCellCorrection::MakeCorrection
virtual void MakeCorrection(CaloCell *cellCollection, const EventContext &ctx) const =0
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArCellRescaler::m_factors
const DataHandle< CaloRec::CaloCellFactor > m_factors
Definition: LArCellRescaler.h:48
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArCellRescaler::m_key
std::string m_key
Definition: LArCellRescaler.h:49
DataHandle< CaloRec::CaloCellFactor >
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IOVSvcDefs.h
defines and typedefs for IOVSvc
checker_macros.h
Define macros for attributes used to control the static checker.
LArCellRescaler
Tool to re-scale cell energies. Weights would be typically obtained by Z->ee intercalibration.
Definition: LArCellRescaler.h:34