ATLAS Offline Software
Trigger
TrigAnalysis
TrigInDetAnalysisUtils
TrigInDetAnalysisUtils
TIDAVertexBuilder.h
Go to the documentation of this file.
1
/* emacs: this is -*- c++ -*- */
11
#ifndef TIDA_VERTEX_BUILDER_H
12
#define TIDA_VERTEX_BUILDER_H
13
14
#include "
TrigInDetAnalysis/TIDAVertex.h
"
15
16
#include "
xAODTracking/VertexContainer.h
"
17
#include "
xAODTracking/Vertex.h
"
18
#include "
xAODTracking/TrackParticle.h
"
19
#include "
xAODTracking/TrackParticleContainer.h
"
20
21
22
class
TIDAVertexBuilder
{
23
24
public
:
25
26
// default constructor
27
TIDAVertexBuilder
() { }
28
29
// default destructor
30
~TIDAVertexBuilder
() { }
31
32
// select() methods convert containers of xAOD::Vertex into vector of TIDA::Vertex
33
// If require_tracks=true, only vertices with at least one track are kept
34
// If useType0 is set to True, vertices of type 0 are added to the collection
35
static
std::vector<TIDA::Vertex>
select
(
const
xAOD::VertexContainer
* xAODVertices,
36
const
std::vector<TIDA::Track*>* trackCollection=0,
37
bool
useType0=
false
,
38
bool
require_tracks=
true
);
39
40
41
static
std::vector<TIDA::Vertex>
select
(
xAOD::VertexContainer::const_iterator
itr,
42
xAOD::VertexContainer::const_iterator
enditr,
43
const
std::vector<TIDA::Track*>* trackCollection=0,
44
bool
useType0=
false
,
45
bool
require_tracks=
true
);
46
47
private
:
48
49
// internal methods for select() methods
50
static
TIDA::Vertex
selectVertex
(
const
xAOD::Vertex
*
v
);
51
52
static
unsigned
long
getTrackId
(
const
xAOD::TrackParticle
*
track
);
53
54
};
// class TIDAVertexBuilder
55
56
#endif // TIDA_VERTEX_BUILDER_H
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition:
DVLIterator.h:82
TIDAVertexBuilder::select
static std::vector< TIDA::Vertex > select(const xAOD::VertexContainer *xAODVertices, const std::vector< TIDA::Track * > *trackCollection=0, bool useType0=false, bool require_tracks=true)
Definition:
TIDAVertexBuilder.cxx:13
TIDAVertexBuilder::getTrackId
static unsigned long getTrackId(const xAOD::TrackParticle *track)
Definition:
TIDAVertexBuilder.cxx:111
TIDAVertex.h
TIDAVertexBuilder
Definition:
TIDAVertexBuilder.h:22
TIDAVertexBuilder::~TIDAVertexBuilder
~TIDAVertexBuilder()
Definition:
TIDAVertexBuilder.h:30
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
Vertex.h
TIDA::Vertex
Definition:
TIDAVertex.h:23
TrackParticle.h
python.PyAthena.v
v
Definition:
PyAthena.py:154
VertexContainer.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition:
Vertex_v1.h:42
TIDAVertexBuilder::TIDAVertexBuilder
TIDAVertexBuilder()
Definition:
TIDAVertexBuilder.h:27
xAOD::track
@ track
Definition:
TrackingPrimitives.h:512
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
TIDAVertexBuilder::selectVertex
static TIDA::Vertex selectVertex(const xAOD::Vertex *v)
Definition:
TIDAVertexBuilder.cxx:92
TrackParticleContainer.h
Generated on Thu Nov 7 2024 21:27:55 for ATLAS Offline Software by
1.8.18