#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) | |
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_ |
bool | useAvgVtx_ |
Definition at line 25 of file L1AnalysisEvent.h.
L1Analysis::L1AnalysisEvent::L1AnalysisEvent | ( | std::string | puMCFile, |
std::string | puMCHist, | ||
std::string | puDataFile, | ||
std::string | puDataHist, | ||
bool | useAvgVtx, | ||
double | maxWeight | ||
) |
Definition at line 10 of file L1AnalysisEvent.cc.
References doPUWeights_, and lumiWeights_.
L1Analysis::L1AnalysisEvent::~L1AnalysisEvent | ( | ) |
Definition at line 39 of file L1AnalysisEvent.cc.
|
inline |
Definition at line 39 of file L1AnalysisEvent.h.
References event_.
|
inline |
Definition at line 38 of file L1AnalysisEvent.h.
References event_, and L1Analysis::L1AnalysisEventDataFormat::Reset().
Referenced by L1EventTreeProducer::analyze(), and L1NtupleProducer::analyzeEvent().
void L1Analysis::L1AnalysisEvent::Set | ( | const edm::Event & | e, |
const edm::EDGetTokenT< edm::TriggerResults > & | hlt_ | ||
) |
Definition at line 44 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(), and L1NtupleProducer::analyzeEvent().
|
private |
Definition at line 45 of file L1AnalysisEvent.h.
Referenced by L1AnalysisEvent().
|
private |
Definition at line 52 of file L1AnalysisEvent.h.
|
private |
Definition at line 44 of file L1AnalysisEvent.h.
|
private |
Definition at line 50 of file L1AnalysisEvent.h.
Referenced by L1AnalysisEvent().
|
private |
Definition at line 48 of file L1AnalysisEvent.h.
|
private |
Definition at line 47 of file L1AnalysisEvent.h.