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 124 of file DQMRootSource.cc.

Member Function Documentation

◆ describe()

void DQMTTreeIO::FileMetadata::describe ( )
inline

Definition at line 142 of file DQMRootSource.cc.

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

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

◆ operator<()

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

Definition at line 135 of file DQMRootSource.cc.

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

References m_lumi, m_run, and getGTfromDQMFile::obj.

Member Data Documentation

◆ m_beginTime

ULong64_t DQMTTreeIO::FileMetadata::m_beginTime

Definition at line 127 of file DQMRootSource.cc.

Referenced by describe().

◆ m_endTime

ULong64_t DQMTTreeIO::FileMetadata::m_endTime

Definition at line 128 of file DQMRootSource.cc.

Referenced by describe().

◆ m_file

TFile* DQMTTreeIO::FileMetadata::m_file

Definition at line 132 of file DQMRootSource.cc.

Referenced by describe().

◆ m_firstIndex

ULong64_t DQMTTreeIO::FileMetadata::m_firstIndex

Definition at line 129 of file DQMRootSource.cc.

Referenced by describe().

◆ m_lastIndex

ULong64_t DQMTTreeIO::FileMetadata::m_lastIndex

Definition at line 130 of file DQMRootSource.cc.

Referenced by describe().

◆ m_lumi

unsigned int DQMTTreeIO::FileMetadata::m_lumi

Definition at line 126 of file DQMRootSource.cc.

Referenced by describe(), and operator<().

◆ m_run

unsigned int DQMTTreeIO::FileMetadata::m_run

Definition at line 125 of file DQMRootSource.cc.

Referenced by describe(), and operator<().

◆ m_type

unsigned int DQMTTreeIO::FileMetadata::m_type

Definition at line 131 of file DQMRootSource.cc.

Referenced by describe().

DQMTTreeIO::FileMetadata::m_beginTime
ULong64_t m_beginTime
Definition: DQMRootSource.cc:127
DQMTTreeIO::FileMetadata::m_lumi
unsigned int m_lumi
Definition: DQMRootSource.cc:126
DQMTTreeIO::FileMetadata::m_firstIndex
ULong64_t m_firstIndex
Definition: DQMRootSource.cc:129
gather_cfg.cout
cout
Definition: gather_cfg.py:144
DQMTTreeIO::FileMetadata::m_run
unsigned int m_run
Definition: DQMRootSource.cc:125
DQMTTreeIO::FileMetadata::m_file
TFile * m_file
Definition: DQMRootSource.cc:132
DQMTTreeIO::FileMetadata::m_endTime
ULong64_t m_endTime
Definition: DQMRootSource.cc:128
DQMTTreeIO::FileMetadata::m_lastIndex
ULong64_t m_lastIndex
Definition: DQMRootSource.cc:130
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
DQMTTreeIO::FileMetadata::m_type
unsigned int m_type
Definition: DQMRootSource.cc:131