ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
event_selector Class Reference

#include <event_selector.h>

Inheritance diagram for event_selector:
Collaboration diagram for event_selector:

Public Member Functions

template<class T >
 event_selector (std::vector< T > e)
 
 ~event_selector ()
 
bool in (int event)
 

Public Attributes

keys
 STL member. More...
 

Detailed Description

Definition at line 20 of file event_selector.h.

Constructor & Destructor Documentation

◆ event_selector()

template<class T >
event_selector::event_selector ( std::vector< T >  e)
inline

Definition at line 25 of file event_selector.h.

25  {
26  for (unsigned int i=0 ; i<e.size() ; i++ ) insert(int(e[i]));
27  }

◆ ~event_selector()

event_selector::~event_selector ( )
inline

Definition at line 33 of file event_selector.h.

33 { }

Member Function Documentation

◆ in()

bool event_selector::in ( int  event)
inline

Definition at line 35 of file event_selector.h.

35  {
36  if ( find(event)==end() ) return false;
37  std::cout << "event_selector::in() found " << event << std::endl;
38  return true;
39  }

Member Data Documentation

◆ keys

K std::set< K >::keys
inherited

STL member.


The documentation for this class was generated from the following file:
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
lumiFormat.i
int i
Definition: lumiFormat.py:92
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26