CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DQMTTreeIO::FileMetadata Struct Reference

Public Member Functions

void describe ()
 
bool operator< (const FileMetadata &obj) const
 

Public Attributes

ULong64_t m_beginTime
 
ULong64_t m_endTime
 
TFile * m_file
 
ULong64_t m_firstIndex
 
ULong64_t m_lastIndex
 
unsigned int m_lumi
 
unsigned int m_run
 
unsigned int m_type
 

Detailed Description

Definition at line 126 of file DQMRootSource.cc.

Member Function Documentation

◆ describe()

void DQMTTreeIO::FileMetadata::describe ( )
inline

Definition at line 144 of file DQMRootSource.cc.

References gather_cfg::cout, m_beginTime, m_endTime, m_file, m_firstIndex, m_lastIndex, m_lumi, m_run, and m_type.

144  {
145  std::cout << "read r:" << m_run << " l:" << m_lumi << " bt:" << m_beginTime << " et:" << m_endTime
146  << " fi:" << m_firstIndex << " li:" << m_lastIndex << " type:" << m_type << " file: " << m_file
147  << std::endl;
148  }

◆ operator<()

bool DQMTTreeIO::FileMetadata::operator< ( const FileMetadata obj) const
inline

Definition at line 137 of file DQMRootSource.cc.

References m_lumi, m_run, and getGTfromDQMFile::obj.

137  {
138  if (m_run == obj.m_run)
139  return m_lumi < obj.m_lumi;
140  else
141  return m_run < obj.m_run;
142  }

Member Data Documentation

◆ m_beginTime

ULong64_t DQMTTreeIO::FileMetadata::m_beginTime

Definition at line 129 of file DQMRootSource.cc.

Referenced by describe().

◆ m_endTime

ULong64_t DQMTTreeIO::FileMetadata::m_endTime

Definition at line 130 of file DQMRootSource.cc.

Referenced by describe().

◆ m_file

TFile* DQMTTreeIO::FileMetadata::m_file

Definition at line 134 of file DQMRootSource.cc.

Referenced by describe().

◆ m_firstIndex

ULong64_t DQMTTreeIO::FileMetadata::m_firstIndex

Definition at line 131 of file DQMRootSource.cc.

Referenced by describe().

◆ m_lastIndex

ULong64_t DQMTTreeIO::FileMetadata::m_lastIndex

Definition at line 132 of file DQMRootSource.cc.

Referenced by describe().

◆ m_lumi

unsigned int DQMTTreeIO::FileMetadata::m_lumi

◆ m_run

unsigned int DQMTTreeIO::FileMetadata::m_run

◆ m_type

unsigned int DQMTTreeIO::FileMetadata::m_type

Definition at line 133 of file DQMRootSource.cc.

Referenced by describe().