ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigInDetEvent
TrigInDetEvent
TrigInDetTrackCollection.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 TRIG_IN_DET_TRACK_COLLECTION_H
6
#define TRIG_IN_DET_TRACK_COLLECTION_H
7
8
#include "
AthenaKernel/CLASS_DEF.h
"
9
#include "
AthContainers/DataVector.h
"
10
#include "
TrigInDetEvent/TrigInDetTrack.h
"
11
#include "
AthenaKernel/BaseInfo.h
"
12
13
class
TrigInDetTrackCollection
:
public
DataVector
<TrigInDetTrack> {
14
15
public
:
16
// Constructors: POOL needs default constructor
17
TrigInDetTrackCollection
(
SG::OwnershipPolicy
ownPolicy
=
SG::OWN_ELEMENTS
)
18
:
DataVector
<
TrigInDetTrack
> (
ownPolicy
),
19
m_RoI_ID
(-1) {};
20
21
void
RoI_ID
(
const
int
roi) {
m_RoI_ID
= roi; }
22
23
int
RoI_ID
()
const
{
return
m_RoI_ID
;}
24
25
private
:
26
int
m_RoI_ID
;
27
};
28
29
CLASS_DEF
(
TrigInDetTrackCollection
, 1299522495 , 1 )
30
31
CLASS_DEF
(
DataVector
<
TrigInDetTrackCollection
> , 1306764742 , 1 )
32
33
SG_BASE
(
TrigInDetTrackCollection
,
DataVector
<
TrigInDetTrack
>);
34
35
#endif
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
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
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
TrigInDetTrack.h
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< TrigInDetTrack >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
DataVector< TrigInDetTrack >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
TrigInDetTrackCollection
Definition
TrigInDetTrackCollection.h:13
TrigInDetTrackCollection::m_RoI_ID
int m_RoI_ID
Definition
TrigInDetTrackCollection.h:26
TrigInDetTrackCollection::RoI_ID
int RoI_ID() const
Definition
TrigInDetTrackCollection.h:23
TrigInDetTrackCollection::TrigInDetTrackCollection
TrigInDetTrackCollection(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Definition
TrigInDetTrackCollection.h:17
TrigInDetTrackCollection::RoI_ID
void RoI_ID(const int roi)
Definition
TrigInDetTrackCollection.h:21
TrigInDetTrack
represents a LVL2 ID track
Definition
TrigInDetTrack.h:34
SG::OwnershipPolicy
OwnershipPolicy
Definition
OwnershipPolicy.h:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition
OwnershipPolicy.h:17
Generated on
for ATLAS Offline Software by
1.17.0