Go to the documentation of this file.
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.
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 &)
Parameters for the flat random number generation within boundaries [minimum, maximum].
StatusCode column(const std::string &name, float value)
Set the value for selected tuple column.
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.
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
StatusCode initialize() override
initialize the algorithm
StatusCode fmatrix(const std::string &name, const MATRIX &data, size_t rows, const MIndex &cols, const std::string &length, size_t maxv)
Fill N-Tuple with data from variable-size matrix.
StatusCode matrix(const std::string &name, const MATRIX &data, const MIndex &rows, const MIndex &cols)
fill N-Tuple with fixed-size matrix
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
def nTuple(dirpath, ID, ID2=None, topdir=None, LUN='FILE1')
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 array(const std::string &name, DATA first, DATA last)
fill N-Tuple with fixed-size array
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.