#ifndef HEPTH1F_H #define HEPTH1F_H // ---------------------------------------------------------------------- // // HepTH1F.cc - definition of class HepTH1F // // Intended to gain access to the protected members of the Root TH1F class. // // This class is used to import an existing histogram object from possibly // some other manager and manufacture a temporary TH1F object with all the // same characteristics as the original. That way, we can use the existing // Root methods to implement the increment operators. // // Because of the eccentricities of the various managers, we do NOT manage // to get some of the statistical sums quite right - in particular the // sum of the squared weights - so the overall statistics should not be taken // too seriously. // // 25-Feb-1999 J. Marraffino Initial definition // 21-Feb-2000 Walter Brown Improved C++ standard compliance // // ---------------------------------------------------------------------- #ifndef ZMENVIRONMENT_H #include "ZMutility/ZMenvironment.h" #endif #include #include "HepTuple/HepRootHist1D.h" ZM_BEGIN_NAMESPACE( zmht ) /* namespace zmht { */ class TH1; class TH1F; class HepTH1F : public TH1F { public: HepTH1F( const HepHist1D & p ); // constructor for an existing HepHist1D virtual ~HepTH1F(); // destructor private: // forbidden operations, hence private HepTH1F( const HepTH1F & ); // copy constructor HepTH1F & operator=( const HepTH1F & ); // assignment }; // HepTH1F ZM_END_NAMESPACE( zmht ) /* } // namespace zmht */ #endif // HEPTH1F_H