ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
event_list Struct Reference
Collaboration diagram for event_list:

Public Member Functions

 event_list (const std::string &filename)
 
bool find (int i)
 

Public Attributes

std::set< int > mevents
 

Detailed Description

Definition at line 298 of file rmain.cxx.

Constructor & Destructor Documentation

◆ event_list()

event_list::event_list ( const std::string &  filename)
inline

Definition at line 300 of file rmain.cxx.

300  {
301 
302  std::cout << "event_list::event_list() ";
303  std::cout << filename << std::endl;
304 
305  std::ifstream file(filename.c_str());
306 
307  int evnt;
308 
309  while ( file>>evnt ) {
310  mevents.insert(evnt);
311  }
312 
313  std::cout << "event_list::event_list() ";
314  std::cout << mevents.size() << std::endl;
315 
316  }

Member Function Documentation

◆ find()

bool event_list::find ( int  i)
inline

Definition at line 318 of file rmain.cxx.

318  {
320  if ( it!=mevents.end() ) return true;
321  return false;
322  }

Member Data Documentation

◆ mevents

std::set<int> event_list::mevents

Definition at line 324 of file rmain.cxx.


The documentation for this struct was generated from the following file:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
skel.it
it
Definition: skel.GENtoEVGEN.py:396
lumiFormat.i
int i
Definition: lumiFormat.py:85
file
TFile * file
Definition: tile_monitor.h:29
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
event_list::mevents
std::set< int > mevents
Definition: rmain.cxx:324