#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_, lumiWeights_, pileupSummaryInfoToken_, and trackingPlots::stat.
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::HLTGlobalStatus::accept(), edm::EventBase::bunchCrossing(), L1Analysis::L1AnalysisEventDataFormat::bx, doPUWeights_, L1Analysis::L1AnalysisEventDataFormat::event, edm::EventID::event(), event_, edm::Event::eventAuxiliary(), edm::Event::getByLabel(), edm::Event::getByToken(), L1Analysis::L1AnalysisEventDataFormat::hlt, edm::EventBase::id(), edm::EventAuxiliary::isRealData(), edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), L1Analysis::L1AnalysisEventDataFormat::lumi, edm::EventBase::luminosityBlock(), lumiWeights_, maxAllowedWeight_, L1Analysis::L1AnalysisEventDataFormat::nPV, L1Analysis::L1AnalysisEventDataFormat::nPV_True, L1Analysis::L1AnalysisEventDataFormat::orbit, edm::EventBase::orbitNumber(), pileupSummaryInfoToken_, L1Analysis::L1AnalysisEventDataFormat::puWeight, L1Analysis::L1AnalysisEventDataFormat::run, edm::EventID::run(), edm::HLTGlobalStatus::size(), L1Analysis::L1AnalysisEventDataFormat::time, edm::EventBase::time(), edm::TriggerNames::triggerName(), edm::Event::triggerNames(), useAvgVtx_, edm::Timestamp::value(), mps_merge::weight, and edm::LumiReWeighting::weight().
Referenced by L1EventTreeProducer::analyze().
|
private |
Definition at line 49 of file L1AnalysisEvent.h.
Referenced by L1AnalysisEvent(), and Set().
|
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(), and Set().
|
private |
Definition at line 52 of file L1AnalysisEvent.h.
Referenced by Set().
|
private |
Definition at line 56 of file L1AnalysisEvent.h.
Referenced by L1AnalysisEvent(), and Set().
|
private |
Definition at line 51 of file L1AnalysisEvent.h.
Referenced by Set().