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 
10 #include <string>
11 #include <stdexcept>
12 #include <vector>
13 
15 
17 
19 
24 
25 class Masks {
26 
27  public:
28 
29  static void initMasking( const edm::EventSetup& setup, bool verbose = false );
30 
31  static bool maskChannel( int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet ) throw( cms::Exception );
32 
33  static bool maskPn( int ism, int i1, uint32_t bits, const EcalSubdetector subdet ) throw( cms::Exception );
34 
35 private:
36 
37  Masks() {}; // Hidden to force static use
38  ~Masks() {}; // Hidden to force static use
39 
40  static bool init;
41 
44 
45 };
46 
47 #endif // Masks_H
static bool maskChannel(int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet)
Definition: Masks.cc:57
static bool init
Definition: Masks.h:38
Masks()
Definition: Masks.h:37
static const EcalDQMTowerStatus * towerStatus
Definition: Masks.h:43
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:25
static bool maskPn(int ism, int i1, uint32_t bits, const EcalSubdetector subdet)
Definition: Masks.cc:109
~Masks()
Definition: Masks.h:38
static void initMasking(const edm::EventSetup &setup, bool verbose=false)
Definition: Masks.cc:31
static const EcalDQMChannelStatus * channelStatus
Definition: Masks.h:42
EcalSubdetector
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")