#include <TrkExpectedHotSet.h>
Definition at line 39 of file TrkExpectedHotSet.h.
◆ TrkExpectedHotSet()
TrkExpectedHotSet::TrkExpectedHotSet |
( |
const TrkDetElemId & | elemId, |
|
|
const int & | maxFits ) |
Definition at line 64 of file TrkExpectedHotSet.cxx.
67 _nFit(-1),
68 _fitTypeMap(maxFits,-1),
69 _exTrk(0)
70{
71}
const TrkDetElemId & elemId() const
◆ ~TrkExpectedHotSet()
TrkExpectedHotSet::~TrkExpectedHotSet |
( |
| ) |
|
|
virtual |
Definition at line 77 of file TrkExpectedHotSet.cxx.
77 {
78
79 const int iEx = _theHots.size();
80 for ( int iKill(0); iKill < iEx; ++iKill ) {
83 }
84}
const TrkExpectedHot * exHot() const
◆ addInfo()
Definition at line 140 of file TrkExpectedHotSet.cxx.
141 {
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()];
149 delete aHot;
150 return true;
151 }
152 ++_nFit;
153 _fitTypeMap[
key.value()] = _nFit;
155 _theHots.push_back(aHot);
156 return true;
157}
*************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
virtual bool hasHot() const =0
virtual bool setHots(const TrkExpectedHot *aHot)=0
void setExTrk(const TrkExpectedTrk *anExTrk)
◆ elemId()
◆ exHot() [1/2]
◆ exHot() [2/2]
Definition at line 95 of file TrkExpectedHotSet.cxx.
95 {
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];
99}
◆ exTrk()
◆ fitTypeMap()
const std::vector< int > & TrkExpectedHotSet::fitTypeMap |
( |
| ) |
const |
|
inline |
◆ getHots()
void TrkExpectedHotSet::getHots |
( |
std::vector< TrkHitOnTrk * > & | hots | ) |
const |
Definition at line 107 of file TrkExpectedHotSet.cxx.
107 {
109 for ( int i(0); i < _theHots.size(); ++i ) {
110 anExHot = _theHots[i];
111 if ( anExHot->getHots(hots) ) break;
112 }
113}
◆ hasFitType()
◆ isMdc()
bool TrkExpectedHotSet::isMdc |
( |
| ) |
const |
◆ isSvt()
bool TrkExpectedHotSet::isSvt |
( |
| ) |
const |
◆ operator==()
◆ printFit()
void TrkExpectedHotSet::printFit |
( |
const TrkFitTypeKey & | key, |
|
|
std::ostream & | os = std::cout ) const |
Definition at line 122 of file TrkExpectedHotSet.cxx.
123 {
124 os << " Intersects element ";
127 if ( theExHot == 0 ) {
128 os << " _" << endl;
129 return;
130 }
132 os << endl;
133}
void printAll(std::ostream &os=std::cout) const
virtual void printAll(std::ostream &os) const =0
◆ setExTrk()
Definition at line 160 of file TrkExpectedHotSet.cxx.
160 {
161 _exTrk = anExTrk;
162 const int nHot = _theHots.size();
163 for ( int iHot(0); iHot < nHot; ++iHot ) {
166 }
167}
◆ theHots()
◆ TrkExpectedHotFactory
friend class TrkExpectedHotFactory |
|
friend |
◆ TrkExpectedTrk
The documentation for this class was generated from the following files: