SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Comp. Search
Who's who?
Meetings
FAQ Homepage
Archive
Environment
Administration
New User Info.
Web Info/Tools
Monitoring
Training
Tools & Utils
Programming
C++ Standard
SRT, AFS, CVS
QA and QC
Remedy
Histogramming
Operations
PromptReco
Simulation Production
Online SW
Dataflow
Detector Control
Evt Processing
Run Control
Calibration
Databases
Offline
Workbook
Coding Standards
Simulation
Reconstruction
Prompt Reco.
BaBar Grid
Data Distribution
Beta & BetaTools
Kanga & Root
Analysis Tools
RooFit Toolkit
Data Management
Data Quality
Event display
Event Browser
Code releases
Databases
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)
#include "EmcMiniDigiK.hh"

EmcMiniDigiK


class description - source file - inheritance tree (.pdf)

class EmcMiniDigiK : public EmcDigiI

Inheritance Chart:
TObject
KanPersistable
KanPersistentRefOwner
<-
KanObj
KanClassI
<-
EmcDigiI
<-
EmcMiniDigiK
    private:
EmcMiniDigiK(const EmcMiniDigiK&) EmcMiniDigiK& operator=(const EmcMiniDigiK&) void pack() void unpack() const static void updateEnv() protected:
virtual EmcDigi* buildTransient(KanEventReader& eR) virtual void loadFrom(const EmcDigi*, KanEventWriter&) virtual void resetHook(Dna::Scope scope = Dna::Event) public:
EmcMiniDigiK() virtual ~EmcMiniDigiK() virtual UInt_t calibIdx() const virtual UInt_t energy() const virtual UInt_t phi() const virtual UInt_t theta() const virtual Short_t time() const

Data Members

    private:
Bool_t _unpacked ! Flag set when unpacked UInt_t _energy ! Unpacked Energy Short_t _time ! Unpacked Time UInt_t _theta ! Unpacked Theta UInt_t _phi ! Unpacked Phi UInt_t _calibIdx ! hmm....? UInt_t _timeEnergy Packed time and energy UInt_t _data Packed theta/phi/calib index static const UInt_t EMCMINIDIGITHMASK ! Theta Bit Mask static const UInt_t EMCMINIDIGIPHMASK ! Phi Bit Mask static const UInt_t EMCMINIDIGICLMASK ! Calib Bit Mask static const UInt_t EMCMINIDIGIPHSHIFT ! Phi Bit Shift static const UInt_t EMCMINIDIGICLSHIFT ! Calib Bit Shift static Bool_t _updated ! flag to keep track of conditions status static const EmcTagConverter* _tagC ! static const EmcOdfEConverter* _eConv ! static const EmcOdfTConverter* _tConv !

Class Description

      Persistent class for EmcDigi.

      The EmcDigiI interface requires the following functions:

        UInt_t  energy() const     // raw energy.
        Short_t time() const       // tdc counts of digi
        UInt_t  theta() const      // theta index of crystal
        UInt_t  phi() const        // phi index of crystal
        UInt_t  calibIdx() const   // calibration index

      Persistent Size: 8 bytes uncompressed

      The Packing looks like this:
        UInt_t  _timeEnergy;  // Packed time(21-32), energy(1-20)
        UInt_t  _data;        // Packed calib(14-32), phi(7-13), theta(1-6)

      The packing for _timeEnergy is defined in EmcDataK/EmcDigiK.rdl(cc)


EmcMiniDigiK() : EmcDigiI(), _unpacked(false), _timeEnergy(0), _data(0)

~EmcMiniDigiK()

void loadFrom( const EmcDigi* transient, KanEventWriter & eW )
 Fill persistent data from transient object

EmcDigi* buildTransient( KanEventReader& eR )
 build transient object from persistent data

void pack()
 fill persitent data from cache

void unpack() const
 unpack and cache copy of transient data

resetHook(Dna::Scope scope)

updateEnv()



Inline Functions


               UInt_t energy() const
              Short_t time() const
               UInt_t theta() const
               UInt_t phi() const
               UInt_t calibIdx() const
         EmcMiniDigiK EmcMiniDigiK(const EmcMiniDigiK&)
        EmcMiniDigiK& operator=(const EmcMiniDigiK&)


Author: P. Elmer, L. Wilden, J. Tinslay, D. Brown
Last update: EmcMiniDigiK.cc,v 1.19 2004/06/25 23:46:08 elmer Exp $
Copyright (C) 2002 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.