| #include "SvtPidTrkDataK.hh" |
SvtPidTrkDataK
class description - source file - inheritance tree (.pdf)
private:
SvtPidTrkDataK(const SvtPidTrkDataK&)
void buildEmbedded() const
virtual const SvtPidTrkData& data() const
void loadFromEmbedded()
SvtPidTrkDataK& operator=(const SvtPidTrkDataK&)
protected:
virtual SvtPidInfo* buildTransient(KanEventReader& eR)
virtual void loadFrom(const SvtPidInfo*, KanEventWriter&)
virtual void resetHook(Dna::Scope scope = Dna::Event)
public:
SvtPidTrkDataK()
virtual ~SvtPidTrkDataK()
virtual Double_t getMeanDedx() const
virtual UInt_t getNPoints() const
virtual Double_t momentum() const
virtual void setTrkRecoTrkI(const TrkRecoTrkI* trk)
virtual const TrkRecoTrkI* trkRecoTrkI() const
private:
Bool_t _built ! True if the local cache has been built
SvtPidTrkData _data ! local cache, filled from the following
Char_t _nhypos Number of hypothesis (must be 1)
Char_t _alg ID of alogorithm used
UShort_t _mom Momentum ( exponentially (12:3) packed from 0.-4.);
UShort_t _mean Mean de/dx ( exponentially (16:5) packed from 0.-100.);
const TrkRecoTrkI* _trk ! provided from outside
Persistent class for SvtPidInfo.
The SvtPidInfoI interface requires the follow functions:
// Functions to access data
Double_t momentum() const
Double_t dedx() const
UInt_t nPoints() const
// Functions to allow setting and accessing the TrkRecoTrkI
void setTrkRecoTrkI(const TrkRecoTrkI* trk) { _trk = trk; }
const TrkRecoTrkI* trkRecoTrkI() const { return _trk; }
Persistent Location:
Aod::"Pid_SvtPids"
Persistent Size: 6 bytes uncompressed
The Packing looks like this:
Char_t _nhypos; //! Number of hypothesis (must be 1)
Char_t _alg; //! ID of alogorithm used
UShort_t _mom; //! Momentum ( exponentially (12:3) packed from 0.-4.);
UShort_t _mean; //! Mean de/dx ( exponentially (16:5) packed from 0.-100.);
The packing is handled by SvtPid/SvtPidTrkData.hh(cc)
SvtPidTrkDataK() : _built(kFALSE), _trk(0)
~SvtPidTrkDataK()
void loadFrom ( const SvtPidInfo* transient, KanEventWriter & )
Fill the persistent data from a transient
SvtPidInfo* buildTransient( KanEventReader& eR )
Build a transient from the persistent data
void resetHook(Dna::Scope scope)
reset the cache
void loadFromEmbedded()
set the persistent data from the local cache
void buildEmbedded() const
build the local cache from the persistent data
Inline Functions
Double_t momentum() const
Double_t getMeanDedx() const
UInt_t getNPoints() const
void setTrkRecoTrkI(const TrkRecoTrkI* trk)
const TrkRecoTrkI* trkRecoTrkI() const
const SvtPidTrkData& data() const
SvtPidTrkDataK SvtPidTrkDataK(const SvtPidTrkDataK&)
SvtPidTrkDataK& operator=(const SvtPidTrkDataK&)
Last update: SvtPidTrkDataK.cc,v 1.14 2004/08/06 06:23:53 bartoldu Exp $
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.
|