Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InttMaskedChannelSet.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file InttMaskedChannelSet.h
1 #ifndef INTT_MASKED_CHANNEL_SET_H
2 #define INTT_MASKED_CHANNEL_SET_H
3 
4 #include "InttMap.h"
5 
6 #include <phool/PHObject.h>
7 
8 #include <iostream>
9 #include <string>
10 
11 class CDBTTree;
12 
14 {
15  public:
16  InttMaskedChannelSet() = default;
17  ~InttMaskedChannelSet() override = default;
18 
19  virtual void identify(std::ostream& = std::cout) const override;
20  virtual std::size_t size() const;
21 
22  int LoadFromFile(std::string const& = "InttMaskedChannelSet.root");
23  int LoadFromCDB(std::string const& = "InttMaskedChannelSet");
24 
25  bool IsDeadChannel(int const&, int const&, int const&, int const&, int const&) const;
26  virtual bool IsDeadChannel(InttMap::Offline_s const&) const;
27 
28  protected:
29  virtual int v_LoadFromCDBTTree(CDBTTree&);
30 
31  private:
32  ClassDefOverride(InttMaskedChannelSet, 1)
33 };
34 
35 #endif // INTT_MASKED_CHANNEL_SET_H