#ifndef GATHERPROXY_H #define GATHERPROXY_H // ---------------------------------------------------------------------- // // GatherProxy.h - A helper class to hold lots of dirty details // to pass between gatherHists and combineHists // // ---------------------------------------------------------------------- #ifndef ZMENVIRONMENT_H #include "ZMutility/ZMenvironment.h" #endif ZM_BEGIN_NAMESPACE( zmht ) /* namespace zmht { */ typedef std::vector svector; typedef std::pair H1pair; typedef std::pair HH1pair; typedef std::vector HH1vec; typedef std::pair H2pair; typedef std::pair HH2pair; typedef std::vector HH2vec; typedef std::pair HPpair; typedef std::pair HHPpair; typedef std::vector HHPvec; class GatherProxy { public: GatherProxy(); // default constructor virtual ~GatherProxy(); // destructor void setSourceDirs( const svector& ); void setSourceKeys( const svector& ); void setTargetDirs( const svector& ); void setTargetKeys( const svector& ); svector& getSourceDirs( ); svector& getSourceKeys( ); svector& getTargetDirs( ); svector& getTargetKeys( ); void setList1D( const HH1vec& ); void setList2D( const HH2vec& ); void setListProf( const HHPvec& ); HH1vec& getList1D( ); HH2vec& getList2D( ); HHPvec& getListProf( ); private: svector sourceDirs; svector sourceKeys; svector targetDirs; svector targetKeys; HH1vec H1H1; HH2vec H2H2; HHPvec HpHp; }; // HepRawHist #include "HepTuple/GatherProxy.icc" ZM_END_NAMESPACE( zmht ) /* } // namespace zmht */ #endif // GATHERPROXY_H