PandaTree
|
#include <Element.h>
Public Member Functions | |
virtual void | allocate (UInt_t n) |
virtual void | deallocate () |
virtual void | setStatus (TTree &, TString const &, utils::BranchList const &) |
virtual utils::BranchList | getStatus (TTree &, TString const &) const |
virtual utils::BranchList | getBranchNames (TString const &="") const |
virtual void | setAddress (TTree &, TString const &, utils::BranchList const &={"*"}, Bool_t setStatus=kTRUE) |
virtual void | book (TTree &, TString const &, utils::BranchList const &={"*"}, Bool_t dynamic=kTRUE) |
virtual void | releaseTree (TTree &, TString const &) |
UInt_t | nmax () const |
virtual void | resizeVectors_ (UInt_t) |
Override when there are vector members. More... | |
Protected Attributes | |
UInt_t | nmax_ |
Actual arrays and vectors written to the tree are members of datastore. For example, given a tree with branches particle.size/i particle.pt[particle.size]/F the Particle datastore will have Float_t pt[N]; which gets written to / read from the tree. The i-th Particle instance on the other hand has Float_t& pt; which is a reference to datastore::pt[i].
|
inlinevirtual |
Override when there are vector members.
This method should only be used from Collections
Reimplemented in panda::XPhoton::datastore, panda::Muon::datastore, panda::FatJet::datastore, panda::Electron::datastore, panda::Photon::datastore, panda::Jet::datastore, panda::PFCandBase::datastore, panda::GenParticleBase::datastore, panda::CorrectedSecondaryVertex::datastore, panda::Lepton::datastore, panda::PFCand::datastore, panda::UnpackedPFCand::datastore, panda::SVDaughter::datastore, panda::GenParticle::datastore, panda::UnpackedGenParticle::datastore, panda::MicroJet::datastore, panda::Tau::datastore, panda::SecondaryVertex::datastore, panda::RecoVertex::datastore, panda::GenJet::datastore, panda::PackedParticle::datastore, panda::ParticleM::datastore, panda::ParticleP::datastore, panda::PackedTrack::datastore, panda::Proton::datastore, panda::SuperCluster::datastore, panda::Vertex::datastore, panda::TPPair::datastore, panda::HLTObject::datastore, panda::Parton::datastore, and panda::Particle::datastore.