|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PANTAUALGS_TOOL_HELPERFUNCTIONS
6 #define PANTAUALGS_TOOL_HELPERFUNCTIONS
39 const std::vector<PanTau::TauConstituent*>&
neutral) ;
43 virtual int getBinIndex(
const std::vector<double>& binEdges,
double value)
const;
45 virtual double stddev(
double sumOfSquares,
double sumOfValues,
int numConsts)
const;
46 virtual double deltaRprime(
const TVector3& vec1,
const TVector3&
vec2)
const;
52 if(!
tool->isInitialized())
53 if (
tool->initialize().isFailure())
54 return StatusCode::FAILURE;
55 handle = ToolHandle<T>(
tool);
56 return StatusCode::SUCCESS;
82 #endif // PANTAUALGS_TOOL_HELPERFUNCTIONS
std::vector< D3PDTest::MyVec2 > vec2
AsgMessaging(const std::string &name)
Constructor with a name.
virtual double deltaRprime(const TVector3 &vec1, const TVector3 &vec2) const
static TauConstituent * getNeutralConstWithLargestAngle(const TLorentzVector &charged, const std::vector< PanTau::TauConstituent * > &neutral)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual int getBinIndex(const std::vector< double > &binEdges, double value) const
virtual std::string convertNumberToString(double x) const
HelperFunctions(const std::string &name="")
Class mimicking the AthMessaging class from the offline software.
static StatusCode bindToolHandle(ToolHandle< T > &, std::string)
virtual ~HelperFunctions()
virtual double stddev(double sumOfSquares, double sumOfValues, int numConsts) const
const std::string & getName() const