Ignore:
Timestamp:
04/18/01 14:36:05 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MReadTree.cc

    r749 r752  
    5353ClassImp(MReadTree)
    5454
     55// --------------------------------------------------------------------------
    5556MReadTree::MReadTree(const char *tname, const char *fname,
    5657                     const char *name, const char *title)
     
    6869}
    6970
     71// --------------------------------------------------------------------------
    7072MReadTree::~MReadTree()
    7173{
     
    7375}
    7476
     77// --------------------------------------------------------------------------
    7578/*Int_t*/ void MReadTree::AddFile(const char *fname)
    7679{
     
    8487}
    8588
     89// --------------------------------------------------------------------------
     90//
     91// open file and check if file is really open
     92//
    8693Bool_t MReadTree::PreProcess (MParList *pList)
    8794{
    88     //
    89     // open file and check if file is really open
    90     //
    91 
    9295    //
    9396    // get number of events in this tree
     
    154157}
    155158
     159// --------------------------------------------------------------------------
    156160Bool_t MReadTree::Process()
    157161{
     
    172176}
    173177
     178// --------------------------------------------------------------------------
     179//
     180// Close File
     181//
    174182Bool_t MReadTree::PostProcess()
    175183{
    176     //
    177     // Close File
    178     //
    179184    //fFile->Close();
    180185
     
    182187}
    183188
     189// --------------------------------------------------------------------------
     190//
     191// Get the Event with the current EventNumber fNumEntry
     192//
    184193Bool_t MReadTree::GetEvent()
    185194{
    186     //
    187     // Get the Event with the current EventNumber fNumEntry
    188     //
    189195    fChain->GetEntry(fNumEntry);
    190196
     
    192198}
    193199
     200// --------------------------------------------------------------------------
     201//
     202// Decrease the number of the event which is read by Process() next
     203// by one or more
     204//
    194205Bool_t MReadTree::DecEventNum(UInt_t dec)
    195206{
    196     //
    197     // Decrease the number of the event which is read by Process() next
    198     // by one or more
    199     //
    200 
    201207    //!
    202208    //! this function makes Process() read the event one (or more) before
     
    213219}
    214220
     221// --------------------------------------------------------------------------
     222//
     223// Increase the number of the event which is read by Process() next
     224// by one or more
     225//
    215226Bool_t MReadTree::IncEventNum(UInt_t inc)
    216227{
    217     //
    218     // Increase the number of the event which is read by Process() next
    219     // by one or more
    220     //
    221 
    222228    //!
    223229    //! this function makes Process() read the next (or more) after
     
    236242}
    237243
     244// --------------------------------------------------------------------------
     245//
     246// this function makes Process() read event number nr next
     247//
    238248Bool_t MReadTree::SetEventNum(UInt_t nr)
    239249{
    240     //
    241     // this function makes Process() read event number nr next
    242     //
    243250    if (nr>=fNumEntries)
    244251    {
Note: See TracChangeset for help on using the changeset viewer.