Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FastSimDataFormats
NuclearInteractions
src
FSimDisplacedVertex.cc
Go to the documentation of this file.
1
#include "
FastSimDataFormats/NuclearInteractions/interface/FSimDisplacedVertex.h
"
2
3
4
5
FSimDisplacedVertex::FSimDisplacedVertex
() :
6
id_(-1),
7
motherId_(-1),
8
nCharged_(0),
9
vertexType_(
FSimVertexType
::
ANY
),
10
isRecoVertex_(
false
),
11
recoVertexId_(-1)
12
13
{}
14
15
FSimDisplacedVertex::FSimDisplacedVertex
(
const
SimVertex
& vertex,
16
unsigned
id
,
int
motherId,
17
unsigned
nCharged
,
18
const
std::vector<int>& daughterIds,
19
const
FSimVertexType::VertexType
vertexType
20
):
21
vertex_(vertex),
22
id_(id),
23
motherId_(motherId),
24
nCharged_(nCharged),
25
daughterIds_(daughterIds),
26
vertexType_(vertexType),
27
isRecoVertex_(
false
),
28
recoVertexId_(-1)
29
{}
30
31
32
FSimDisplacedVertex::FSimDisplacedVertex
(
const
FSimDisplacedVertex
& other) :
33
vertex_(other.vertex_),
34
id_(other.id_),
35
motherId_(other.motherId_),
36
nCharged_(other.nCharged_),
37
daughterIds_(other.daughterIds_),
38
vertexType_(other.vertexType_),
39
isRecoVertex_(other.isRecoVertex()),
40
recoVertexId_(other.recoVertexId())
41
{}
42
43
44
std::ostream&
operator<<
(std::ostream&
out
,
45
const
FSimDisplacedVertex
& co) {
46
47
return
out <<
"id = "
<< co.
id
()
48
<<
" mother = "
<< co.
motherId
()
49
<<
" N daugh. = "
<< co.
nDaughters
()
50
<<
" N charged "
<< co.
nChargedDaughters
()
51
<<
" Type = "
<< co.
vertexType
()
52
<<
" recoVertexId = "
<< co.
recoVertexId
() <<
" "
53
<< co.
vertex
();
54
55
}
SimVertex
Definition:
SimVertex.h:5
FSimDisplacedVertex::vertexType
const FSimVertexType::VertexType vertexType() const
Definition:
FSimDisplacedVertex.h:65
FSimDisplacedVertex::FSimDisplacedVertex
FSimDisplacedVertex()
Definition:
FSimDisplacedVertex.cc:5
FSimDisplacedVertex::nChargedDaughters
unsigned int nChargedDaughters() const
Definition:
FSimDisplacedVertex.h:59
FSimDisplacedVertex::motherId
int motherId() const
Definition:
FSimDisplacedVertex.h:53
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
cscdqm::ANY
Definition:
CSCDQM_DCSBase.h:36
FSimVertexType::VertexType
VertexType
Definition:
FSimVertexType.h:25
FSimDisplacedVertex::recoVertexId
const int recoVertexId() const
Definition:
FSimDisplacedVertex.h:71
FSimVertexType
A FSimVertexType hold the information on the vertex origine.
Definition:
FSimVertexType.h:19
FSimDisplacedVertex::vertex
const SimVertex vertex() const
Definition:
FSimDisplacedVertex.h:47
dbtoconf.out
tuple out
Definition:
dbtoconf.py:99
reco::tau::helpers::nCharged
unsigned int nCharged(const GenJet &jet)
Definition:
RecoTauObjectEmbedderPlugin.cc:29
FSimDisplacedVertex::id
int id() const
Definition:
FSimDisplacedVertex.h:50
FSimDisplacedVertex.h
FSimDisplacedVertex
A FSimDisplacedVertex extends the FSimVertex with VertexType information.
Definition:
FSimDisplacedVertex.h:28
edm::false
volatile std::atomic< bool > shutdown_flag false
Definition:
UnixSignalHandlers.cc:22
FSimDisplacedVertex::nDaughters
unsigned int nDaughters() const
Definition:
FSimDisplacedVertex.h:56
Generated for CMSSW Reference Manual by
1.8.5