25#include "TrkBase/TrkExpectedHotSet.h"
41#include "TrkBase/TrkFitTypeKey.h"
42#include "TrkBase/TrkExpectedHot.h"
68 _fitTypeMap(maxFits,-1),
79 const int iEx = _theHots.size();
80 for (
int iKill(0); iKill < iEx; ++iKill ) {
96 if (
key.value() < 0 ||
key.value() >= _fitTypeMap.size() )
return 0;
97 const int index = _fitTypeMap[
key.value()];
98 return index < 0 ? 0 : _theHots[index];
103 return _nFit < 0 ? 0 : _theHots[0];
109 for (
int i(0); i < _theHots.size(); ++i ) {
110 anExHot = _theHots[i];
111 if ( anExHot->
getHots(hots) )
break;
124 os <<
" Intersects element ";
127 if ( theExHot == 0 ) {
142 if (
key.value() < 0 )
return false;
143 if (
key.value() >= _fitTypeMap.size() )
return false;
144 if ( aHot == 0 )
return false;
145 const int test = _fitTypeMap[
key.value()];
153 _fitTypeMap[
key.value()] = _nFit;
155 _theHots.push_back(aHot);
162 const int nHot = _theHots.size();
163 for (
int iHot(0); iHot < nHot; ++iHot ) {
*************DOUBLE PRECISION m_pi *DOUBLE PRECISION m_HvecTau2 DOUBLE PRECISION m_HvClone2 DOUBLE PRECISION m_gamma1 DOUBLE PRECISION m_gamma2 DOUBLE PRECISION m_thet1 DOUBLE PRECISION m_thet2 INTEGER m_IFPHOT *COMMON c_Taupair $ !Spin Polarimeter vector first Tau $ !Spin Polarimeter vector second Tau $ !Clone Spin Polarimeter vector first Tau $ !Clone Spin Polarimeter vector second Tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !phi of HvecTau1 $ !theta of HvecTau1 $ !phi of HvecTau2 $ !theta of HvecTau2 $ !super key
const TrkDetElemId::systemIndex & sysInd() const
void printAll(std::ostream &os=std::cout) const
bool addInfo(TrkExpectedHot *aHot, const TrkFitTypeKey &key)
void getHots(std::vector< TrkHitOnTrk * > &hots) const
virtual ~TrkExpectedHotSet()
TrkExpectedHotSet(const TrkDetElemId &elemId, const int &maxFits)
const TrkExpectedHot * exHot() const
bool hasFitType(const TrkFitTypeKey &key) const
void setExTrk(const TrkExpectedTrk *anExTrk)
void printFit(const TrkFitTypeKey &key, std::ostream &os=std::cout) const
virtual bool hasHot() const =0
virtual bool setHots(const TrkExpectedHot *aHot)=0
virtual bool getHots(std::vector< TrkHitOnTrk * > &hots) const =0
void setExTrk(const TrkExpectedTrk *anExTrk)
virtual void printAll(std::ostream &os) const =0