SpillEvaluator.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////////
2 // \version $ $
3 //
4 // \brief Utility object to check the quality of a spill
5 //
6 // \author brebel@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////////
9 
10 #ifndef ANALYSISSKIMMER_UTILS_SPILLEVALUATOR_H
11 #define ANALYSISSKIMMER_UTILS_SPILLEVALUATOR_H
12 
13 #include "fhiclcpp/ParameterSet.h"
14 
15 namespace sumdata {
16  class SpillData;
17 }
18 
19 namespace skim {
20  class SpillEvaluator;
21 }
22 
23 namespace skim {
25 
26  public:
27  explicit SpillEvaluator(fhicl::ParameterSet const& p);
28  virtual ~SpillEvaluator();
29 
30  void reconfigure(fhicl::ParameterSet const& p);
31  bool EvaluateSpill(sumdata::SpillData const& spillData);
32 
33  private:
34 
35  float fMaxDeltaTToSpill; ///< in ns
36  float fMinPOTInSpill; ///< in units of e12
37  float fMaxHornCurrent; ///< in kA
38  float fMinHornCurrent; ///< in kA
39  float fMaxBeamXYPos; ///< in mm
40  float fMinBeamXYPos; ///< in mm
41  float fMaxBeamWidth; ///< in mm
42  float fMinBeamWidth; ///< in mm
43 
44  };
45 }
46 
47 #endif // ANALYSISSKIMMER_UTILS_SPILLEVALUATOR_H
float fMaxHornCurrent
in kA
float fMinPOTInSpill
in units of e12
const char * p
Definition: xmltok.h:285
float fMinHornCurrent
in kA
Module to create a summary of total POT seen in a job.
Definition: Evaluator.h:27
float fMaxBeamWidth
in mm
float fMinBeamWidth
in mm
float fMaxDeltaTToSpill
in ns
TODO.
float fMaxBeamXYPos
in mm
float fMinBeamXYPos
in mm