Skip to content
Snippets Groups Projects
Commit b7c7dfca authored by Bertram Kopf's avatar Bertram Kopf
Browse files

switched more classes to template classes II

parent 0bcbec48
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,6 @@
class AbsDecay;
class FsParticleProjections;
class AbsDynamics;
//typedef CacheVector<std::map<unsigned short, std::map<Id2StringType, complex<float> > > > intUShortId2StringComplFloatMap;
typedef CacheVector<std::map<unsigned short, std::map<short, complex<float> > > > intUShortShortComplFloatMap;
template<typename T>
class AbsXdecAmp : public AbsParamHandler{
......@@ -67,7 +64,6 @@ public:
const std::string jpcDecsName() const {return _jpcDecsName;}
const std::string isoKey() const {return _isoKey;}
const std::string wignerDKey() const {return _wignerDKey;}
// const std::string refKey() const {return _refKey;}
virtual void cacheAmplitudes();
virtual bool checkRecalculation(std::shared_ptr<AbsPawianParameters> fitParNew, std::shared_ptr<AbsPawianParameters> fitParOld);
virtual void calcDynamics(EvtData* theData, AbsXdecAmp* grandmaAmp=0);
......@@ -75,7 +71,6 @@ public:
std::shared_ptr<AbsDynamics> getDyn();
std::shared_ptr<AbsXdecAmp> absXDecAmpDaughter1() {return _decAmpDaughter1;}
std::shared_ptr<AbsXdecAmp> absXDecAmpDaughter2() {return _decAmpDaughter2;}
// virtual void retrieveWignerDs(EvtData* theData) { return;}
protected:
......@@ -96,11 +91,6 @@ protected:
std::string _daughter2Name;
unsigned int _daughter1ProjId;
unsigned int _daughter2ProjId;
// std::map<std::thread::id, unsigned short> _projIdThreadMap;
// std::map<std::thread::id, Spin> _lam1MinThreadMap;
// std::map<std::thread::id, Spin> _lam1MaxThreadMap;
// std::map<std::thread::id, Spin> _lam2MinThreadMap;
// std::map<std::thread::id, Spin> _lam2MaxThreadMap;
unsigned short _projId;
Spin _lam1MinProj;
......@@ -113,7 +103,6 @@ protected:
const double _preFactor;
std::string _key;
const std::string _wignerDKey;
// std::string _refKey;
bool _daughter1IsStable;
bool _daughter2IsStable;
......@@ -128,10 +117,9 @@ protected:
bool _isFormationAmp;
// intUShortId2StringComplFloatMap _cachedAmpIdMap;
intUShortShortComplFloatMap _cachedAmpIdMap;
// std::map<std::thread::id, std::map<unsigned short, complex<float> > > _cachedDynIdMap;
std::map<unsigned short, complex<float> > _cachedDynIdMap;
CacheVector<std::map<unsigned short, std::map<short, complex<T> > > > _cachedAmpIdMap;
std::map<unsigned short, complex<T> > _cachedDynIdMap;
virtual void initialize();
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment