#include <TrkExpectedHotSet.h>
◆ TrkExpectedHotSet() [1/2]
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() [1/2]
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
◆ TrkExpectedHotSet() [2/2]
TrkExpectedHotSet::TrkExpectedHotSet |
( |
const TrkDetElemId & |
elemId, |
|
|
const int & |
maxFits |
|
) |
| |
◆ ~TrkExpectedHotSet() [2/2]
virtual TrkExpectedHotSet::~TrkExpectedHotSet |
( |
| ) |
|
|
virtual |
◆ addInfo() [1/2]
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)
◆ addInfo() [2/2]
◆ elemId() [1/2]
◆ elemId() [2/2]
◆ exHot() [1/4]
◆ exHot() [2/4]
◆ exHot() [3/4]
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}
◆ exHot() [4/4]
◆ exTrk() [1/2]
◆ exTrk() [2/2]
◆ fitTypeMap() [1/2]
const std::vector< int > & TrkExpectedHotSet::fitTypeMap |
( |
| ) |
const |
|
inline |
◆ fitTypeMap() [2/2]
const std::vector< int > & TrkExpectedHotSet::fitTypeMap |
( |
| ) |
const |
|
inline |
◆ getHots() [1/2]
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}
◆ getHots() [2/2]
void TrkExpectedHotSet::getHots |
( |
std::vector< TrkHitOnTrk * > & |
hots | ) |
const |
◆ hasFitType() [1/2]
◆ hasFitType() [2/2]
◆ isMdc() [1/2]
bool TrkExpectedHotSet::isMdc |
( |
| ) |
const |
◆ isMdc() [2/2]
bool TrkExpectedHotSet::isMdc |
( |
| ) |
const |
◆ isSvt() [1/2]
bool TrkExpectedHotSet::isSvt |
( |
| ) |
const |
◆ isSvt() [2/2]
bool TrkExpectedHotSet::isSvt |
( |
| ) |
const |
◆ operator==() [1/2]
◆ operator==() [2/2]
◆ printFit() [1/2]
void TrkExpectedHotSet::printFit |
( |
const TrkFitTypeKey & |
key, |
|
|
std::ostream & |
os = std::cout |
|
) |
| const |
◆ printFit() [2/2]
void TrkExpectedHotSet::printFit |
( |
const TrkFitTypeKey & |
key, |
|
|
std::ostream & |
os = std::cout |
|
) |
| const |
◆ setExTrk() [1/2]
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}
◆ setExTrk() [2/2]
◆ theHots() [1/2]
◆ theHots() [2/2]
◆ TrkExpectedHotFactory
◆ TrkExpectedTrk
The documentation for this class was generated from the following files: