Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file.
60 using GaudiTupleAlg::GaudiTupleAlg;
91 Tuple tuple =
nTuple(
"LorentzVectors",
"Tuple with Lorentz Vectors " );
93 typedef ROOT::Math::PxPyPzEVector LV;
103 lv2.SetE( ::
sqrt( lv.P2() + 4 *
GeV *
GeV ) );
115 Tuple tuple =
nTuple(
"Vectors-3D",
"Tuple with Vectors in 3D " );
141 Tuple tuple =
nTuple(
"Math-vectors",
"Tuple with Math Vectors" );
143 ROOT::Math::SVector<float, 4> v1;
144 ROOT::Math::SVector<double, 25>
v2;
145 ROOT::Math::SVector<long double, 50> v3;
162 Tuple tuple =
nTuple(
"S-matrices",
"Tuple with S-matrices" );
164 ROOT::Math::SMatrix<float, 4> v1;
165 ROOT::Math::SMatrix<double, 3, 15>
v2;
166 ROOT::Math::SMatrix<long double, 5, 5, ROOT::Math::MatRepSym<long double, 5>> v3;
184 Tuple tuple =
nTuple(
"VectorMaps",
"Tuple with VectorMaps/'ExtraInfo'" );
196 for (
int i = 200; 0 < i; --i ) {
auto sqrt(std::chrono::duration< Rep, Period > d)
sqrt for std::chrono::duration
StatusCode execute() override
the only one essential method
SmartIF< IRndmGenSvc > & randSvc() const
The standard RandomGen service, Return a pointer to the service if present.
StatusCode column(std::string_view name, float value)
Set the value for selected tuple column.
StatusCode matrix(std::string_view name, const MATRIX &data, const MIndex &rows, const MIndex &cols)
fill N-Tuple with fixed-size matrix
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.
TupleAlg3(const TupleAlg3 &)
StatusCode array(std::string_view name, DATA first, DATA last)
fill N-Tuple with fixed-size array
Parameters for the flat random number generation within boundaries [minimum, maximum].
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")
StatusCode fmatrix(std::string_view name, const MATRIX &data, size_t rows, const MIndex &cols, std::string_view length, size_t maxv)
Fill N-Tuple with data from variable-size matrix.
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
StatusCode initialize() override
initialize the algorithm
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
result_type insert(const key_type &key, const mapped_type &mapped)
insert the (key,value) pair into the container
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
TupleAlg3 & operator=(const TupleAlg3 &)
Parameters for the Binomial distributed random number generation.