All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PfoUtilities.h File Reference
#include <EVENT/LCObject.h>
#include <EVENT/ReconstructedParticle.h>
#include "TrackHitPair.h"
#include <algorithm>
#include <map>
#include <set>
#include <string>
#include "HelixClass.h"
#include "lcio.h"
#include <marlinutil/GeometryUtil.h>
#include <vector>
Include dependency graph for PfoUtilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 PfoUtil
 

Macros

#define FORMATTED_OUTPUT_TRACK_CLUSTER_full(out, N1, E1, E2, E3, N2, E4, N3, E5, E6, E7)
 
#define FORMATTED_OUTPUT_TRACK_CLUSTER(out, N1, E1, E2, E3, N2, N3)
 
#define FORMATTED_OUTPUT_TRACK(out, N1, E1, E2, E3, N2, N3)
 
#define FORMATTED_OUTPUT_CLUSTER(out, N1, E1, E2, E3, N2, N3)
 
#define FORMATTED_OUTPUT_MC(out, N1, E1)   out << std::right << std::setw(widthInt) << N1 << std::right << std::setw(widthFloat) << E1 << std::endl
 

Typedefs

typedef std::vector
< EVENT::ReconstructedParticle * > 
PfoUtil::PfoList
 

Functions

static bool PfoUtil::PfoSortFunction (EVENT::ReconstructedParticle *lhs, EVENT::ReconstructedParticle *rhs)
 
float PfoUtil::TimeAtEcal (const Track *pTrack, float &tof)
 
void PfoUtil::GetClusterTimes (const Cluster *cluster, float &meanTime, int &nCaloHitsUsed, float &meanTimeEcal, int &nEcal, float &meanTimeHcalEndcap, int &nHcalEnd, bool correctHitTimesForTimeOfFlight)
 

Macro Definition Documentation

#define FORMATTED_OUTPUT_CLUSTER (   out,
  N1,
  E1,
  E2,
  E3,
  N2,
  N3 
)
Value:
out << std::right << std::setw(widthInt) << N1 << std::right << std::setw(widthFloat) << E1 << std::right \
<< std::setw(widthFloat) << E2 << std::right << std::setw(widthFloat) << E3 << std::right << std::setw(widthSmallInt) \
<< N2 << std::right << std::setw(widthSmallInt) << N3 << std::endl
const int widthInt
const int widthFloat
const int widthSmallInt

Definition at line 38 of file PfoUtilities.h.

#define FORMATTED_OUTPUT_MC (   out,
  N1,
  E1 
)    out << std::right << std::setw(widthInt) << N1 << std::right << std::setw(widthFloat) << E1 << std::endl

Definition at line 43 of file PfoUtilities.h.

#define FORMATTED_OUTPUT_TRACK (   out,
  N1,
  E1,
  E2,
  E3,
  N2,
  N3 
)
Value:
out << std::right << std::setw(widthInt) << N1 << std::right << std::setw(widthFloat) << E1 << std::right \
<< std::setw(widthFloat) << E2 << std::right << std::setw(widthFloat) << E3 << std::right << std::setw(widthSmallInt) \
<< N2 << std::right << std::setw(widthSmallInt) << N3 << std::endl
const int widthInt
const int widthFloat
const int widthSmallInt

Definition at line 33 of file PfoUtilities.h.

#define FORMATTED_OUTPUT_TRACK_CLUSTER (   out,
  N1,
  E1,
  E2,
  E3,
  N2,
  N3 
)
Value:
out << std::right << std::setw(widthInt) << N1 << std::right << std::setw(widthFloat) << E1 << std::right \
<< std::setw(widthFloat) << E2 << std::right << std::setw(widthFloat) << E3 << std::right << std::setw(widthSmallInt) \
<< N2 << std::right << std::setw(widthSmallInt) << N3 << std::endl
const int widthInt
const int widthFloat
const int widthSmallInt

Definition at line 28 of file PfoUtilities.h.

#define FORMATTED_OUTPUT_TRACK_CLUSTER_full (   out,
  N1,
  E1,
  E2,
  E3,
  N2,
  E4,
  N3,
  E5,
  E6,
  E7 
)
Value:
out << std::right << std::setw(widthInt) << N1 << std::right << std::setw(widthFloat) << E1 << std::right \
<< std::setw(widthFloat) << E2 << std::right << std::setw(widthFloat) << E3 << std::right << std::setw(widthInt) \
<< N2 << std::right << std::setw(widthFloat) << E4 << std::right << std::setw(widthInt) << N3 << std::right \
<< std::setw(widthFloat) << E5 << std::right << std::setw(widthFloat) << E6 << std::right << std::setw(widthFloat) \
<< E7 << std::endl
const int widthInt
const int widthFloat

Definition at line 21 of file PfoUtilities.h.