#include <L1AnalysisEvent.h>
Public Member Functions | |
L1AnalysisEventDataFormat * | getData () |
L1AnalysisEvent (std::string puMCFile, std::string puMCHist, std::string puDataFile, std::string puDataHist, bool useAvgVtx, double maxWeight, edm::ConsumesCollector &&) | |
void | Reset () |
void | Set (const edm::Event &e, const edm::EDGetTokenT< edm::TriggerResults > &hlt_) |
~L1AnalysisEvent () | |
Private Attributes | |
bool | doPUWeights_ |
L1Analysis::L1AnalysisEventDataFormat | event_ |
bool | fillHLT_ |
edm::LumiReWeighting | lumiWeights_ |
double | maxAllowedWeight_ |
edm::EDGetTokenT< std::vector < PileupSummaryInfo > > | pileupSummaryInfoToken_ |
bool | useAvgVtx_ |
Definition at line 28 of file L1AnalysisEvent.h.
L1Analysis::L1AnalysisEvent::L1AnalysisEvent | ( | std::string | puMCFile, |
std::string | puMCHist, | ||
std::string | puDataFile, | ||
std::string | puDataHist, | ||
bool | useAvgVtx, | ||
double | maxWeight, | ||
edm::ConsumesCollector && | iConsumes | ||
) |
Definition at line 10 of file L1AnalysisEvent.cc.
References doPUWeights_, HLT_25ns10e33_v2_cff::InputTag, lumiWeights_, and pileupSummaryInfoToken_.
L1Analysis::L1AnalysisEvent::~L1AnalysisEvent | ( | ) |
Definition at line 41 of file L1AnalysisEvent.cc.
|
inline |
Definition at line 43 of file L1AnalysisEvent.h.
References event_.
|
inline |
Definition at line 42 of file L1AnalysisEvent.h.
References event_, and L1Analysis::L1AnalysisEventDataFormat::Reset().
Referenced by L1EventTreeProducer::analyze().
void L1Analysis::L1AnalysisEvent::Set | ( | const edm::Event & | e, |
const edm::EDGetTokenT< edm::TriggerResults > & | hlt_ | ||
) |
Definition at line 46 of file L1AnalysisEvent.cc.
References edm::EventBase::bunchCrossing(), edm::EventID::event(), event_(), edm::Event::eventAuxiliary(), edm::Event::getByLabel(), edm::Event::getByToken(), edm::EventBase::id(), edm::EventAuxiliary::isRealData(), edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), edm::EventBase::luminosityBlock(), edm::EventBase::orbitNumber(), edm::EventID::run(), edm::EventBase::time(), edm::TriggerNames::triggerName(), edm::Event::triggerNames(), edm::Timestamp::value(), and histoStyle::weight.
Referenced by L1EventTreeProducer::analyze().
|
private |
Definition at line 49 of file L1AnalysisEvent.h.
Referenced by L1AnalysisEvent().
|
private |
Definition at line 57 of file L1AnalysisEvent.h.
|
private |
Definition at line 48 of file L1AnalysisEvent.h.
|
private |
Definition at line 54 of file L1AnalysisEvent.h.
Referenced by L1AnalysisEvent().
|
private |
Definition at line 52 of file L1AnalysisEvent.h.
|
private |
Definition at line 56 of file L1AnalysisEvent.h.
Referenced by L1AnalysisEvent().
|
private |
Definition at line 51 of file L1AnalysisEvent.h.