![]() |
![]() |
#include <EventWithHistoryFilter.h>
Public Member Functions | |
EventWithHistoryFilter () | |
EventWithHistoryFilter (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
const bool | selected (const EventWithHistory &he, const edm::EventSetup &iSetup) const |
const bool | selected (const EventWithHistory &he, const edm::Event &iEvent, const edm::EventSetup &iSetup) const |
const bool | selected (const edm::Event &event, const edm::EventSetup &iSetup) const |
void | set (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) |
Private Member Functions | |
const int | getAPVLatency (const edm::EventSetup &iSetup) const |
const int | getAPVMode (const edm::EventSetup &iSetup) const |
const std::vector< int > | getAPVPhase (const edm::Event &iEvent) const |
const bool | is_selected (const EventWithHistory &he, const edm::EventSetup &iSetup, const std::vector< int > &apvphases) const |
const bool | isAPVLatencyNotNeeded () const |
const bool | isAPVModeNotNeeded () const |
const bool | isAPVPhaseNotNeeded () const |
const bool | isCutInactive (const std::vector< int > &range) const |
const bool | isInRange (const long long bx, const std::vector< int > &range, const bool extra) const |
void | printConfig (const edm::InputTag &historyTag, const edm::InputTag &apvphaseTag) const |
Private Attributes | |
std::vector< int > | m_apvmodes |
edm::EDGetTokenT< APVCyclePhaseCollection > | m_APVPhaseToken |
std::vector< int > | m_bxcyclerange |
std::vector< int > | m_bxcyclerangelat |
std::vector< int > | m_bxrange |
std::vector< int > | m_bxrangelat |
std::vector< int > | m_dbxcyclerange |
std::vector< int > | m_dbxcyclerangelat |
unsigned int | m_dbxgenericfirst |
unsigned int | m_dbxgenericlast |
std::vector< int > | m_dbxgenericrange |
std::vector< int > | m_dbxrange |
std::vector< int > | m_dbxrangelat |
std::vector< int > | m_dbxtrpltrange |
edm::EDGetTokenT< EventWithHistory > | m_historyToken |
bool | m_noAPVPhase |
std::string | m_partition |
Definition at line 18 of file EventWithHistoryFilter.h.
EventWithHistoryFilter::EventWithHistoryFilter | ( | ) |
Definition at line 15 of file EventWithHistoryFilter.cc.
References printConfig().
EventWithHistoryFilter::EventWithHistoryFilter | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 31 of file EventWithHistoryFilter.cc.
References edm::ParameterSet::getUntrackedParameter(), isAPVPhaseNotNeeded(), m_noAPVPhase, printConfig(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 176 of file EventWithHistoryFilter.cc.
References edm::EventSetup::get(), isAPVLatencyNotNeeded(), hcaltpdigi_cfi::latency, and SiStripLatency::singleLatency().
Referenced by is_selected().
|
private |
Definition at line 194 of file EventWithHistoryFilter.cc.
References edm::EventSetup::get(), isAPVModeNotNeeded(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, and SiStripLatency::singleReadOutMode().
Referenced by is_selected().
|
private |
Definition at line 214 of file EventWithHistoryFilter.cc.
References edm::Event::getByToken(), APVCyclePhaseCollection::getPhases(), m_APVPhaseToken, m_noAPVPhase, m_partition, and phases.
Referenced by selected().
|
private |
Definition at line 106 of file EventWithHistoryFilter.cc.
References EventWithHistory::absoluteBX(), EventWithHistory::absoluteBXinCycle(), EventWithHistory::deltaBX(), EventWithHistory::deltaBXinCycle(), EventWithHistory::depth(), getAPVLatency(), getAPVMode(), isAPVModeNotNeeded(), isCutInactive(), isInRange(), hcaltpdigi_cfi::latency, m_apvmodes, m_bxcyclerange, m_bxcyclerangelat, m_bxrange, m_bxrangelat, m_dbxcyclerange, m_dbxcyclerangelat, m_dbxgenericfirst, m_dbxgenericlast, m_dbxgenericrange, m_dbxrange, m_dbxrangelat, m_dbxtrpltrange, runGCPTkAlMap::phase, and selected().
Referenced by selected().
|
private |
Definition at line 236 of file EventWithHistoryFilter.cc.
References isCutInactive(), m_bxcyclerangelat, m_bxrangelat, m_dbxcyclerangelat, and m_dbxrangelat.
Referenced by getAPVLatency().
|
private |
Definition at line 256 of file EventWithHistoryFilter.cc.
References m_apvmodes.
Referenced by getAPVMode(), and is_selected().
|
private |
Definition at line 246 of file EventWithHistoryFilter.cc.
References isCutInactive(), m_bxcyclerange, m_bxcyclerangelat, m_dbxcyclerange, and m_dbxcyclerangelat.
Referenced by EventWithHistoryFilter(), and set().
|
private |
Definition at line 262 of file EventWithHistoryFilter.cc.
Referenced by is_selected(), isAPVLatencyNotNeeded(), isAPVPhaseNotNeeded(), and printConfig().
|
private |
|
private |
Definition at line 284 of file EventWithHistoryFilter.cc.
References isCutInactive(), m_bxcyclerange, m_bxcyclerangelat, m_bxrange, m_bxrangelat, m_dbxcyclerange, m_dbxcyclerangelat, m_dbxgenericfirst, m_dbxgenericlast, m_dbxgenericrange, m_dbxrange, m_dbxrangelat, m_dbxtrpltrange, m_partition, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EventWithHistoryFilter(), and set().
const bool EventWithHistoryFilter::selected | ( | const EventWithHistory & | he, |
const edm::EventSetup & | iSetup | ||
) | const |
Definition at line 80 of file EventWithHistoryFilter.cc.
References is_selected().
Referenced by MultiplicityTimeCorrelations::analyze(), and is_selected().
const bool EventWithHistoryFilter::selected | ( | const EventWithHistory & | he, |
const edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) | const |
Definition at line 87 of file EventWithHistoryFilter.cc.
References getAPVPhase(), and is_selected().
const bool EventWithHistoryFilter::selected | ( | const edm::Event & | event, |
const edm::EventSetup & | iSetup | ||
) | const |
Definition at line 94 of file EventWithHistoryFilter.cc.
References getAPVPhase(), is_selected(), and m_historyToken.
void EventWithHistoryFilter::set | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 55 of file EventWithHistoryFilter.cc.
References edm::ParameterSet::getUntrackedParameter(), isAPVPhaseNotNeeded(), m_APVPhaseToken, m_bxcyclerange, m_bxcyclerangelat, m_bxrange, m_bxrangelat, m_dbxcyclerange, m_dbxcyclerangelat, m_dbxgenericfirst, m_dbxgenericlast, m_dbxgenericrange, m_dbxrange, m_dbxrangelat, m_dbxtrpltrange, m_historyToken, m_noAPVPhase, m_partition, printConfig(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MultiplicityTimeCorrelations::MultiplicityTimeCorrelations().
|
private |
Definition at line 45 of file EventWithHistoryFilter.h.
Referenced by is_selected(), and isAPVModeNotNeeded().
|
private |
Definition at line 44 of file EventWithHistoryFilter.h.
Referenced by getAPVPhase(), and set().
|
private |
Definition at line 50 of file EventWithHistoryFilter.h.
Referenced by is_selected(), isAPVPhaseNotNeeded(), printConfig(), and set().
|
private |
Definition at line 51 of file EventWithHistoryFilter.h.
Referenced by is_selected(), isAPVLatencyNotNeeded(), isAPVPhaseNotNeeded(), printConfig(), and set().
|
private |
Definition at line 48 of file EventWithHistoryFilter.h.
Referenced by is_selected(), printConfig(), and set().
|
private |
Definition at line 49 of file EventWithHistoryFilter.h.
Referenced by is_selected(), isAPVLatencyNotNeeded(), printConfig(), and set().
|
private |
Definition at line 52 of file EventWithHistoryFilter.h.
Referenced by is_selected(), isAPVPhaseNotNeeded(), printConfig(), and set().
|
private |
Definition at line 53 of file EventWithHistoryFilter.h.
Referenced by is_selected(), isAPVLatencyNotNeeded(), isAPVPhaseNotNeeded(), printConfig(), and set().
|
private |
Definition at line 56 of file EventWithHistoryFilter.h.
Referenced by is_selected(), printConfig(), and set().
|
private |
Definition at line 57 of file EventWithHistoryFilter.h.
Referenced by is_selected(), printConfig(), and set().
|
private |
Definition at line 55 of file EventWithHistoryFilter.h.
Referenced by is_selected(), printConfig(), and set().
|
private |
Definition at line 46 of file EventWithHistoryFilter.h.
Referenced by is_selected(), printConfig(), and set().
|
private |
Definition at line 47 of file EventWithHistoryFilter.h.
Referenced by is_selected(), isAPVLatencyNotNeeded(), printConfig(), and set().
|
private |
Definition at line 54 of file EventWithHistoryFilter.h.
Referenced by is_selected(), printConfig(), and set().
|
private |
Definition at line 42 of file EventWithHistoryFilter.h.
Referenced by selected(), and set().
|
private |
Definition at line 58 of file EventWithHistoryFilter.h.
Referenced by EventWithHistoryFilter(), getAPVPhase(), and set().
|
private |
Definition at line 43 of file EventWithHistoryFilter.h.
Referenced by getAPVPhase(), printConfig(), and set().