#include <TridModelIntersect.h>
Inheritance diagram for TridModelIntersect:

Public Member Functions | |
| TridModelIntersect (TridModelStrip &modelStrip1, TridModelStrip &modelStrip2) | |
| virtual void | Print (std::ostream &os=std::cout) const |
Public Attributes | |
| PlexStripEndId | fStrip1 |
| PlexStripEndId | fStrip2 |
|
||||||||||||
|
Definition at line 4 of file TridModelIntersect.cxx. References TridModel::AddFromModel(), TridModelStrip::fStrip, fStrip1, fStrip2, PlexPlaneId::GetPlane(), and TridModel::SetSortKey(). 00006 {
00007 // Ensure that fStrip1 has the lower plane number.
00008 fStrip1 = modelStrip1.fStrip;
00009 fStrip2 = modelStrip2.fStrip;
00010 if(fStrip1.GetPlane() > fStrip2.GetPlane() ){
00011 fStrip1 = modelStrip2.fStrip;
00012 fStrip2 = modelStrip1.fStrip;
00013 }
00014 SetSortKey(fStrip1.GetPlane());
00015
00016 // Insert all the hits.
00017 AddFromModel(&modelStrip1);
00018 AddFromModel(&modelStrip2);
00019 }
|
|
|
Reimplemented from TridModel. Definition at line 23 of file TridModelIntersect.cxx. References PlexStripEndId::AsString(), Form(), fStrip1, fStrip2, PlexPlaneId::GetPlane(), PlexStripEndId::GetStrip(), and TridModel::Print(). 00024 {
00025 os << "Intersection: " << std::endl;
00026 os << Form("Strip1 ID: %s",fStrip1.AsString("e")) << std::endl;
00027 os << Form("Plane1: %d",fStrip1.GetPlane()) << std::endl;
00028 os << Form("Strip1: %d",fStrip1.GetStrip()) << std::endl;
00029 os << Form("Strip2 ID: %s",fStrip2.AsString("e")) << std::endl;
00030 os << Form("Plane2: %d",fStrip2.GetPlane()) << std::endl;
00031 os << Form("Strip2: %d",fStrip2.GetStrip()) << std::endl;
00032 os << "" << std::endl;
00033 TridModel::Print(os);
00034 }
|
|
|
Definition at line 13 of file TridModelIntersect.h. Referenced by TridPageDetector::CreateSketches(), Print(), and TridModelIntersect(). |
|
|
Definition at line 14 of file TridModelIntersect.h. Referenced by TridPageDetector::CreateSketches(), Print(), and TridModelIntersect(). |
1.3.9.1