ATLAS Offline Software
FauxTriggerMap.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
16 // FauxTriggerMap.h
17 //
18 #ifndef ATHENAPOOLTEST_TRIGGER_H
19 #define ATHENAPOOLTEST_TRIGGER_H
20 
21 #include <string>
22 #include <set>
23 
24 class TrigPath;
25 
27 {
28 public:
29  typedef unsigned int NUMBER_TYPE;
30 
32  virtual ~FauxTriggerMap();
33 
35  bool addPath(const TrigPath& tp);
36 
38  bool hasL1(int l1bit) const;
40  NUMBER_TYPE bits() const;
41 
42 private:
43  bool m_l1results[64];
45 };
46 #include "AthenaKernel/CLASS_DEF.h"
47 CLASS_DEF(FauxTriggerMap, 1287802, 0)
48 #endif
FauxTriggerMap
Support class for use in AthenaPoolMultiTest event splitting. Acts as dummy trigger information in ...
Definition: FauxTriggerMap.h:27
FauxTriggerMap::FauxTriggerMap
FauxTriggerMap()
Definition: FauxTriggerMap.cxx:15
FauxTriggerMap::m_bits
NUMBER_TYPE m_bits
Definition: FauxTriggerMap.h:44
FauxTriggerMap::NUMBER_TYPE
unsigned int NUMBER_TYPE
Definition: FauxTriggerMap.h:29
ParticleTest.tp
tp
Definition: ParticleTest.py:25
FauxTriggerMap::hasL1
bool hasL1(int l1bit) const
Query whether l1bit is in the map.
Definition: FauxTriggerMap.cxx:42
FauxTriggerMap::m_l1results
bool m_l1results[64]
Definition: FauxTriggerMap.h:43
FauxTriggerMap::~FauxTriggerMap
virtual ~FauxTriggerMap()
Definition: FauxTriggerMap.cxx:24
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
FauxTriggerMap::bits
NUMBER_TYPE bits() const
Return the bits stored in the map.
Definition: FauxTriggerMap.cxx:47
TrigPath
Support class for use in AthenaPoolMultiTest event splitting. Stores trigger path information,...
Definition: TrigPath.h:23
CLASS_DEF.h
macros to associate a CLID to a type
FauxTriggerMap::addPath
bool addPath(const TrigPath &tp)
Add the trigger path to the current map.
Definition: FauxTriggerMap.cxx:27