CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CPUSpender.cc
Go to the documentation of this file.
6 
8 
9  public:
12 
14  virtual ~CPUSpender() {}
15 
16  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup) {
17  time_t s = time(0);
18  while (time(0)-s < timePerEvent_) { continue;}
19  }
20 
21  // Operations
22  void beginJob() {}
23  void endJob() {}
24 
25 protected:
26  // void printTrackRecHits(const reco::Track &, edm::ESHandle<GlobalTrackingGeometry>) const;
27 
28  private:
29  unsigned int timePerEvent_;
30 };
31 
32 
34 
unsigned int timePerEvent_
Definition: CPUSpender.cc:29
T getUntrackedParameter(std::string const &, T const &) const
void endJob()
Definition: CPUSpender.cc:23
virtual ~CPUSpender()
Destructor.
Definition: CPUSpender.cc:14
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
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
void beginJob()
Definition: CPUSpender.cc:22
CPUSpender(const edm::ParameterSet &pset)
Constructor.
Definition: CPUSpender.cc:11
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Definition: CPUSpender.cc:16