/**
 * \class BeamMonFiller
 *
 * \ingroup BeamDataDbi
 *
 * \brief Base class for table fillers
 *
 * 
 *
 * \author (last to touch it) $Author: minoscvs $
 *
 * \version $Revision: 1.2 $
 *
 * \date $Date: 2005/04/28 17:44:30 $
 *
 * Contact: bv@bnl.gov
 *
 * Created on: Wed Apr 13 18:17:43 2005
 *
 * $Id: BeamMonFiller.h,v 1.2 2005/04/28 17:44:30 minoscvs Exp $
 *
 */


#ifndef BEAMMONFILLER_H
#define BEAMMONFILLER_H

class RawBeamMonHeaderBlock;
class RawBeamMonBlock;

class BeamMonFiller {
public:
    /// Called each time a new file is encountered
    void NewFile(const char* /*filename*/) {};

    /// Called each time this file is ended
    void EndFile();

    /// Called each time a spill that is read out with the correct
    /// trigger is encountered and the passed in blocks exist
    void Spill(const RawBeamMonHeaderBlock& rbmhb, const RawBeamMonBlock& rbmb);


};

#endif  // BEAMMONFILLER_H
