5 #include "RecoLuminosity/TCPReceiver/interface/LumiStructures.hh"
51 if( lumiSection_ !=0 ){
62 RFReader_->CreateFileNameList();
65 RFWriter_->OpenFile(runNumber, minSectionNumber);
67 unsigned int nentries = RFReader_->GetEntries();
69 RFWriter_->CloseFile();
73 for(
unsigned int iEntry = 0; iEntry < nentries; ++iEntry ){
75 RFReader_->GetEntry(iEntry);
76 RFReader_->GetLumiSection(*lumiSection_);
79 RFWriter_->FillTree(*lumiSection_);
82 return RFWriter_->CloseFile();
87 RFReader_->SetDir(dirName);
92 RFWriter_->SetDir(dirName);
97 return RFWriter_->GetFileName();
102 RFWriter_->SetEtSumOnly(bEtSumOnly);
103 RFReader_->SetEtSumOnly(bEtSumOnly);
108 RFWriter_->SetFileType( fileType );
109 RFReader_->SetFileType( fileType );
114 RFWriter_->SetDate( date );
115 RFReader_->SetDate( date );
bool Merge(const unsigned int runNumber, const unsigned int minSecNum)
void SetInputDir(const std::string &inputDir)
void SetFileType(const std::string &fileType)
ROOTFileWriter * RFWriter_
void SetMerge(const bool bMerge)
ROOTFileReader * RFReader_
void SetOutputDir(const std::string &outputDir)
void SetDate(const std::string &date)
std::string GetOutputFileName()
void SetEtSumOnly(const bool bEtSumOnly)
LUMI_SECTION * lumiSection_