ATLAS Offline Software
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 
11 #include "AthenaKernel/BaseInfo.h"
12 
13 class TrigInDetTrackCollection : public DataVector<TrigInDetTrack> {
14 
15 public:
16  // Constructors: POOL needs default constructor
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 
32 
34 
35 #endif
TrigInDetTrackCollection
Definition: TrigInDetTrackCollection.h:13
TrigInDetTrack
Definition: TrigInDetTrack.h:34
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
TrigInDetTrack.h
TrigInDetTrackCollection::RoI_ID
void RoI_ID(const int roi)
Definition: TrigInDetTrackCollection.h:21
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
BaseInfo.h
Provide an interface for finding inheritance information at run time.
TrigInDetTrackCollection::TrigInDetTrackCollection
TrigInDetTrackCollection(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Definition: TrigInDetTrackCollection.h:17
TrigInDetTrackCollection::m_RoI_ID
int m_RoI_ID
Definition: TrigInDetTrackCollection.h:26
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
TrigInDetTrackCollection::RoI_ID
int RoI_ID() const
Definition: TrigInDetTrackCollection.h:23
SG_BASE
SG_BASE(TrigInDetTrackCollection, DataVector< TrigInDetTrack >)
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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
DataVector< TrigInDetTrack >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
CLASS_DEF.h
macros to associate a CLID to a type