| 
    Jpp
    master_rocky-40-g5f0272dcd
    
   the software that should make you happy 
   | 
 
Auxiliary class for run setup evaluation. More...
#include <JRunsetups.hh>
  
Public Types | |
| enum | JRuntype_t {  CALIB = 100 , NANOCALIB = 200 , TEST = 300 , WRONG_TEST = 400 , PHYS = 1000 , OTHER = -1 }  | 
| Main run setup category.  More... | |
Public Member Functions | |
| void | put (const int run, const std::string setup) | 
| Put run parameters.  More... | |
| void | put (const JRuns ¶meters) | 
| Put run parameters.  More... | |
| bool | has (const int run) const | 
| Check if run setup is vailable.  More... | |
| float | get (const int run) const | 
| Get run setup value.  More... | |
Static Public Member Functions | |
| static int | getType (const std::string &setup) | 
| Get run setup type.  More... | |
Static Public Attributes | |
| static const char | SEPARATOR = '.' | 
| separator between tokens in setup name  More... | |
| static const int | MAX_NUMBER_OF_SETUPS = 1000 | 
| maximal number of setups for a main category  More... | |
Protected Attributes | |
| std::map< int, std::vector< std::string > > | data | 
Auxiliary class for run setup evaluation.
The run number is mapped to a unique floating point value according the setup name.
Definition at line 34 of file JRunsetups.hh.
Main run setup category.
| Enumerator | |
|---|---|
| CALIB | Calibration.  | 
| NANOCALIB | Nano-beacon calibration.  | 
| TEST | Test.  | 
| WRONG_TEST | Wrong test.  | 
| PHYS | Physics.  | 
| OTHER | Other.  | 
Definition at line 45 of file JRunsetups.hh.
      
  | 
  inlinestatic | 
Get run setup type.
| setup | run setup name | 
Definition at line 61 of file JRunsetups.hh.
      
  | 
  inline | 
Put run parameters.
| run | run number | 
| setup | run setup name | 
Definition at line 105 of file JRunsetups.hh.
      
  | 
  inline | 
Put run parameters.
| parameters | run parameters | 
Definition at line 141 of file JRunsetups.hh.
      
  | 
  inline | 
Check if run setup is vailable.
| run | run number | 
Definition at line 153 of file JRunsetups.hh.
      
  | 
  inline | 
Get run setup value.
| run | run number | 
Definition at line 165 of file JRunsetups.hh.
      
  | 
  static | 
separator between tokens in setup name
Definition at line 38 of file JRunsetups.hh.
      
  | 
  static | 
maximal number of setups for a main category
Definition at line 39 of file JRunsetups.hh.
      
  | 
  mutableprotected | 
Definition at line 176 of file JRunsetups.hh.