ATLAS Offline Software
Loading...
Searching...
No Matches
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
14class 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
32public:
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
45 float m_factorToCells[CaloCell_ID::Unknown+1];
46
47};
48
49#endif
50
CaloCellRescaler(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
float m_factorToCells[CaloCell_ID::Unknown+1]
virtual void MakeCorrection(CaloCell *theCell, const EventContext &ctx) const override
Data object for each calorimeter readout cell.
Definition CaloCell.h:57