ATLAS Offline Software
Loading...
Searching...
No Matches
TileCellMaskingTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TILECELLMASKINGTOOL_H
6#define TILECELLMASKINGTOOL_H
7
8// Gaudi includes
9#include "GaudiKernel/ServiceHandle.h"
10
11// Atlas includes
13
14// Calo includes
17
18#include <string>
19#include <vector>
20#include <bitset>
21
22class TileID;
23class TileHWID;
24
25class TileCellMaskingTool: public AthAlgTool, virtual public ICaloCellMakerTool {
26 public:
27 TileCellMaskingTool(const std::string& type
28 , const std::string& name
29 , const IInterface* parent);
30
31 virtual StatusCode initialize() override;
32 virtual StatusCode process (CaloCellContainer* theCellContainer,
33 const EventContext& ctx) const override;
34 virtual StatusCode finalize() override;
35
36 virtual bool channel_is_good(HWIdentifier & hwid);
37
38 private:
39
40 StatusCode fillIncludedCellsMap();
41 void killer(const std::string& component, int ros, int drw, int index);
42
43 std::vector<std::string> m_rejectedTileDrawer;
44 std::vector<std::string> m_rejectedTileMB;
45 std::vector<std::string> m_rejectedTileDigitizer;
46 std::vector<std::string> m_rejectedTileDMU;
47 std::vector<std::string> m_rejectedTileChannels;
49
52
53 std::bitset<65536> m_includedCellsMap;
54
55};
56
57#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Container class for CaloCell.
std::vector< std::string > m_rejectedTileChannels
std::vector< std::string > m_rejectedTileDigitizer
virtual bool channel_is_good(HWIdentifier &hwid)
std::vector< std::string > m_rejectedTileMB
std::bitset< 65536 > m_includedCellsMap
std::vector< std::string > m_rejectedTileDrawer
TileCellMaskingTool(const std::string &type, const std::string &name, const IInterface *parent)
void killer(const std::string &component, int ros, int drw, int index)
virtual StatusCode finalize() override
const TileHWID * m_tileHWID
std::vector< std::string > m_rejectedTileDMU
virtual StatusCode initialize() override
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Helper class for TileCal offline identifiers.
Definition TileID.h:67
const std::string process
Definition index.py:1