00001 #ifndef _HCAL_HLX_ROOTFILETRANSFER_H_ 00002 #define _HCAL_HLX_ROOTFILETRANSFER_H_ 00003 00004 #include <string> 00005 00006 namespace HCAL_HLX{ 00007 00008 class ROOTFileTransfer{ 00009 public: 00010 ROOTFileTransfer(); 00011 ~ROOTFileTransfer(); 00012 00013 void SetFileName( const std::string &fileName ){ fileName_ = fileName; } 00014 void SetInputDir( const std::string &dirName ){ dirName_ = dirName; } 00015 void SetEtSumOnly( const bool &bEtSumOnly ){ bEtSumOnly_ = bEtSumOnly; } 00016 void SetFileType( const std::string &fileType ); 00017 00018 int TransferFile(); 00019 private: 00020 std::string fileName_; 00021 std::string dirName_; 00022 std::string fileType_; 00023 00024 bool bEtSumOnly_; 00025 }; 00026 } 00027 00028 00029 #endif