#include <LH5Reader.h>
Public Member Functions | |
void | counter (int, int) |
std::vector< lheh5::Particle > | getEvent () |
std::pair< lheh5::EventHeader, std::vector< lheh5::Particle > > | getEventProperties () |
lheh5::EventHeader | getHeader () |
H5Handler (const std::string &fileNameIn) | |
void | readBlock () |
virtual | ~H5Handler () |
Public Attributes | |
HighFive::Group | _event |
lheh5::Events | _events1 |
lheh5::Events2 | _events2 |
unsigned int long | _eventsRead |
HighFive::Group | _index |
HighFive::Group | _init |
HighFive::Group | _particle |
HighFive::Group | _procInfo |
std::unique_ptr< HighFive::File > | h5file |
bool | indexStatus |
int | npLO |
int | npNLO |
Private Attributes | |
int | _blocksRead |
int | _eventsInBlock |
unsigned int long | _eventsTotal |
int | _formatType |
Definition at line 16 of file LH5Reader.h.
lhef::H5Handler::H5Handler | ( | const std::string & | fileNameIn | ) |
Definition at line 68 of file LH5Reader.cc.
References _blocksRead, _eventsInBlock, _eventsRead, _eventsTotal, _formatType, _index, _procInfo, Exception, h5file, indexStatus, npLO, npNLO, and mps_update::status.
|
inlinevirtual |
Definition at line 19 of file LH5Reader.h.
void lhef::H5Handler::counter | ( | int | firstEventIn, |
int | maxEventsIn | ||
) |
Definition at line 108 of file LH5Reader.cc.
References _blocksRead, _eventsInBlock, _eventsRead, _eventsTotal, Exception, and createfilelist::int.
Referenced by counter.Counters::__getitem__().
std::vector< lheh5::Particle > lhef::H5Handler::getEvent | ( | ) |
Definition at line 131 of file LH5Reader.cc.
References _blocksRead, _events1, _eventsInBlock, _eventsRead, _eventsTotal, lheh5::Events::mkEvent(), and readBlock().
std::pair< lheh5::EventHeader, std::vector< lheh5::Particle > > lhef::H5Handler::getEventProperties | ( | ) |
Definition at line 148 of file LH5Reader.cc.
References _blocksRead, _events1, _eventsInBlock, _eventsRead, _eventsTotal, lheh5::Events::mkEvent(), lheh5::Events::mkEventHeader(), lheh5::EventHeader::nparticles, and readBlock().
lheh5::EventHeader lhef::H5Handler::getHeader | ( | ) |
Definition at line 143 of file LH5Reader.cc.
References _events1, _eventsRead, and lheh5::Events::mkEventHeader().
void lhef::H5Handler::readBlock | ( | ) |
Definition at line 121 of file LH5Reader.cc.
References _blocksRead, _event, _events1, _eventsInBlock, _eventsTotal, _index, _particle, nEvents, and lheh5::readEvents().
Referenced by getEvent(), and getEventProperties().
|
private |
Definition at line 37 of file LH5Reader.h.
Referenced by counter(), getEvent(), getEventProperties(), H5Handler(), and readBlock().
HighFive::Group lhef::H5Handler::_event |
Definition at line 24 of file LH5Reader.h.
Referenced by readBlock().
lheh5::Events lhef::H5Handler::_events1 |
Definition at line 28 of file LH5Reader.h.
Referenced by getEvent(), getEventProperties(), getHeader(), and readBlock().
lheh5::Events2 lhef::H5Handler::_events2 |
Definition at line 27 of file LH5Reader.h.
|
private |
Definition at line 35 of file LH5Reader.h.
Referenced by counter(), getEvent(), getEventProperties(), H5Handler(), and readBlock().
unsigned int long lhef::H5Handler::_eventsRead |
Definition at line 26 of file LH5Reader.h.
Referenced by counter(), getEvent(), getEventProperties(), getHeader(), and H5Handler().
|
private |
Definition at line 34 of file LH5Reader.h.
Referenced by counter(), getEvent(), getEventProperties(), H5Handler(), and readBlock().
|
private |
Definition at line 36 of file LH5Reader.h.
Referenced by H5Handler().
HighFive::Group lhef::H5Handler::_index |
Definition at line 24 of file LH5Reader.h.
Referenced by ntupleDataFormat._Object::__getattr__(), python.cmstools.EventTree::__getitem__(), python.cmstools.EventTree::__iter__(), python.cmstools.EventBranch::__readData(), python.cmstools.EventTree::__setBranchIndicies(), ntupleDataFormat.TrackingParticle::_nMatchedSeeds(), ntupleDataFormat._SimHitMatchAdaptor::_nMatchedSimHits(), ntupleDataFormat._TrackingParticleMatchAdaptor::_nMatchedTrackingParticles(), ntupleDataFormat.TrackingParticle::_nMatchedTracks(), html.HtmlReport::addNote(), ntupleDataFormat.TrackingVertex::daughterTrackingParticles(), ntupleDataFormat.TrackingParticle::decayVertices(), ntupleDataFormat._DetIdStrAdaptor::detIdStr(), H5Handler(), ntupleDataFormat._Object::index(), python.cmstools.EventTree::index(), ntupleDataFormat.Seed::indexWithinAlgo(), ntupleDataFormat._Object::isValid(), ntupleDataFormat._DetIdStrAdaptor::layerStr(), ntupleDataFormat.InvalidHit::layerStr(), ntupleDataFormat.TrackingParticle::matchedSeedInfos(), ntupleDataFormat._SimHitMatchAdaptor::matchedSimHitInfos(), ntupleDataFormat.TrackingParticle::matchedTrackInfos(), ntupleDataFormat._TrackingParticleMatchAdaptor::matchedTrackingParticleInfos(), ntupleDataFormat.GluedHit::monoHit(), ntupleDataFormat.TrackingVertex::nDaughterTrackingParticles(), ntupleDataFormat.SimHit::nRecHits(), ntupleDataFormat._HitObject::nseeds(), ntupleDataFormat.GluedHit::nseeds(), ntupleDataFormat.TrackingVertex::nSourceTrackingParticles(), ntupleDataFormat._HitObject::ntracks(), ntupleDataFormat.Vertex::nTracks(), ntupleDataFormat.TrackingParticle::parentVertex(), readBlock(), ntupleDataFormat.SeedMatchInfo::seed(), ntupleDataFormat.Track::seed(), ntupleDataFormat._HitObject::seeds(), ntupleDataFormat.GluedHit::seeds(), python.cmstools.EventBranch::setIndex(), ntupleDataFormat.SimHitMatchInfo::simHit(), ntupleDataFormat.TrackingVertex::sourceTrackingParticles(), ntupleDataFormat.GluedHit::stereoHit(), ntupleDataFormat.Seed::track(), ntupleDataFormat.SimHit::trackingParticle(), ntupleDataFormat._HitObject::tracks(), ntupleDataFormat.Vertex::tracks(), ntupleDataFormat.Track::vertex(), and html.HtmlReport::write().
HighFive::Group lhef::H5Handler::_init |
Definition at line 24 of file LH5Reader.h.
Referenced by ElectronMVAID.ElectronMVAID::__call__(), and FWLite.ElectronMVAID::__call__().
HighFive::Group lhef::H5Handler::_particle |
Definition at line 24 of file LH5Reader.h.
Referenced by readBlock().
HighFive::Group lhef::H5Handler::_procInfo |
Definition at line 24 of file LH5Reader.h.
Referenced by H5Handler().
std::unique_ptr<HighFive::File> lhef::H5Handler::h5file |
Definition at line 22 of file LH5Reader.h.
Referenced by H5Handler().
bool lhef::H5Handler::indexStatus |
Definition at line 23 of file LH5Reader.h.
Referenced by H5Handler().
int lhef::H5Handler::npLO |
Definition at line 25 of file LH5Reader.h.
Referenced by H5Handler().
int lhef::H5Handler::npNLO |
Definition at line 25 of file LH5Reader.h.
Referenced by H5Handler().