22 return StatusCode::SUCCESS;
39 std::vector<Track> tracks;
57 for (
int i=0; i<
count; ++i) {
64 return StatusCode::SUCCESS;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define CHECK(...)
Evaluate an expression and check for errors.
Header file to be included by clients of the Monitored infrastructure.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ToolHandle< GenericMonitoringTool > m_monTool
MonitoredAlg(const std::string &name, ISvcLocator *pSvcLocator)
Group of local monitoring quantities and retain correlation when filling histograms
Declare a monitored scalar variable.
Track(double eta, double phi, double pt)
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
float randf_seed(uint32_t &seed, float rmax, float rmin=0)
Generate a floating-point random number between rmin and rmax.
int randi_seed(uint32_t &seed, int rmax, int rmin=0)
Generate an integer random number between rmin and rmax.
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
Very simple random numbers for regression testing.