ATLAS Offline Software
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
TrigPath::pathID
int pathID
Definition:
TrigPath.h:28
TrigPath::TrigPath
TrigPath()
Definition:
TrigPath.h:25
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
TrigPath::isValid
bool isValid() const
Definition:
TrigPath.h:32
skel.l2
l2
Definition:
skel.GENtoEVGEN.py:399
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
TrigPath::TrigPath
TrigPath(int l1, int l2, int p)
Definition:
TrigPath.h:26
TrigPath::l1bit
int l1bit
Definition:
TrigPath.h:29
TrigPath::l2bit
int l2bit
Definition:
TrigPath.h:30
TrigPath::operator<
bool operator<(const TrigPath &t) const
Definition:
TrigPath.h:42
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
skel.l1
l1
Definition:
skel.GENtoEVGEN.py:398
TrigPath::operator!=
bool operator!=(const TrigPath &t) const
Definition:
TrigPath.h:40
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
TrigPath::operator==
bool operator==(const TrigPath &t) const
Definition:
TrigPath.h:38
Generated on Thu Nov 7 2024 21:30:06 for ATLAS Offline Software by
1.8.18