ATLAS Offline Software
CaloCellRescaler.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 CALOCELLCORRECTION_CALOCELLRESCALER_H
8 #define CALOCELLCORRECTION_CALOCELLRESCALER_H
9 
10 
13 
14 class CaloCell;
15 
16 //Tool to re-scale cell energies. Factors to be given by jobOptions
17 
18 //To invoke this tool:
19 //CaloCellMaker.CaloCellMakerToolNames+=["CaloCellContainerCorrectorTool"]
20 //ToolSvc.CaloCellContainerCorrectorTool.CellCorrectionToolNames+=["CaloCellRescaler"]
21 //ToolSvc.CaloCellContainerCorrectorTool.CaloNums=[0,3] #LAr EM and Tile
22 //ToolSvc.CaloCellRescaler.FactorToCellsEMB0=1.5
23 //ToolSvc.CaloCellRescaler.FactorToCellsEMB1=1.5
24 //ToolSvc.CaloCellRescaler.FactorToCellsEMB2=1.5
25 //ToolSvc.CaloCellRescaler.FactorToCellsEMB3=1.5
26 //ToolSvc.CaloCellRescaler.FactorToCellsTILEB0=1.5
27 //ToolSvc.CaloCellRescaler.FactorToCellsTILEB1=1.5
28 //ToolSvc.CaloCellRescaler.FactorToCellsTILEB2=1.5
29 
31 
32 public:
33 
34  CaloCellRescaler (const std::string& type, const std::string& name,
35  const IInterface* parent);
36 
38  virtual StatusCode initialize() override;
39 
40  virtual void MakeCorrection (CaloCell* theCell,
41  const EventContext& ctx) const override;
42 
43  private:
44 
46 
47 };
48 
49 #endif
50 
GetLCDefs::Unknown
@ Unknown
Definition: GetLCDefs.h:21
CaloCellRescaler
Definition: CaloCellRescaler.h:30
CaloCellCorrection
Definition: CaloCellCorrection.h:51
CaloCellRescaler::initialize
virtual StatusCode initialize() override
Definition: CaloCellRescaler.cxx:45
CaloCellRescaler::~CaloCellRescaler
~CaloCellRescaler()
CaloCellRescaler::m_factorToCells
float m_factorToCells[CaloCell_ID::Unknown+1]
Definition: CaloCellRescaler.h:45
CaloCell_ID.h
CaloCellCorrection.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloCellRescaler::CaloCellRescaler
CaloCellRescaler(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloCellRescaler.cxx:9
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloCellRescaler::MakeCorrection
virtual void MakeCorrection(CaloCell *theCell, const EventContext &ctx) const override
Definition: CaloCellRescaler.cxx:51