ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
AtlasTest
DatabaseTest
AthenaPoolTestData
AthenaPoolTestData
TrigPath.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
#ifndef ATHENAPOOLTEST_TRIGPATH_H
17
#define ATHENAPOOLTEST_TRIGPATH_H
18
19
#include <string>
20
#include <set>
21
22
class
TrigPath
23
{
24
public
:
25
TrigPath
() :
pathID
(-1),
l1bit
(-1),
l2bit
(0) {}
26
TrigPath
(
int
l1,
int
l2,
int
p) :
27
pathID
(p),
l1bit
(l1),
l2bit
(l2) {}
28
int
pathID
;
29
int
l1bit
;
30
int
l2bit
;
31
32
bool
isValid
()
const
{
33
return
(
pathID
>-1&&
pathID
<64&&
34
l1bit
>-1 &&
l1bit
<64&&
35
l2bit
>-1 &&
l2bit
<64 );
36
}
37
38
bool
operator==
(
const
TrigPath
& t)
const
39
{
return
this->pathID==t.pathID;}
40
bool
operator!=
(
const
TrigPath
& t)
const
41
{
return
!(*
this
==t);}
42
bool
operator<
(
const
TrigPath
& t)
const
43
{
return
this->pathID<t.pathID;}
44
};
45
46
#include "
AthenaKernel/CLASS_DEF.h
"
47
CLASS_DEF
(
TrigPath
, 1287801, 0)
48
#endif
49
CLASS_DEF.h
macros to associate a CLID to a type
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:67
TrigPath
Support class for use in AthenaPoolMultiTest event splitting.
Definition
TrigPath.h:23
TrigPath::TrigPath
TrigPath()
Definition
TrigPath.h:25
TrigPath::TrigPath
TrigPath(int l1, int l2, int p)
Definition
TrigPath.h:26
TrigPath::operator==
bool operator==(const TrigPath &t) const
Definition
TrigPath.h:38
TrigPath::pathID
int pathID
Definition
TrigPath.h:28
TrigPath::isValid
bool isValid() const
Definition
TrigPath.h:32
TrigPath::operator!=
bool operator!=(const TrigPath &t) const
Definition
TrigPath.h:40
TrigPath::l1bit
int l1bit
Definition
TrigPath.h:29
TrigPath::operator<
bool operator<(const TrigPath &t) const
Definition
TrigPath.h:42
TrigPath::l2bit
int l2bit
Definition
TrigPath.h:30
Generated on
for ATLAS Offline Software by
1.17.0