CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Masks.h
Go to the documentation of this file.
1 #ifndef Masks_H
2 #define Masks_H
3 
12 #include <string>
13 #include <stdexcept>
14 #include <vector>
15 
17 
19 
21 
26 
27 class Masks {
28 
29  public:
30 
31  static void initMasking( const edm::EventSetup& setup, bool verbose = false );
32 
33  static bool maskChannel( int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet ) throw( cms::Exception );
34 
35  static bool maskPn( int ism, int i1, uint32_t bits, const EcalSubdetector subdet ) throw( cms::Exception );
36 
37 private:
38 
39  Masks() {}; // Hidden to force static use
40  ~Masks() {}; // Hidden to force static use
41 
42  static bool init;
43 
46 
47 };
48 
49 #endif // Masks_H
static bool maskChannel(int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet)
Definition: Masks.cc:60
static bool init
Definition: Masks.h:40
Masks()
Definition: Masks.h:39
static const EcalDQMTowerStatus * towerStatus
Definition: Masks.h:45
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
Definition: Masks.h:27
static bool maskPn(int ism, int i1, uint32_t bits, const EcalSubdetector subdet)
Definition: Masks.cc:112
~Masks()
Definition: Masks.h:40
static void initMasking(const edm::EventSetup &setup, bool verbose=false)
Definition: Masks.cc:34
static const EcalDQMChannelStatus * channelStatus
Definition: Masks.h:44
EcalSubdetector
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")