src
FastSimDataFormats
NuclearInteractions
src
FSimDisplacedVertex.cc
Go to the documentation of this file.
1
#include "
FastSimDataFormats/NuclearInteractions/interface/FSimDisplacedVertex.h
"
2
3
FSimDisplacedVertex::FSimDisplacedVertex
()
4
: id_(-1),
5
motherId_(-1),
6
nCharged_(0),
7
vertexType_(
FSimVertexType
::
ANY
),
8
isRecoVertex_(
false
),
9
recoVertexId_(-1)
10
11
{}
12
13
FSimDisplacedVertex::FSimDisplacedVertex
(
const
SimVertex
&
vertex
,
14
unsigned
id
,
15
int
motherId
,
16
unsigned
nCharged
,
17
const
std::vector<int>& daughterIds,
18
const
FSimVertexType::VertexType
vertexType)
19
: vertex_(
vertex
),
20
id_(
id
),
21
motherId_(
motherId
),
22
nCharged_(
nCharged
),
23
daughterIds_(daughterIds),
24
vertexType_(vertexType),
25
isRecoVertex_(
false
),
26
recoVertexId_(-1) {}
27
28
FSimDisplacedVertex::FSimDisplacedVertex
(
const
FSimDisplacedVertex
&
other
)
29
: vertex_(
other
.vertex_),
30
id_(
other
.id_),
31
motherId_(
other
.motherId_),
32
nCharged_(
other
.nCharged_),
33
daughterIds_(
other
.daughterIds_),
34
vertexType_(
other
.vertexType_),
35
isRecoVertex_(
other
.isRecoVertex()),
36
recoVertexId_(
other
.recoVertexId()) {}
37
38
std::ostream&
operator<<
(std::ostream&
out
,
const
FSimDisplacedVertex
&
co
) {
39
return
out
<<
"id = "
<<
co
.id() <<
" mother = "
<<
co
.motherId() <<
" N daugh. = "
<<
co
.nDaughters()
40
<<
" N charged "
<<
co
.nChargedDaughters() <<
" Type = "
<<
co
.vertexType()
41
<<
" recoVertexId = "
<<
co
.recoVertexId() <<
" "
<<
co
.vertex();
42
}
SimVertex
Definition:
SimVertex.h:5
bphysicsOniaDQM_cfi.vertex
vertex
Definition:
bphysicsOniaDQM_cfi.py:7
FSimDisplacedVertex::FSimDisplacedVertex
FSimDisplacedVertex()
Definition:
FSimDisplacedVertex.cc:3
funct::false
false
Definition:
Factorize.h:29
objects.autophobj.motherId
motherId
Definition:
autophobj.py:237
l1ctLayer2EG_cff.id
id
Definition:
l1ctLayer2EG_cff.py:86
cms::cuda::co
__host__ __device__ VT * co
Definition:
prefixScan.h:47
cscdqm::ANY
Definition:
CSCDQM_DCSBase.h:35
operator<<
std::ostream & operator<<(std::ostream &out, const FSimDisplacedVertex &co)
Definition:
FSimDisplacedVertex.cc:38
FSimVertexType::VertexType
VertexType
Definition:
FSimVertexType.h:22
trackingPlots.other
other
Definition:
trackingPlots.py:1467
FSimVertexType
A FSimVertexType hold the information on the vertex origine.
Definition:
FSimVertexType.h:18
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
FSimDisplacedVertex.h
HLT_2024v14_cff.nCharged
nCharged
Definition:
HLT_2024v14_cff.py:61307
FSimDisplacedVertex
A FSimDisplacedVertex extends the FSimVertex with VertexType information.
Definition:
FSimDisplacedVertex.h:27
Generated for CMSSW Reference Manual by
1.8.14