ATLAS Offline Software
Loading...
Searching...
No Matches
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,
35 kNONE
36};
@ kMU_SCALING
Scale trigger linearly but only in the change in <mu>
@ kBUNCH_SCALING
Scale trigger linearly but only in the number of bunches.
@ kLINEAR
Scale trigger linearly with luminosity.
@ kNONE
Do not scale this trigger for changes in luminosity.
@ kEXPO_MU
Scale trigger linearly in bunches and exponentially in mu.

◆ 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.

41 {
50};
@ kPASS_RAW_BIN
Bin used to store the raw total events in which the trigger passed.
@ kEXPRESS_BIN
Bin used to store the express rate.
@ kPASS_WEIGHTED_AND_BIN
Bin used to store the total rate (AND)
@ kPASS_WEIGHTED_OR_BIN
Bin used to store the total rate (OR)
@ 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.
@ kUNIQUE_BIN
Bin used to store data needed to get the unique rate.
@ kNRATES_BINS
Must always come last.