DAS  3.0
Das Analysis System
TriggerLumi

Description

Simply structure to gather the trigger, turnon and 1/efflumi.

#include <TriggerLumi.h>

Public Member Functions

 TriggerLumi (int trigger)
 
void Fill (const std::vector< RecJet > &jets)
 

Public Attributes

int turnon
 
float weight
 
TH1 * h
 

Constructor & Destructor Documentation

◆ TriggerLumi()

TriggerLumi ( int  trigger)
17  :
19  h(new TH1D(Form("%d",trigger), "", nPtBins, pt_edges.data()))
20 {
21  cout << __func__ << endl;
22 }

Member Function Documentation

◆ Fill()

void Fill ( const std::vector< RecJet > &  jets)
26 {
27  assert(h);
28  for (const RecJet& jet: jets)
29  h->Fill(jet.CorrPt(), weight);
30 }

Member Data Documentation

◆ h

TH1* h

just for some control plots (to show the contributions from the different triggers to the total spectrum)

◆ turnon

int turnon

determined with getTriggerCurves and getTriggerTurnons

◆ weight

float weight

obtained from JSON files after CRAB


The documentation for this struct was generated from the following files:
DAS::pt_edges
static const std::vector< double > pt_edges
Definition: binnings.h:33
DAS::TriggerLumi::h
TH1 * h
just for some control plots (to show the contributions from the different triggers to the total spect...
Definition: TriggerLumi.h:20
Ntupliser_cfg.jets
string jets
Definition: Ntupliser_cfg.py:41
DAS::TriggerLumi::turnon
int turnon
determined with getTriggerCurves and getTriggerTurnons
Definition: TriggerLumi.h:18
DAS::TriggerLumi::weight
float weight
obtained from JSON files after CRAB
Definition: TriggerLumi.h:19
DUMMY
#define DUMMY
Definition: TriggerLumi.cc:9
DAS::nPtBins
static const int nPtBins
Definition: binnings.h:39