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 28 of file FSimDisplacedVertex.h.
FSimDisplacedVertex::FSimDisplacedVertex | ( | ) |
Definition at line 5 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 15 of file FSimDisplacedVertex.cc.
FSimDisplacedVertex::FSimDisplacedVertex | ( | const FSimDisplacedVertex & | other | ) |
Definition at line 32 of file FSimDisplacedVertex.cc.
|
inlinevirtual |
Definition at line 44 of file FSimDisplacedVertex.h.
|
inline |
Definition at line 62 of file FSimDisplacedVertex.h.
References daughterIds_.
|
inline |
Definition at line 50 of file FSimDisplacedVertex.h.
References id_.
Referenced by operator<<().
|
inline |
Definition at line 68 of file FSimDisplacedVertex.h.
References isRecoVertex_.
|
inline |
Definition at line 53 of file FSimDisplacedVertex.h.
References motherId_.
Referenced by operator<<().
|
inline |
Definition at line 59 of file FSimDisplacedVertex.h.
References nCharged_.
Referenced by operator<<().
|
inline |
Definition at line 56 of file FSimDisplacedVertex.h.
References daughterIds_.
Referenced by operator<<().
|
inline |
Definition at line 71 of file FSimDisplacedVertex.h.
References recoVertexId_.
Referenced by operator<<(), and setRecoVertex().
|
inline |
Remove the associated reconstructed DispacedVertex.
Definition at line 80 of file FSimDisplacedVertex.h.
References isRecoVertex_, and recoVertexId_.
|
inline |
Set the associated reconstructed DispacedVertex.
Definition at line 74 of file FSimDisplacedVertex.h.
References isRecoVertex_, recoVertexId(), and recoVertexId_.
|
inline |
Definition at line 47 of file FSimDisplacedVertex.h.
References vertex_.
Referenced by Tau.Tau::dxy(), Tau.Tau::dz(), and operator<<().
|
inline |
Definition at line 65 of file FSimDisplacedVertex.h.
References vertexType_.
Referenced by operator<<().
|
friend |
Definition at line 44 of file FSimDisplacedVertex.cc.
|
private |
Vector of daughter ids in the track collection.
Definition at line 103 of file FSimDisplacedVertex.h.
Referenced by daughterIds(), and nDaughters().
|
private |
Definition at line 94 of file FSimDisplacedVertex.h.
Referenced by id().
|
private |
Flag to indicate if a reconstructed DisplacedVertex was found and associated.
Definition at line 109 of file FSimDisplacedVertex.h.
Referenced by isRecoVertex(), removeRecoVertex(), and setRecoVertex().
|
private |
id of mother particle. -1 if no mother
Definition at line 97 of file FSimDisplacedVertex.h.
Referenced by motherId().
|
private |
Number of charged daughters.
Definition at line 100 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 114 of file FSimDisplacedVertex.h.
Referenced by recoVertexId(), removeRecoVertex(), and setRecoVertex().
|
private |
|
private |