ATLAS Offline Software
Classes | Enumerations
RatesHistoBase.h File Reference
#include "TH1.h"
#include "TString.h"
#include "GaudiKernel/ServiceHandle.h"
#include "AthenaBaseComps/AthMessaging.h"
#include <string>
#include <unordered_map>
#include <set>
#include <sstream>
#include <math.h>
#include <iostream>
#include <iomanip>
#include <memory>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WeightingValuesSummary_t
 Structure to hold per-event weights for distribution. More...
 
class  RatesHistoBase
 Basic base class for any common functionality between RatesTrigger and RatesGroup This means that everyone has access to the same histograms. More...
 

Enumerations

enum  ExtrapStrat_t {
  kLINEAR, kEXPO_MU, kBUNCH_SCALING, kMU_SCALING,
  kNONE
}
 Extrapolation strategy to apply to each emulated trigger. More...
 
enum  RatesBinIdentifier_t {
  kACTIVE_RAW_BIN, kACTIVE_WEIGHTED_BIN, kPASS_RAW_BIN, kPASS_WEIGHTED_OR_BIN,
  kPASS_WEIGHTED_AND_BIN, kEXPRESS_BIN, kUNIQUE_BIN, kNRATES_BINS
}
 Lables a bin in a histogram. More...
 

Enumeration Type Documentation

◆ ExtrapStrat_t

Extrapolation strategy to apply to each emulated trigger.

See also
RatesAnalysisAlg::setTargetLumi
Enumerator
kLINEAR 

Scale trigger linearly with luminosity.

kEXPO_MU 

Scale trigger linearly in bunches and exponentially in mu.

Exponential modifier factor is to be provided.

kBUNCH_SCALING 

Scale trigger linearly but only in the number of bunches.

kMU_SCALING 

Scale trigger linearly but only in the change in <mu>

kNONE 

Do not scale this trigger for changes in luminosity.

Definition at line 30 of file RatesHistoBase.h.

30  {
31  kLINEAR,
32  kEXPO_MU,
34  kMU_SCALING,
35  kNONE
36 };

◆ RatesBinIdentifier_t

Lables a bin in a histogram.

Enumerator
kACTIVE_RAW_BIN 

Bin used to store the raw total events in which the trigger was active.

kACTIVE_WEIGHTED_BIN 

Bin used to store the weighted events in which the trigger was active.

kPASS_RAW_BIN 

Bin used to store the raw total events in which the trigger passed.

kPASS_WEIGHTED_OR_BIN 

Bin used to store the total rate (OR)

kPASS_WEIGHTED_AND_BIN 

Bin used to store the total rate (AND)

kEXPRESS_BIN 

Bin used to store the express rate.

kUNIQUE_BIN 

Bin used to store data needed to get the unique rate.

kNRATES_BINS 

Must always come last.

Definition at line 41 of file RatesHistoBase.h.

kACTIVE_RAW_BIN
@ kACTIVE_RAW_BIN
Bin used to store the raw total events in which the trigger was active.
Definition: RatesHistoBase.h:42
kUNIQUE_BIN
@ kUNIQUE_BIN
Bin used to store data needed to get the unique rate.
Definition: RatesHistoBase.h:48
kMU_SCALING
@ kMU_SCALING
Scale trigger linearly but only in the change in <mu>
Definition: RatesHistoBase.h:34
kPASS_WEIGHTED_OR_BIN
@ kPASS_WEIGHTED_OR_BIN
Bin used to store the total rate (OR)
Definition: RatesHistoBase.h:45
kLINEAR
@ kLINEAR
Scale trigger linearly with luminosity.
Definition: RatesHistoBase.h:31
kEXPO_MU
@ kEXPO_MU
Scale trigger linearly in bunches and exponentially in mu.
Definition: RatesHistoBase.h:32
kBUNCH_SCALING
@ kBUNCH_SCALING
Scale trigger linearly but only in the number of bunches.
Definition: RatesHistoBase.h:33
kEXPRESS_BIN
@ kEXPRESS_BIN
Bin used to store the express rate.
Definition: RatesHistoBase.h:47
kPASS_WEIGHTED_AND_BIN
@ kPASS_WEIGHTED_AND_BIN
Bin used to store the total rate (AND)
Definition: RatesHistoBase.h:46
kNRATES_BINS
@ kNRATES_BINS
Must always come last.
Definition: RatesHistoBase.h:49
kPASS_RAW_BIN
@ kPASS_RAW_BIN
Bin used to store the raw total events in which the trigger passed.
Definition: RatesHistoBase.h:44
kACTIVE_WEIGHTED_BIN
@ kACTIVE_WEIGHTED_BIN
Bin used to store the weighted events in which the trigger was active.
Definition: RatesHistoBase.h:43
kNONE
@ kNONE
Do not scale this trigger for changes in luminosity.
Definition: RatesHistoBase.h:35