#include <ROOTFileReader.h>
Definition at line 21 of file ROOTFileReader.h.
HCAL_HLX::ROOTFileReader::ROOTFileReader |
( |
| ) |
|
HCAL_HLX::ROOTFileReader::~ROOTFileReader |
( |
| ) |
|
int HCAL_HLX::ROOTFileReader::CreateFileNameList |
( |
| ) |
|
Definition at line 32 of file ROOTFileReader.cc.
References align_tpl::fileNames, NULL, and python.multivaluedict::sort().
37 std::string tempFileName;
52 while( (dirp = readdir(dp)) !=
NULL ){
53 tempFileName = dirp->d_name;
54 if(tempFileName.substr(0,8) ==
"CMS_LUMI" ){
55 fileNames.push_back(
dirName_ + tempFileName);
60 if( fileNames.size() == 0 ){
64 sort(fileNames.begin(), fileNames.end());
int ReplaceFile(const std::vector< std::string > &fileNames)
void HCAL_HLX::ROOTFileReader::CreateTree |
( |
| ) |
|
|
privatevirtual |
Implements HCAL_HLX::ROOTFileBase.
Definition at line 95 of file ROOTFileReader.cc.
108 for(
unsigned int iHLX = 0; iHLX < 36; ++iHLX){
109 std::stringstream branchName;
112 branchName.str(std::string());
113 branchName <<
"ETSum" << std::setw(2) << std::setfill(
'0') << iHLX <<
".";
118 branchName.str(std::string());
119 branchName <<
"Occupancy" << std::setw(2) << std::setfill(
'0') << iHLX <<
".";
123 branchName.str(std::string());
124 branchName <<
"LHC" << std::setw(2) << std::setfill(
'0') << iHLX <<
".";
HCAL_HLX::LUMI_SECTION * lumiSection_
HCAL_HLX::LUMI_DETAIL * Detail_
ET_SUM_SECTION etSum[HCAL_HLX_MAX_HLXS]
HCAL_HLX::LUMI_SUMMARY * Summary_
TBranch * b_Occupancy[NUM_HLXS]
HCAL_HLX::LHC_SECTION * LHCPtr_[36]
LHC_SECTION lhc[HCAL_HLX_MAX_HLXS]
HCAL_HLX::OCCUPANCY_SECTION * OccupancyPtr_[36]
HCAL_HLX::LUMI_SECTION_HEADER * Header_
HCAL_HLX::ET_SUM_SECTION * EtSumPtr_[36]
OCCUPANCY_SECTION occupancy[HCAL_HLX_MAX_HLXS]
TBranch * b_ETSum[NUM_HLXS]
TBranch * b_LHC[NUM_HLXS]
unsigned int HCAL_HLX::ROOTFileReader::GetEntries |
( |
| ) |
|
int HCAL_HLX::ROOTFileReader::GetEntry |
( |
int |
entry | ) |
|
int HCAL_HLX::ROOTFileReader::ReplaceFile |
( |
const std::vector< std::string > & |
fileNames | ) |
|
|
private |
int HCAL_HLX::ROOTFileReader::SetFileName |
( |
const std::string & |
fileName | ) |
|
Definition at line 68 of file ROOTFileReader.cc.
70 std::vector< std::string > tempVecOfStrings;
72 tempVecOfStrings.clear();
int ReplaceFile(const std::vector< std::string > &fileNames)
TBranch* HCAL_HLX::ROOTFileReader::b_Detail |
|
private |
TBranch* HCAL_HLX::ROOTFileReader::b_ETSum[NUM_HLXS] |
|
private |
TBranch* HCAL_HLX::ROOTFileReader::b_Header |
|
private |
TBranch* HCAL_HLX::ROOTFileReader::b_LHC[NUM_HLXS] |
|
private |
TBranch* HCAL_HLX::ROOTFileReader::b_Occupancy[NUM_HLXS] |
|
private |
TBranch* HCAL_HLX::ROOTFileReader::b_Summary |
|
private |
TChain* HCAL_HLX::ROOTFileReader::mChain_ |
|
private |
const unsigned int HCAL_HLX::ROOTFileReader::NUM_HLXS = 36 |
|
staticprivate |