CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTMapGenerator.h
Go to the documentation of this file.
1 #ifndef DTMapGenerator_H
2 #define DTMapGenerator_H
3 
15 
16 
17 #include <string>
18 #include <set>
19 
21 
22 public:
23 
25  DTMapGenerator(const edm::ParameterSet& pset);
26 
28  virtual ~DTMapGenerator();
29 
30  // Operations
31 
32  virtual void beginJob(){}
33 
34  virtual void analyze(const edm::Event& event, const edm::EventSetup& setup){}
35 
36  virtual void endJob();
37 
38 protected:
39 
40 private:
41  //Check if the wire exists in the channels list :
42  //(/afs/cern.ch/cms/Physics/muon/CMSSW/DT/channelsMaps/existing_channels.txt)
43  bool checkWireExist(const std::set<DTWireId>& wireMap, int wheel, int station, int sector, int sl, int layer, int wire);
44 
45  //file name with the output map
47  //file name with the input base map (DDU,ROS -> Wheel,Sector,Chamber)
49  //rosType = 8 for commissioning, 25 otherwise
50  int rosType;
51 };
52 #endif
std::string outputMapName
DTMapGenerator(const edm::ParameterSet &pset)
Constructor.
bool checkWireExist(const std::set< DTWireId > &wireMap, int wheel, int station, int sector, int sl, int layer, int wire)
std::string inputMapName
virtual void beginJob()
virtual void endJob()
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 and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual ~DTMapGenerator()
Destructor.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
virtual void analyze(const edm::Event &event, const edm::EventSetup &setup)