#include <AlfaLocalHits.h>
Definition at line 90 of file AlfaLocalHits.h.
◆ AlfaTrackCand()
Definition at line 272 of file AlfaLocalHits.cxx.
272 {
273
282
283
285
286
291 cout << "Left and right side ALFA tracks at one time not supported in AlfaTrackCand class" << endl;
292 cout << "Consider using another class for them or change path pattern." << endl;
293 }
294}
int IsLeftAndRightTrack()
AlfaLocalHits * m_trackcandhits
AlfaLocalHit * m_farlocalhit
AlfaLocalHit * m_nearlocalhit
◆ CalcImpactPoints()
| void AlfaTrackCand::CalcImpactPoints |
( |
| ) |
|
Definition at line 429 of file AlfaLocalHits.cxx.
429 {
430
431
432
433
435 double scalefactortonearpot = z_nearpot -
m_z;
436 double ximpact_nearpot =
m_x +
m_xslope * scalefactortonearpot;
437 double yimpact_nearpot =
m_y +
m_yslope * scalefactortonearpot;
438 double zimpact_nearpot = z_nearpot;
442
444 double scalefactortofarpot = z_farpot -
m_z;
445 double ximpact_farpot =
m_x +
m_xslope * scalefactortofarpot;
446 double yimpact_farpot =
m_y +
m_yslope * scalefactortofarpot;
447 double zimpact_farpot = z_farpot;
451
452}
HepGeom::Point3D< double > m_farimpactpoint
HepGeom::Point3D< double > m_nearimpactpoint
◆ CalcTrack()
| void AlfaTrackCand::CalcTrack |
( |
| ) |
|
Definition at line 369 of file AlfaLocalHits.cxx.
369 {
370 float xM = 1.e10;
371 float xm = 1.e10;
372 float yM = 1.e10;
373 float ym = 1.e10;
374 float zM = 1.e10;
375 float zm = 1.e10;
388 }
393 }else{
394 throw std::runtime_error("AlfaTrackCand::CalcTrack() ... track is in left but unknown upper/lower arm");
395 }
407 }
412 }else{
413 std::runtime_error("AlfaTrackCand::CalcTrack() ... track is in right but unknown upper/lower arm");
414 }
415 }else{
416 std::runtime_error("AlfaTrackCand::CalcTrack() ... track must be left or right");
417 }
418 }
419
420 m_x = (xM + xm) / 2.;
421 m_y = (yM + ym) / 2.;
422 m_z = (zM + zm) / 2.;
425
426}
◆ Dump()
| void AlfaTrackCand::Dump |
( |
| ) |
const |
Definition at line 455 of file AlfaLocalHits.cxx.
455 {
456 std::ios oldState(nullptr);
457 oldState.copyfmt(std::cout);
458 cout << "Dumping AlfaTrackCand:" << endl;
459 cout <<
" arm = " << std::setprecision(8) <<
m_arm
460 <<
" x = " << std::setprecision(8) <<
m_x
461 <<
" y = " << std::setprecision(8) <<
m_y
462 <<
" z = " << std::setprecision(8) <<
m_z
463 <<
" x'= " << std::setprecision(8) <<
m_xslope
464 <<
" y' = " << std::setprecision(8) <<
m_yslope
465 << endl;
466 std::cout.copyfmt(oldState);
467
468}
◆ GetArmNum()
| int AlfaTrackCand::GetArmNum |
( |
| ) |
|
|
inline |
◆ GetFarImpactPoint()
| HepGeom::Point3D< double > * AlfaTrackCand::GetFarImpactPoint |
( |
| ) |
|
|
inline |
◆ GetFarLocalHit()
◆ GetFarLocRecCorr()
◆ GetNearImpactPoint()
| HepGeom::Point3D< double > * AlfaTrackCand::GetNearImpactPoint |
( |
| ) |
|
|
inline |
◆ GetNearLocalHit()
◆ GetNearLocRecCorr()
◆ GetX()
| float AlfaTrackCand::GetX |
( |
| ) |
|
|
inline |
◆ GetXslope()
| float AlfaTrackCand::GetXslope |
( |
| ) |
|
|
inline |
◆ GetY()
| float AlfaTrackCand::GetY |
( |
| ) |
|
|
inline |
◆ GetYslope()
| float AlfaTrackCand::GetYslope |
( |
| ) |
|
|
inline |
◆ GetZ()
| float AlfaTrackCand::GetZ |
( |
| ) |
|
|
inline |
◆ IsLeftAndRightTrack()
| int AlfaTrackCand::IsLeftAndRightTrack |
( |
| ) |
|
Definition at line 361 of file AlfaLocalHits.cxx.
361 {
363 return 1;
364 }else{
365 return 0;
366 }
367}
◆ IsLeftOrRightTrack()
| int AlfaTrackCand::IsLeftOrRightTrack |
( |
| ) |
|
Definition at line 353 of file AlfaLocalHits.cxx.
353 {
355 return 1;
356 }else{
357 return 0;
358 }
359}
◆ IsLeftTrack()
| int AlfaTrackCand::IsLeftTrack |
( |
| ) |
|
Definition at line 296 of file AlfaLocalHits.cxx.
296 {
301 ){
303 LogStream << MSG::DEBUG <<
"Track candidate is left" <<
endmsg;
304 return 1;
305 }else{
306 return 0;
307 }
308}
IMessageSvc * getMessageSvc(bool quiet=false)
◆ IsLowerArmTrack()
| int AlfaTrackCand::IsLowerArmTrack |
( |
| ) |
|
Definition at line 324 of file AlfaLocalHits.cxx.
324 {
329 ){
331 LogStream << MSG::DEBUG <<
"Track candidate is in the lower arm" <<
endmsg;
332 return 1;
333 }else{
334 return 0;
335 }
336}
◆ IsRightTrack()
| int AlfaTrackCand::IsRightTrack |
( |
| ) |
|
Definition at line 310 of file AlfaLocalHits.cxx.
310 {
315 ){
317 LogStream << MSG::DEBUG <<
"Track candidate is right" <<
endmsg;
318 return 1;
319 }else{
320 return 0;
321 }
322}
◆ IsUpperArmTrack()
| int AlfaTrackCand::IsUpperArmTrack |
( |
| ) |
|
Definition at line 338 of file AlfaLocalHits.cxx.
338 {
343 ){
345 LogStream << MSG::DEBUG <<
"Track candidate is in the upper arm" <<
endmsg;
346 return 1;
347 }else{
348 return 0;
349 }
350}
◆ IsValidTrack()
| int AlfaTrackCand::IsValidTrack |
( |
| ) |
|
|
inline |
◆ m_arm
◆ m_farimpactpoint
| HepGeom::Point3D<double> AlfaTrackCand::m_farimpactpoint |
|
private |
◆ m_farlocalhit
◆ m_nearimpactpoint
| HepGeom::Point3D<double> AlfaTrackCand::m_nearimpactpoint |
|
private |
◆ m_nearlocalhit
◆ m_trackcandhits
◆ m_x
◆ m_xslope
| float AlfaTrackCand::m_xslope |
|
private |
◆ m_y
◆ m_yslope
| float AlfaTrackCand::m_yslope |
|
private |
◆ m_z
The documentation for this class was generated from the following files: