#include <FWFileEntry.h>
Classes | |
struct | Filter |
Public Member Functions | |
void | closeFile () |
fwlite::Event * | event () |
TFile * | file () |
std::list< Filter * > & | filters () |
int | firstSelectedEvent () |
FWFileEntry (const std::string &name, bool checkVersion) | |
FWTEventList * | globalSelection () |
bool | hasActiveFilters () |
bool | hasSelectedEvents () |
bool | isEventSelected (int event) |
int | lastEvent () |
int | lastSelectedEvent () |
void | needUpdate () |
int | nextSelectedEvent (int event) |
void | openFile (bool) |
int | previousSelectedEvent (int event) |
TTree * | tree () |
void | updateFilters (const FWEventItemsManager *eiMng, bool isOR) |
virtual | ~FWFileEntry () |
Private Member Functions | |
bool | filterEventsWithCustomParser (Filter *filter) |
FWFileEntry (const FWFileEntry &) | |
const FWFileEntry & | operator= (const FWFileEntry &) |
void | runFilter (Filter *fe, const FWEventItemsManager *eiMng) |
Private Attributes | |
fwlite::Event * | m_event |
TTree * | m_eventTree |
TFile * | m_file |
std::list< Filter * > | m_filterEntries |
FWTEventList * | m_globalEventList |
std::string | m_name |
bool | m_needUpdate |
Definition at line 36 of file FWFileEntry.h.
FWFileEntry::FWFileEntry | ( | const std::string & | name, |
bool | checkVersion | ||
) |
|
virtual |
|
private |
void FWFileEntry::closeFile | ( | ) |
Definition at line 126 of file FWFileEntry.cc.
References m_event, m_eventTree, and m_file.
Referenced by CmsShowNavigator::appendFile(), CmsShowNavigator::openFile(), and Vispa.Main.Application.Application::tabCloseRequest().
|
inline |
Definition at line 60 of file FWFileEntry.h.
References m_event.
Referenced by Types.EventID::cppID(), core.AutoHandle.AutoHandle::Load(), and core.AutoHandle.AutoHandle::product().
|
inline |
|
private |
Definition at line 384 of file FWFileEntry.cc.
References edm::HLTGlobalStatus::accept(), fwlite::Event::atEnd(), FWTEventList::Enter(), alcazmumu_cfi::filter, filters(), archive::flag, fwLog, fwlite::Handle< T >::getByLabel(), i, edm::EventBase::id(), iEvent, cmsHarvester::index, j, fwlog::kDebug, fwlog::kWarning, list(), m_event, FWFileEntry::Filter::m_eventList, FWEventSelector::m_expression, m_file, FWFileEntry::Filter::m_needsUpdate, FWFileEntry::Filter::m_selector, FWEventSelector::m_triggerProcess, corrVsCorr::selection, edm::TriggerNames::size(), AlCaHLTBitMon_QueryRunRegistry::string, fwlite::Event::to(), fwlite::Event::toBegin(), edm::TriggerNames::triggerIndex(), and fwlite::Event::triggerNames().
Referenced by runFilter().
Definition at line 64 of file FWFileEntry.h.
References m_filterEntries.
Referenced by CmsShowNavigator::appendFile(), filterEventsWithCustomParser(), and CmsShowNavigator::openFile().
int FWFileEntry::firstSelectedEvent | ( | ) |
|
inline |
bool FWFileEntry::hasActiveFilters | ( | ) |
Definition at line 205 of file FWFileEntry.cc.
References m_filterEntries.
bool FWFileEntry::hasSelectedEvents | ( | ) |
bool FWFileEntry::isEventSelected | ( | int | event | ) |
Definition at line 141 of file FWFileEntry.cc.
References customizeTrackingMonitorSeedNumber::idx, and m_globalEventList.
|
inline |
int FWFileEntry::lastSelectedEvent | ( | ) |
|
inline |
int FWFileEntry::nextSelectedEvent | ( | int | event | ) |
Definition at line 172 of file FWFileEntry.cc.
References customizeTrackingMonitorSeedNumber::idx, list(), and m_globalEventList.
void FWFileEntry::openFile | ( | bool | checkVersion | ) |
Definition at line 42 of file FWFileEntry.cc.
References fireworks::acceptDataFormatsVersion(), b, createTree::dd, fwLog, fireworks::getDecomposedVersion(), fwlog::kInfo, m_event, m_eventTree, m_file, m_name, producerFileCleanner::msg, edm::processConfiguration, edm::ProcessConfiguration::processName(), edm::ProcessConfiguration::releaseVersion(), fwlite::Event::size(), fireworks::supportedDataFormatsVersion(), findQualityFiles::v, and x.
Referenced by Vispa.Main.Application.Application::_readCommandLineAttributes(), Vispa.Main.Application.Application::doubleClickOnFile(), FWFileEntry(), Vispa.Main.Application.Application::openFileDialog(), and Vispa.Main.Application.Application::openRecentFileSlot().
|
private |
int FWFileEntry::previousSelectedEvent | ( | int | event | ) |
Definition at line 187 of file FWFileEntry.cc.
References customizeTrackingMonitorSeedNumber::idx, list(), and m_globalEventList.
|
private |
Definition at line 262 of file FWFileEntry.cc.
References b, FWEventItemsManager::begin(), edm::TypeWithDict::byName(), end, FWEventItemsManager::end(), filterEventsWithCustomParser(), newFWLiteAna::found, fwLog, fwlite::Event::getBranchNameFor(), FWEventItem::getPrimaryData(), i, fwlog::kDebug, fwlog::kError, fwlog::kWarning, m_event, FWEventItem::m_event, FWFileEntry::Filter::m_eventList, m_eventTree, FWEventSelector::m_expression, m_file, FWFileEntry::Filter::m_needsUpdate, FWFileEntry::Filter::m_selector, FWEventSelector::m_triggerProcess, FWEventItem::moduleLabel(), mergeVDriftHistosByStation::name, edm::TypeWithDict::name(), FWEventItem::processName(), FWEventItem::productInstanceLabel(), query::result, AlCaHLTBitMon_QueryRunRegistry::string, FWEventItem::type(), edm::TypeWithDict::typeInfo(), and edm::wrappedClassName().
Referenced by updateFilters().
|
inline |
Definition at line 61 of file FWFileEntry.h.
References m_eventTree.
Referenced by MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), MetTreeProducer.MetTreeProducer::process(), and python.cmstools.EventTree::SetAlias().
void FWFileEntry::updateFilters | ( | const FWEventItemsManager * | eiMng, |
bool | isOR | ||
) |
Definition at line 217 of file FWFileEntry.cc.
References FWTEventList::Add(), fwLog, fwlog::kDebug, m_eventTree, m_file, m_filterEntries, m_globalEventList, m_needUpdate, and runFilter().
|
private |
Definition at line 96 of file FWFileEntry.h.
Referenced by closeFile(), event(), filterEventsWithCustomParser(), openFile(), and runFilter().
|
private |
Definition at line 95 of file FWFileEntry.h.
Referenced by closeFile(), lastEvent(), openFile(), runFilter(), tree(), and updateFilters().
|
private |
Definition at line 94 of file FWFileEntry.h.
Referenced by closeFile(), file(), filterEventsWithCustomParser(), openFile(), runFilter(), and updateFilters().
Definition at line 100 of file FWFileEntry.h.
Referenced by filters(), hasActiveFilters(), updateFilters(), and ~FWFileEntry().
|
private |
Definition at line 101 of file FWFileEntry.h.
Referenced by firstSelectedEvent(), globalSelection(), hasSelectedEvents(), isEventSelected(), lastSelectedEvent(), nextSelectedEvent(), previousSelectedEvent(), updateFilters(), and ~FWFileEntry().
|
private |
Definition at line 93 of file FWFileEntry.h.
Referenced by openFile().
|
private |
Definition at line 98 of file FWFileEntry.h.
Referenced by needUpdate(), and updateFilters().