ATLAS Offline Software
Classes | Namespaces | Functions
PromptUtils.h File Reference
#include "VarHolder.h"
#include "AthContainers/AuxElement.h"
#include "GaudiKernel/MsgStream.h"
#include "xAODTracking/TrackParticle.h"
#include "xAODTracking/Vertex.h"
#include "TStopwatch.h"
#include "TH1.h"
#include <string>
Include dependency graph for PromptUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Prompt::SortByIDTrackPt
 
class  Prompt::TimerScopeHelper
 
struct  Prompt::SortObjectByVar
 

Namespaces

 Prompt
 

Functions

double Prompt::getVertexFitProb (const xAOD::Vertex *vtx)
 
std::string Prompt::vtxAsStr (const xAOD::Vertex *vtx, bool print_tracks=false)
 
std::string Prompt::trkAsStr (const xAOD::TrackParticle *trk)
 
std::string Prompt::truthAsStr (const xAOD::IParticle &particle)
 
double Prompt::getDistance (const xAOD::Vertex *vtx1, const xAOD::Vertex *vtx2)
 
double Prompt::getDistance (const Amg::Vector3D &vtx1, const Amg::Vector3D &vtx2)
 
double Prompt::getNormDist (const Amg::Vector3D &PrimVtx, const Amg::Vector3D &SecVtx, const std::vector< float > &ErrorMatrix, MsgStream &msg)
 
void Prompt::fillTH1 (TH1 *h, double val, double weight=1.0)
 
std::string Prompt::printPromptVertexAsStr (const xAOD::Vertex *vtx, MsgStream &msg)
 
template<class T1 , class T2 >
bool Prompt::getVar (T1 &obj, T2 &value, const std::string &var_name)
 
template<class T1 , class T2 >
bool Prompt::GetAuxVar (const T1 &obj, T2 &value, const std::string &var_name)
 
std::string Prompt::PrintResetStopWatch (TStopwatch &watch)