#ifndef HEPTH2F_H #define HEPTH2F_H // ---------------------------------------------------------------------- // // HepTH2F.cc - definition of class HepTH2F // // Intended to gain access to the protected members of the Root TH2F class. // // This class is used to import an existing histogram object from possibly // some other manager and manufacture a temporary TH2F 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 #include "HepTuple/HepRootHist2D.h" ZM_BEGIN_NAMESPACE( zmht ) /* namespace zmht { */ class TH1; class TH2; class TH2F; class HepRawHist; class HepTH2F : public TH2F { public: HepTH2F( const HepHist2D & p ); // constructor for an existing HepHist2D virtual ~HepTH2F(); // destructor void finishStat2D( HepRootHist2D * h ); private: // forbidden operations, hence private HepTH2F( const HepTH2F & ); // copy constructor HepTH2F & operator=( const HepTH2F & ); // assignment }; // HepTH2F ZM_END_NAMESPACE( zmht ) /* } // namespace zmht */ #endif // HEPTH2F_H