ATLAS Offline Software
TileCellFakeProb.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILERECUTILS_TILECELLFAKEPROB_H
6 #define TILERECUTILS_TILECELLFAKEPROB_H
7 
19 
22 #include "Identifier/Identifier.h"
23 
24 class TileID;
25 class TileHWID;
26 class CaloCell_ID;
27 class CaloCell;
28 class TileCablingService;
29 
30 #include <string>
31 #include <vector>
32 
33 class TileCellFakeProb: public extends<AthAlgTool, ICellWeightTool> {
34 
35  public:
36 
38  TileCellFakeProb(const std::string& type, const std::string& name,
39  const IInterface* parent);
40 
42  virtual ~TileCellFakeProb();
43 
45  virtual StatusCode initialize() override;
46 
48  virtual double wtCell(const CaloCell* theCell) const override;
49 
50  private:
53 
58  "TileCablingSvc", "TileCablingSvc", "The Tile cabling service"};
59 
61  Gaudi::Property<std::vector<std::string>> m_deadDrawerInput{this,
62  "DeadDrawerList", {}, "List of dead drawers"};
63 
67  const TileID * m_tileID;
72 
74  std::map<Identifier, double> m_celllist;
75 
76 };
77 
78 #endif
TileCablingSvc.h
TileCellFakeProb::m_deadDrawerInput
Gaudi::Property< std::vector< std::string > > m_deadDrawerInput
Property: List of "dead" drawers.
Definition: TileCellFakeProb.h:61
TileCellFakeProb::m_tileHWID
const TileHWID * m_tileHWID
Pointer to TileHWID.
Definition: TileCellFakeProb.h:69
ICellWeightTool.h
TileCellFakeProb::createMiscalibratedCellList
StatusCode createMiscalibratedCellList()
Reads in properties and creates list of miscalibrated cells.
Definition: TileCellFakeProb.cxx:80
TileCellFakeProb::m_cabling
const TileCablingService * m_cabling
Pointer to TileCablingService.
Definition: TileCellFakeProb.h:71
TileCellFakeProb::initialize
virtual StatusCode initialize() override
AlgTool Initialization.
Definition: TileCellFakeProb.cxx:30
TileCellFakeProb::~TileCellFakeProb
virtual ~TileCellFakeProb()
Standard destructor.
Definition: TileCellFakeProb.cxx:57
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileCellFakeProb::TileCellFakeProb
TileCellFakeProb(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: TileCellFakeProb.cxx:19
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
TileCablingService
Definition: TileCablingService.h:23
TileCellFakeProb::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Definition: TileCellFakeProb.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TileCellFakeProb
Scales down the energy of cells due to simulated failure of drawers.
Definition: TileCellFakeProb.h:33
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileCellFakeProb::m_celllist
std::map< Identifier, double > m_celllist
List of "dead" cells and their weights.
Definition: TileCellFakeProb.h:74
TileCellFakeProb::m_caloID
const CaloCell_ID * m_caloID
Pointer to CaloCellID.
Definition: TileCellFakeProb.h:65
TileCellFakeProb::m_tileID
const TileID * m_tileID
Pointer to TileID.
Definition: TileCellFakeProb.h:67
TileCellFakeProb::wtCell
virtual double wtCell(const CaloCell *theCell) const override
implementation of ICellWeightTool weighting method
Definition: TileCellFakeProb.cxx:61
ServiceHandle< TileCablingSvc >