ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
19
22#include "Identifier/Identifier.h"
23
24class TileID;
25class TileHWID;
26class CaloCell_ID;
27class CaloCell;
29
30#include <string>
31#include <vector>
32
33class 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:
52 StatusCode createMiscalibratedCellList();
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
72
74 std::map<Identifier, double> m_celllist;
75
76};
77
78#endif
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
Gaudi::Property< std::vector< std::string > > m_deadDrawerInput
Property: List of "dead" drawers.
virtual double wtCell(const CaloCell *theCell) const override
implementation of ICellWeightTool weighting method
TileCellFakeProb(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual StatusCode initialize() override
AlgTool Initialization.
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
std::map< Identifier, double > m_celllist
List of "dead" cells and their weights.
StatusCode createMiscalibratedCellList()
Reads in properties and creates list of miscalibrated cells.
virtual ~TileCellFakeProb()
Standard destructor.
const TileCablingService * m_cabling
Pointer to TileCablingService.
const TileID * m_tileID
Pointer to TileID.
const TileHWID * m_tileHWID
Pointer to TileHWID.
const CaloCell_ID * m_caloID
Pointer to CaloCellID.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Helper class for TileCal offline identifiers.
Definition TileID.h:67