Go to the documentation of this file.
63 using GaudiTupleAlg::GaudiTupleAlg;
96 Tuple tuple1 =
nTuple(
"dublets",
"Tuple with dublets" );
110 Tuple tuple2 =
nTuple(
"triplets",
"Tuple with triplets" );
113 tr1.first.first =
gauss();
114 tr1.first.second =
gauss();
115 tr1.second =
gauss();
118 tr2.first.first = flat();
119 tr2.first.second = flat();
122 tuple2 <<
Column(
"tr1", tr1 );
123 tuple2 <<
Column(
"tr2", tr2 );
TupleAlg2(const TupleAlg2 &)=delete
SmartIF< IRndmGenSvc > & randSvc() const
The standard RandomGen service, Return a pointer to the service if present.
void Assert(const bool ok, std::string_view message="", const StatusCode sc=StatusCode::FAILURE) const
Assertion - throw exception if the given condition is not fulfilled.
Parameters for the flat random number generation within boundaries [minimum, maximum].
StatusCode initialize() override
initialize the algorithm
TupleAlg2 & operator=(const TupleAlg2 &)=delete
std::pair< double, double > Dublet
Parameters for the Gauss random number generation.
Random number accessor This small class encapsulates the use of the random number generator.
Parameters for the BreitWigner distributed random number generation.
def nTuple(dirpath, ID, ID2=None, topdir=None, LUN="FILE1")
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
StatusCode write()
write a record to NTuple
Parameters for the Gauss random number generation.
Parameters for the Poisson distributed random number generation with a given mean.
StatusCode initialize() override
standard initialization method
StatusCode execute() override
the only one essential method
TupleColumn< ITEM > Column(std::string name, const ITEM &item)
Parameters for the Binomial distributed random number generation.