#include <PndLmdHitPair.h>
|
| PndLmdHitPair () |
|
| PndLmdHitPair (Double_t col1, Double_t row1, Int_t id1, Double_t col2, Double_t row2, Int_t id2) |
|
| PndLmdHitPair (const TVector3 &hit1, const TVector3 &hit2, Int_t id1, Int_t id2) |
|
| ~PndLmdHitPair () |
|
bool | operator== (const PndLmdHitPair &rhs) |
|
void | PrintPair () const |
|
| ClassDef (PndLmdHitPair, 16) |
|
Int_t | getId1 () const |
|
Int_t | getId2 () const |
|
void | setId1 (Int_t ID1) |
|
void | setId2 (Int_t ID2) |
|
bool | isSane () const |
|
const TVector3 & | getHit1 () const |
|
void | setHit1 (const TVector3 &hit1) |
|
const TVector3 & | getHit2 () const |
|
void | setHit2 (const TVector3 &hit2) |
|
void | setPixelHits (double col1, double row1, double col2, double row2) |
|
void | check () |
|
bool | hitSensors (Int_t first, Int_t second) |
|
Double_t | getCol1 () const |
|
void | setCol1 (Double_t col1) |
|
Double_t | getCol2 () const |
|
void | setCol2 (Double_t col2) |
|
Double_t | getRow1 () const |
|
void | setRow1 (Double_t row1) |
|
Double_t | getRow2 () const |
|
void | setRow2 (Double_t row2) |
|
Int_t | getModuleId () const |
|
void | setModuleId (Int_t moduleId) |
|
bool | isHit1present () const |
|
bool | isHit2present () const |
|
Double_t | getDistance () const |
|
void | calculateDistance () |
|
void | setDistance (Double_t distance) |
|
Int_t | getOverlapId () const |
|
void | setOverlapId (Int_t overlapId) |
|
void | swapHits () |
|
Definition at line 32 of file PndLmdHitPair.h.
PndLmdHitPair::PndLmdHitPair |
( |
| ) |
|
Definition at line 148 of file PndLmdHitPair.cxx.
References _col1, _col2, _distance, _id1, _id2, _moduleId, _overlapID, _row1, _row2, checked, hit1present, hit2present, and sane.
Definition at line 132 of file PndLmdHitPair.cxx.
References _col1, _col2, _distance, _id1, _id2, _moduleId, _overlapID, _row1, _row2, checked, hit1present, hit2present, and sane.
PndLmdHitPair::PndLmdHitPair |
( |
const TVector3 & |
hit1, |
|
|
const TVector3 & |
hit2, |
|
|
Int_t |
id1, |
|
|
Int_t |
id2 |
|
) |
| |
Definition at line 117 of file PndLmdHitPair.cxx.
References _col1, _col2, _distance, _hit1, _hit2, _id1, _id2, _moduleId, _overlapID, _row1, _row2, checked, hit1present, hit2present, and sane.
PndLmdHitPair::~PndLmdHitPair |
( |
| ) |
|
void PndLmdHitPair::calculateDistance |
( |
| ) |
|
void PndLmdHitPair::check |
( |
| ) |
|
Definition at line 66 of file PndLmdHitPair.cxx.
References _col1, _col2, _id1, _id2, _row1, _row2, checked, and sane.
Referenced by PndLmdAlignManager::addPairAndStartAligner(), and PndLmdPairFinderTask::Exec().
68 bool colSane=
false, rowSane=
false, idsane=
false, allVarsSet=
false;
81 if(std::isinf(
_id1) || std::isinf(
_id2) || std::isnan(
_id1) || std::isnan (
_id2)){
107 if(colSane && rowSane && idsane){
113 std::cerr <<
"colsane " << colSane <<
", rowsane " << rowSane <<
", idsane " << idsane <<
", allVArsSet " << allVarsSet << std::endl;
Double_t PndLmdHitPair::getCol1 |
( |
| ) |
const |
|
inline |
Double_t PndLmdHitPair::getCol2 |
( |
| ) |
const |
|
inline |
Double_t PndLmdHitPair::getDistance |
( |
| ) |
const |
|
inline |
const TVector3& PndLmdHitPair::getHit1 |
( |
| ) |
const |
|
inline |
const TVector3& PndLmdHitPair::getHit2 |
( |
| ) |
const |
|
inline |
Int_t PndLmdHitPair::getId1 |
( |
| ) |
const |
|
inline |
Int_t PndLmdHitPair::getId2 |
( |
| ) |
const |
|
inline |
Int_t PndLmdHitPair::getModuleId |
( |
| ) |
const |
|
inline |
Int_t PndLmdHitPair::getOverlapId |
( |
| ) |
const |
|
inline |
Double_t PndLmdHitPair::getRow1 |
( |
| ) |
const |
|
inline |
Double_t PndLmdHitPair::getRow2 |
( |
| ) |
const |
|
inline |
bool PndLmdHitPair::hitSensors |
( |
Int_t |
first, |
|
|
Int_t |
second |
|
) |
| |
bool PndLmdHitPair::isHit1present |
( |
| ) |
const |
|
inline |
bool PndLmdHitPair::isHit2present |
( |
| ) |
const |
|
inline |
bool PndLmdHitPair::isSane |
( |
| ) |
const |
|
inline |
void PndLmdHitPair::PrintPair |
( |
| ) |
const |
Definition at line 48 of file PndLmdHitPair.cxx.
References _col1, _col2, _distance, _hit1, _hit2, _id1, _id2, _moduleId, _overlapID, _row1, and _row2.
Referenced by PndLmdPairFinderTask::Exec().
49 std::cout <<
"=========== PndLmdHitPair::Print() ==========" << std::endl;
50 std::cout <<
"=hitPair= col1: " <<
_col1 <<
", col2: " <<
_col2 <<
", row1: " <<
_row1 <<
", row2: ";
52 std::cout <<
"------ hit 1 ------ " << std::endl;
53 std::cout <<
"x: " <<
_hit1.x() << std::endl;
54 std::cout <<
"y: " <<
_hit1.y() << std::endl;
55 std::cout <<
"z: " <<
_hit1.z() << std::endl;
56 std::cout <<
"------ hit 2 ------ " << std::endl;
57 std::cout <<
"x: " <<
_hit2.x() << std::endl;
58 std::cout <<
"y: " <<
_hit2.y() << std::endl;
59 std::cout <<
"z: " <<
_hit2.z() << std::endl;
void PndLmdHitPair::setCol1 |
( |
Double_t |
col1 | ) |
|
|
inline |
void PndLmdHitPair::setCol2 |
( |
Double_t |
col2 | ) |
|
|
inline |
void PndLmdHitPair::setDistance |
( |
Double_t |
distance | ) |
|
|
inline |
void PndLmdHitPair::setHit1 |
( |
const TVector3 & |
hit1 | ) |
|
|
inline |
void PndLmdHitPair::setHit2 |
( |
const TVector3 & |
hit2 | ) |
|
|
inline |
void PndLmdHitPair::setId1 |
( |
Int_t |
ID1 | ) |
|
|
inline |
void PndLmdHitPair::setId2 |
( |
Int_t |
ID2 | ) |
|
|
inline |
void PndLmdHitPair::setModuleId |
( |
Int_t |
moduleId | ) |
|
|
inline |
void PndLmdHitPair::setOverlapId |
( |
Int_t |
overlapId | ) |
|
|
inline |
void PndLmdHitPair::setPixelHits |
( |
double |
col1, |
|
|
double |
row1, |
|
|
double |
col2, |
|
|
double |
row2 |
|
) |
| |
|
inline |
void PndLmdHitPair::setRow1 |
( |
Double_t |
row1 | ) |
|
|
inline |
void PndLmdHitPair::setRow2 |
( |
Double_t |
row2 | ) |
|
|
inline |
void PndLmdHitPair::swapHits |
( |
| ) |
|
TVector3 PndLmdHitPair::_hit1 |
|
private |
TVector3 PndLmdHitPair::_hit2 |
|
private |
Int_t PndLmdHitPair::_id1 |
|
private |
Int_t PndLmdHitPair::_id2 |
|
private |
Int_t PndLmdHitPair::_moduleId |
|
private |
Int_t PndLmdHitPair::_overlapID |
|
private |
bool PndLmdHitPair::checked |
|
private |
bool PndLmdHitPair::hit1present |
|
private |
bool PndLmdHitPair::hit2present |
|
private |
The documentation for this class was generated from the following files: