ATLAS Offline Software
MaxEventsInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef UTILITIES_COLLECTION_NEVENTSINFO
6 #define UTILITIES_COLLECTION_NEVENTSINFO
7 
10 
11 /**********************************************************
12 
13 MaxEventsInfo is an concretization of a CmdLineArgs2
14  to contain the max number of events to process
15 
16 Qualifiers: -nevents
17 
18 **********************************************************/
19 
20 namespace pool
21 {
22 
23  class MaxEventsInfo : public CmdLineArgs2
24  {
25  public:
26 
28  MaxEventsInfo( );
29 
30  virtual ~MaxEventsInfo() {}
31 
33  bool evalArgs(std::vector<std::string>& argv);
34 
35  int get() { return m_maxEvents; }
36  bool specified() { return m_specified; }
37 
38  protected:
39  bool m_specified;
40  int m_maxEvents;
41  };
42 
43 
44 
45 } // end pool namespace
46 
47 #endif
48 
pool::MaxEventsInfo::m_maxEvents
int m_maxEvents
Definition: MaxEventsInfo.h:54
pool::MaxEventsInfo::MaxEventsInfo
MaxEventsInfo()
Constructors.
ArgQual.h
pool
pool namespace
Definition: libname.h:15
pool::MaxEventsInfo::m_specified
bool m_specified
Definition: MaxEventsInfo.h:53
pool::MaxEventsInfo::evalArgs
bool evalArgs(std::vector< std::string > &argv)
Apply the criteria in the QualList to the argv[].
pool::MaxEventsInfo::get
int get()
Definition: MaxEventsInfo.h:49
LArCellConditions.argv
argv
Definition: LArCellConditions.py:112
pool::MaxEventsInfo::~MaxEventsInfo
virtual ~MaxEventsInfo()
Definition: MaxEventsInfo.h:44
CmdLineArgs2.h
pool::MaxEventsInfo::specified
bool specified()
Definition: MaxEventsInfo.h:50