CMS 3D CMS Logo

DetStatus.h
Go to the documentation of this file.
1 #ifndef DetStatus_H
2 #define DetStatus_H
3 
8 
9 class DetStatus : public edm::EDFilter {
10 public:
12  ~DetStatus() override;
13 
14 private:
15  bool filter(edm::Event&, edm::EventSetup const&) override;
16 
17  bool verbose_;
19  bool AndOr_;
20  std::vector<std::string> DetNames_;
21  std::bitset<DcsStatus::nPartitions> requestedPartitions_;
22  unsigned int DetMap_;
25 
26  bool checkForDCSStatus(const DcsStatusCollection& dcsStatus);
27  bool checkForDCSRecord(const DCSRecord& dcsRecod);
28 };
29 
30 #endif
DetStatus::scalersToken_
edm::EDGetTokenT< DcsStatusCollection > scalersToken_
Definition: DetStatus.h:23
DcsStatus.h
edm::EDGetTokenT< DcsStatusCollection >
EDFilter.h
DCSRecord
Class to contain DCS information from soft FED 1022.
Definition: DCSRecord.h:20
DetStatus::DetStatus
DetStatus(const edm::ParameterSet &)
Definition: DetStatus.cc:12
DetStatus::checkForDCSStatus
bool checkForDCSStatus(const DcsStatusCollection &dcsStatus)
Definition: DetStatus.cc:49
edm::ParameterSet
Definition: ParameterSet.h:36
DetStatus::requestedPartitions_
std::bitset< DcsStatus::nPartitions > requestedPartitions_
Definition: DetStatus.h:21
edm::EDFilter
Definition: EDFilter.h:39
edm::EventSetup
Definition: EventSetup.h:57
DetStatus::DetMap_
unsigned int DetMap_
Definition: DetStatus.h:22
DetStatus::dcsRecordToken_
edm::EDGetTokenT< DCSRecord > dcsRecordToken_
Definition: DetStatus.h:24
DetStatus
Definition: DetStatus.h:9
DetStatus::verbose_
bool verbose_
Definition: DetStatus.h:17
DetStatus::checkForDCSRecord
bool checkForDCSRecord(const DCSRecord &dcsRecod)
Definition: DetStatus.cc:82
DCSRecord.h
ParameterSet.h
DetStatus::~DetStatus
~DetStatus() override
Definition: DetStatus.cc:46
edm::Event
Definition: Event.h:73
DcsStatusCollection
std::vector< DcsStatus > DcsStatusCollection
Definition: DcsStatus.h:110
DetStatus::DetNames_
std::vector< std::string > DetNames_
Definition: DetStatus.h:20
DetStatus::AndOr_
bool AndOr_
Definition: DetStatus.h:19
DetStatus::applyfilter_
bool applyfilter_
Definition: DetStatus.h:18
DetStatus::filter
bool filter(edm::Event &, edm::EventSetup const &) override
Definition: DetStatus.cc:116