MyTruthTrackJetInfoContainer Class Reference

#include <MyTruthTrackJetInfoContainer.h>

List of all members.

Public Member Functions

std::vector< Hep3Vector > vertex (void) const
 get the truth vertices
std::vector< double > Et (void) const
std::vector< unsigned int > numberOfTracks (void) const
void clear (void)
 clear the container
void setVertex (const std::vector< Hep3Vector > &vert)
 set the truth vertices to vert
void setEt (const std::vector< double > &E_T)
void setNumberOfTracks (const std::vector< unsigned int > &nb)
void setVertices (const std::vector< MPIHiggsAnalysis::Vertex > &vert)
 set the truth vertices to vert
void sortVerticesAscendingInEt (void)
 sort the vertices ascending in Et
std::vector< MPIHiggsAnalysis::VertexgetVertices (void) const
void setVertexCut (const double &cut)
 set cut value used in truth track jet reco
double getVertexCut (void) const
 get vertex_cut used in truth track jet reco
std::vector< Hep3Vector > vertex (void) const
 get the truth vertices
std::vector< double > Et (void) const
std::vector< unsigned int > numberOfTracks (void) const
void clear (void)
 clear the container
void setVertex (const std::vector< Hep3Vector > &vert)
 set the truth vertices to vert
void setEt (const std::vector< double > &E_T)
void setNumberOfTracks (const std::vector< unsigned int > &nb)

Static Public Member Functions

static MyTruthTrackJetInfoContainergetTruthTrackJetInfoContainer ()
static MyTruthTrackJetInfoContainergetTruthTrackJetInfoContainer ()

Private Member Functions

 MyTruthTrackJetInfoContainer (void)
 MyTruthTrackJetInfoContainer (void)

Private Attributes

std::vector< Hep3Vector > m_vertex
std::vector< double > m_Et
std::vector< unsigned int > m_nb_tracks
std::vector< MPIHiggsAnalysis::Vertexm_vertices
double m_vertex_cut
std::vector< Hep3Vector > m_vertex
std::vector< double > m_Et
std::vector< unsigned int > m_nb_tracks

Static Private Attributes

static MyTruthTrackJetInfoContainerm_container
static MyTruthTrackJetInfoContainerm_container


Detailed Description

This class is a singleton container class used to store vertex information calculated by the JetTruthTrackSelectorTool class.

Date:
09.08.2007
Author:
Oliver.Kortner@CERN.CH

Definition at line 34 of file MyTruthTrackJetInfoContainer.h.


Member Function Documentation

MyTruthTrackJetInfoContainer * MyTruthTrackJetInfoContainer::getTruthTrackJetInfoContainer (  )  [static]

get a pointer to the container

Definition at line 39 of file MyTruthTrackJetInfoContainer.cxx.

std::vector< double > MyTruthTrackJetInfoContainer::Et ( void   )  const

get the transverse energies of the vertices

Definition at line 67 of file MyTruthTrackJetInfoContainer.cxx.

std::vector< unsigned int > MyTruthTrackJetInfoContainer::numberOfTracks ( void   )  const

get the number of tracks emerging from the vertices

Definition at line 80 of file MyTruthTrackJetInfoContainer.cxx.

void MyTruthTrackJetInfoContainer::setEt ( const std::vector< double > &  E_T  ) 

set the transverse energies of the vertices to E_T

Definition at line 123 of file MyTruthTrackJetInfoContainer.cxx.

void MyTruthTrackJetInfoContainer::setNumberOfTracks ( const std::vector< unsigned int > &  nb  ) 

set the number of tracks emerging from the vertices to nb

Definition at line 137 of file MyTruthTrackJetInfoContainer.cxx.

std::vector< Vertex > MyTruthTrackJetInfoContainer::getVertices ( void   )  const

get the vertices stored in the VertexCollector; if the sort methods were called the vertices are sorted

Definition at line 180 of file MyTruthTrackJetInfoContainer.cxx.

static MyTruthTrackJetInfoContainer* MyTruthTrackJetInfoContainer::getTruthTrackJetInfoContainer (  )  [static]

get a pointer to the container

std::vector<double> MyTruthTrackJetInfoContainer::Et ( void   )  const

get the transverse energies of the vertices

std::vector<unsigned int> MyTruthTrackJetInfoContainer::numberOfTracks ( void   )  const

get the number of tracks emerging from the vertices

void MyTruthTrackJetInfoContainer::setEt ( const std::vector< double > &  E_T  ) 

set the transverse energies of the vertices to E_T

void MyTruthTrackJetInfoContainer::setNumberOfTracks ( const std::vector< unsigned int > &  nb  ) 

set the number of tracks emerging from the vertices to nb


The documentation for this class was generated from the following files:
Generated on Tue Oct 21 11:50:49 2008 for NtupleAnalysis by  doxygen 1.5.1