CMS 3D CMS Logo

FSimDisplacedVertex.cc
Go to the documentation of this file.
2 
4  : id_(-1),
5  motherId_(-1),
6  nCharged_(0),
7  vertexType_(FSimVertexType::ANY),
8  isRecoVertex_(false),
9  recoVertexId_(-1)
10 
11 {}
12 
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 
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 }
FSimDisplacedVertex.h
FSimVertexType
A FSimVertexType hold the information on the vertex origine.
Definition: FSimVertexType.h:18
SimVertex
Definition: SimVertex.h:5
funct::false
false
Definition: Factorize.h:29
HLT_FULL_cff.nCharged
nCharged
Definition: HLT_FULL_cff.py:33254
FSimDisplacedVertex
A FSimDisplacedVertex extends the FSimVertex with VertexType information.
Definition: FSimDisplacedVertex.h:27
cms::cuda::co
__host__ __device__ VT * co
Definition: prefixScan.h:47
trackingPlots.other
other
Definition: trackingPlots.py:1460
FSimVertexType::VertexType
VertexType
Definition: FSimVertexType.h:22
operator<<
std::ostream & operator<<(std::ostream &out, const FSimDisplacedVertex &co)
Definition: FSimDisplacedVertex.cc:38
bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
objects.autophobj.motherId
motherId
Definition: autophobj.py:237
cscdqm::ANY
Definition: CSCDQM_DCSBase.h:35
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
FSimDisplacedVertex::FSimDisplacedVertex
FSimDisplacedVertex()
Definition: FSimDisplacedVertex.cc:3
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31