| #include "DchMiniHitK.hh" |
DchMiniHitK
class description - source file - inheritance tree (.pdf)
private:
DchMiniHitK(const DchMiniHitK&)
void buildEmbedded() const
void loadFromEmbedded()
DchMiniHitK& operator=(const DchMiniHitK&)
protected:
virtual DchHit* buildTransient(KanEventReader& eR)
virtual void loadFrom(const DchHit*, KanEventWriter& eW)
virtual void resetHook(Dna::Scope scope = Dna::Event)
public:
DchMiniHitK()
virtual ~DchMiniHitK()
virtual Double_t charge() const
virtual UInt_t layernumber() const
virtual void print(ostream& os = std::cout) const
virtual UInt_t status() const
virtual Int_t tdcIndex() const
virtual Double_t tdcTime() const
virtual UInt_t wirenumber() const
private:
Bool_t _built ! True if the local cache has been built
DchHitData _theData ! Local cache, set by the following
UShort_t _w1 tdcIndex(15), layer(9-14), wire(1-8)
UShort_t _w2 tdcTime
UShort_t _w3 status(11-16), charge(1-10)
Persistent class for DchHit
The DchHitI interface requires the following functions:
UInt_t layernumber() const // Layer of the hit
UInt_t wirenumber() const // Wire index of the hit
UInt_t status() const = 0 // Status flag (0 = ok)
Double_t charge() const = 0 // Pedestal subtracted charge
Double_t tdcTime() const = 0 // ???
Int_t tdcIndex() const = 0 // ???
Persistent Location:
Esd::"Dch_Hits"
Persistent Size: 6 bytes uncompressed
Persistent Structure:
_w1 = tdcIndex(15) : layer(9-14) : wire(1-8)
_w2 = tdcTimeSign(16) : tdcTimeValue(1-15)
_w3 = status(11-16) : charge(1-10, exponentially packed)
DchMiniHitK() :
DchHitI(),
_built(kFALSE),
_theData()
~DchMiniHitK()
void print(ostream& os) const
Print function.
Format is:
Cell: <Layer>:<Wire> Q: <charge> T: <time>
void loadFrom( const DchHit* transient, KanEventWriter & eW )
Fill the persistent data from a transient
DchHit* buildTransient( KanEventReader& eR )
Build a transient from the persistent data
void resetHook(Dna::Scope scope)
reset the _built flag
This resets the local cache for the packed data
void loadFromEmbedded()
set the persetent data from the local cache
void buildEmbedded() const
build the local cache from the persistent data
Inline Functions
UInt_t layernumber() const
UInt_t wirenumber() const
UInt_t status() const
Double_t charge() const
Double_t tdcTime() const
Int_t tdcIndex() const
DchMiniHitK DchMiniHitK(const DchMiniHitK&)
DchMiniHitK& operator=(const DchMiniHitK&)
Author: P. Elmer, L. Wilden, D. Brown
Last update: DchMiniHitK.cc,v 1.13 2004/08/06 05:56:29 bartoldu Exp $
Copyright (C) 2003 Princeton University
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.
|