diff --git a/EvtGen/EvtGen.hh b/EvtGen/EvtGen.hh
index 673bdd1..e57b367 100644
--- a/EvtGen/EvtGen.hh
+++ b/EvtGen/EvtGen.hh
@@ -1,73 +1,73 @@
/***********************************************************************
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
* *
* This file is part of EvtGen. *
* *
* EvtGen is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* EvtGen is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with EvtGen. If not, see . *
***********************************************************************/
#ifndef EVTGEN_HH
#define EVTGEN_HH
#include "EvtGenBase/EvtPDL.hh"
-#include
#include
+#include
class EvtParticle;
class EvtRandomEngine;
class EvtVector4R;
class EvtStdHep;
class EvtSpinDensity;
class EvtAbsRadCorr;
class EvtDecayBase;
class EvtHepMCEvent;
class EvtGen {
public:
EvtGen( const std::string& decayName, const std::string& pdtTableName,
EvtRandomEngine* randomEngine = nullptr,
EvtAbsRadCorr* isrEngine = nullptr,
const std::list* extraModels = nullptr,
int mixingType = 1, bool useXml = false );
EvtGen( const std::string& decayName, std::istream& pdtTableData,
EvtRandomEngine* randomEngine = nullptr,
EvtAbsRadCorr* isrEngine = nullptr,
const std::list* extraModels = nullptr,
int mixingType = 1, bool useXml = false );
~EvtGen();
void readUDecay( const std::string& udecay_name, bool useXml = false );
EvtHepMCEvent* generateDecay( int PDGid, EvtVector4R refFrameP4,
EvtVector4R translation,
EvtSpinDensity* spinDensity = nullptr );
void generateDecay( EvtParticle* p );
private:
void initialize( const std::string& decayName, std::istream& pdtTable,
EvtRandomEngine* randomEngine = nullptr,
EvtAbsRadCorr* isrEngine = nullptr,
const std::list* extraModels = nullptr,
int mixingType = 1, bool useXml = false );
EvtPDL _pdl;
int _mixingType;
};
#endif
diff --git a/EvtGenBase/EvtDecayProb.hh b/EvtGenBase/EvtDecayProb.hh
index 6937eb8..6b11568 100644
--- a/EvtGenBase/EvtDecayProb.hh
+++ b/EvtGenBase/EvtDecayProb.hh
@@ -1,41 +1,41 @@
/***********************************************************************
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
* *
* This file is part of EvtGen. *
* *
* EvtGen is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* EvtGen is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with EvtGen. If not, see . *
***********************************************************************/
#ifndef EvtDecayProb_HH
#define EvtDecayProb_HH
#include "EvtGenBase/EvtDecayBase.hh"
class EvtParticle;
class EvtDecayProb : public EvtDecayBase {
public:
void makeDecay( EvtParticle* p, bool recursive = true ) override;
void setProb( double prob ) { _prob = prob; }
double getProb() { return _prob; }
inline void setWeight( double weight ) { _weight = weight; }
private:
- double _prob {1.0};
- double _weight {1.0};
+ double _prob{ 1.0 };
+ double _weight{ 1.0 };
};
#endif
diff --git a/EvtGenBase/EvtDiLog.hh b/EvtGenBase/EvtDiLog.hh
index 9cdf49c..350bf74 100644
--- a/EvtGenBase/EvtDiLog.hh
+++ b/EvtGenBase/EvtDiLog.hh
@@ -1,51 +1,51 @@
/***********************************************************************
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
* *
* This file is part of EvtGen. *
* *
* EvtGen is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* EvtGen is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with EvtGen. If not, see . *
***********************************************************************/
#ifndef EVTGENBASE_EVTDILOG_HH
#define EVTGENBASE_EVTDILOG_HH 1
// Include files
/** @namespace EvtDiLog EvtDiLog.hh EvtGenBase/EvtDiLog.hh
* Dilogarithm function (replaces CERNLIB DDILOG)
*
* @author Patrick Robbe
* @date 2007-01-23
*/
namespace EvtDiLog {
double DiLog( double x );
// constants for computation
static const double Z1 = 1.;
static const double HF = Z1 / 2.;
static const double PI = 3.14159265358979324;
static const double PI3 = PI * PI / 3.;
static const double PI6 = PI * PI / 6.;
static const double PI12 = PI * PI / 12.;
static const double C[20] = {
0.42996693560813697, 0.40975987533077105, -0.01858843665014592,
0.00145751084062268, -0.00014304184442340, 0.00001588415541880,
-0.00000190784959387, 0.00000024195180854, -0.00000003193341274,
0.00000000434545063, -0.00000000060578480, 0.00000000008612098,
-0.00000000001244332, 0.00000000000182256, -0.00000000000027007,
0.00000000000004042, -0.00000000000000610, 0.00000000000000093,
- -0.00000000000000014, 0.00000000000000002};
+ -0.00000000000000014, 0.00000000000000002 };
} // namespace EvtDiLog
#endif // EVTGENBASE_EVTDILOG_HH
diff --git a/EvtGenBase/EvtPDL.hh b/EvtGenBase/EvtPDL.hh
index e4cd500..0d4e50d 100644
--- a/EvtGenBase/EvtPDL.hh
+++ b/EvtGenBase/EvtPDL.hh
@@ -1,100 +1,100 @@
/***********************************************************************
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
* *
* This file is part of EvtGen. *
* *
* EvtGen is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* EvtGen is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with EvtGen. If not, see . *
***********************************************************************/
#ifndef EVTPDL_HH
#define EVTPDL_HH
#include "EvtGenBase/EvtId.hh"
#include "EvtGenBase/EvtPartProp.hh"
#include "EvtGenBase/EvtSpinType.hh"
#include "EvtGenBase/EvtStringHash.hh"
+#include
#include