A FSimDisplacedVertex extends the FSimVertex with VertexType information. More...
#include <FSimDisplacedVertex.h>
Public Member Functions | |
const std::vector< int > & | daughterIds () const |
FSimDisplacedVertex () | |
FSimDisplacedVertex (const SimVertex &vertex, unsigned id, int motherId, unsigned nCharged, const std::vector< int > &daughterIds, const FSimVertexType::VertexType vertexType) | |
FSimDisplacedVertex (const FSimDisplacedVertex &other) | |
int | id () const |
const bool | isRecoVertex () const |
int | motherId () const |
unsigned int | nChargedDaughters () const |
unsigned int | nDaughters () const |
const int | recoVertexId () const |
void | removeRecoVertex () |
Remove the associated reconstructed DispacedVertex. More... | |
void | setRecoVertex (int recoVertexId) |
Set the associated reconstructed DispacedVertex. More... | |
const SimVertex | vertex () const |
const FSimVertexType::VertexType | vertexType () const |
virtual | ~FSimDisplacedVertex () |
Private Attributes | |
std::vector< int > | daughterIds_ |
Vector of daughter ids in the track collection. More... | |
int | id_ |
bool | isRecoVertex_ |
Flag to indicate if a reconstructed DisplacedVertex was found and associated. More... | |
int | motherId_ |
id of mother particle. -1 if no mother More... | |
unsigned int | nCharged_ |
Number of charged daughters. More... | |
int | recoVertexId_ |
SimVertex | vertex_ |
Sim Vertex. More... | |
FSimVertexType::VertexType | vertexType_ |
Vertex Type. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const FSimDisplacedVertex &co) |
A FSimDisplacedVertex extends the FSimVertex with VertexType information.
Format FSimDisplacedVertex
This data format is designed to combine the informations from FSimVertex and its FSimVertexType. It is not part of general FAMOS sequence and useful for private productions and analyses. The format contains also an integer identifier which may be optionally used to associate it to reconstruced nuclear Interaction: boolean isRecoVertex and int recoVertexId;
Definition at line 27 of file FSimDisplacedVertex.h.
FSimDisplacedVertex::FSimDisplacedVertex | ( | ) |
Definition at line 3 of file FSimDisplacedVertex.cc.
FSimDisplacedVertex::FSimDisplacedVertex | ( | const SimVertex & | vertex, |
unsigned | id, | ||
int | motherId, | ||
unsigned | nCharged, | ||
const std::vector< int > & | daughterIds, | ||
const FSimVertexType::VertexType | vertexType | ||
) |
Definition at line 13 of file FSimDisplacedVertex.cc.
FSimDisplacedVertex::FSimDisplacedVertex | ( | const FSimDisplacedVertex & | other | ) |
Definition at line 28 of file FSimDisplacedVertex.cc.
|
inlinevirtual |
Definition at line 39 of file FSimDisplacedVertex.h.
|
inline |
Definition at line 57 of file FSimDisplacedVertex.h.
References daughterIds_.
|
inline |
Definition at line 45 of file FSimDisplacedVertex.h.
References id_.
Referenced by operator<<().
|
inline |
Definition at line 63 of file FSimDisplacedVertex.h.
References isRecoVertex_.
|
inline |
Definition at line 48 of file FSimDisplacedVertex.h.
References motherId_.
Referenced by operator<<().
|
inline |
Definition at line 54 of file FSimDisplacedVertex.h.
References nCharged_.
Referenced by operator<<().
|
inline |
Definition at line 51 of file FSimDisplacedVertex.h.
References daughterIds_.
Referenced by operator<<().
|
inline |
Definition at line 66 of file FSimDisplacedVertex.h.
References recoVertexId_.
Referenced by operator<<(), and setRecoVertex().
|
inline |
Remove the associated reconstructed DispacedVertex.
Definition at line 75 of file FSimDisplacedVertex.h.
References isRecoVertex_, and recoVertexId_.
|
inline |
Set the associated reconstructed DispacedVertex.
Definition at line 69 of file FSimDisplacedVertex.h.
References isRecoVertex_, recoVertexId(), and recoVertexId_.
|
inline |
Definition at line 42 of file FSimDisplacedVertex.h.
References vertex_.
Referenced by Tau.Tau::dxy(), and operator<<().
|
inline |
Definition at line 60 of file FSimDisplacedVertex.h.
References vertexType_.
Referenced by operator<<().
|
friend |
Definition at line 38 of file FSimDisplacedVertex.cc.
|
private |
Vector of daughter ids in the track collection.
Definition at line 95 of file FSimDisplacedVertex.h.
Referenced by daughterIds(), and nDaughters().
|
private |
Definition at line 86 of file FSimDisplacedVertex.h.
Referenced by id().
|
private |
Flag to indicate if a reconstructed DisplacedVertex was found and associated.
Definition at line 101 of file FSimDisplacedVertex.h.
Referenced by isRecoVertex(), removeRecoVertex(), and setRecoVertex().
|
private |
id of mother particle. -1 if no mother
Definition at line 89 of file FSimDisplacedVertex.h.
Referenced by motherId().
|
private |
Number of charged daughters.
Definition at line 92 of file FSimDisplacedVertex.h.
Referenced by nChargedDaughters().
|
private |
The index of the reconstructed DisplacedVertex associated. By default the value is -1. The association may be done in the dedicated algorithm of the producer.
Definition at line 106 of file FSimDisplacedVertex.h.
Referenced by recoVertexId(), removeRecoVertex(), and setRecoVertex().
|
private |
|
private |