Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawTowerDeadMapv1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file RawTowerDeadMapv1.h
1 #ifndef CALOBASE_RAWTOWERDEADMAPV1_H
2 #define CALOBASE_RAWTOWERDEADMAPV1_H
3 
4 #include "RawTowerDeadMap.h"
5 #include "RawTowerDefs.h"
6 
7 #include <iostream>
8 
10 {
11  public:
13  : _caloid(caloid)
14  {
15  }
16  ~RawTowerDeadMapv1() override {}
17 
18  void Reset() override;
19  int isValid() const override;
20  void identify(std::ostream &os = std::cout) const override;
21 
22  void setCalorimeterID(RawTowerDefs::CalorimeterId caloid) override { _caloid = caloid; }
24  void addDeadTower(const unsigned int ieta, const unsigned int iphi) override;
25  void addDeadTower(RawTowerDefs::keytype key) override;
26 
27  bool isDeadTower(RawTowerDefs::keytype key) override;
28  bool isDeadTower(const unsigned int ieta, const unsigned int iphi) override;
30  const Map &getDeadTowers(void) const override;
31  Map &getDeadTowers(void) override;
32 
33  unsigned int size() const override { return m_DeadTowers.size(); }
34 
35  private:
38 
39  ClassDefOverride(RawTowerDeadMapv1, 1)
40 };
41 
42 #endif