#include <SwimPlaneInterface.h>
Public Member Functions | |
SwimPlaneInterface () | |
SwimPlaneInterface (Double_t z, SwimGeo::SwimMaterial_t matBefore, SwimGeo::SwimMaterial_t matAfter) | |
virtual | ~SwimPlaneInterface () |
Double_t | GetZ () const |
SwimGeo::SwimMaterial_t | GetMaterialBefore () const |
SwimGeo::SwimMaterial_t | GetMaterialAfter () const |
void | Print (Option_t *option="") const |
Bool_t | IsSortable () const |
Int_t | Compare (const TObject *tobj) const |
Bool_t | IsEqual (const TObject *tobj) const |
ULong_t | Hash () const |
Private Attributes | |
Double_t | fZ |
SwimGeo::SwimMaterial_t | fMatBefore |
SwimGeo::SwimMaterial_t | fMatAfter |
|
Definition at line 12 of file SwimPlaneInterface.h.
00012 {;} |
|
Definition at line 11 of file SwimPlaneInterface.cxx. References SwimGeo::SwimMaterial_t.
00014 : fZ(z), fMatBefore(matBefore), fMatAfter(matAfter) 00015 { 00016 // basic ctor just initialized data members 00017 } |
|
Definition at line 16 of file SwimPlaneInterface.h.
00016 {;} |
|
Definition at line 26 of file SwimPlaneInterface.h. References fZ.
|
|
Definition at line 20 of file SwimPlaneInterface.h. References fMatAfter, and SwimGeo::SwimMaterial_t. Referenced by SwimGeo::GetInterface(), SwimGeo::GetSwimMaterial(), SwimObjSR::SwimTo(), and SwimObj3::SwimTo().
00020 { return fMatAfter; } |
|
Definition at line 19 of file SwimPlaneInterface.h. References fMatBefore, and SwimGeo::SwimMaterial_t. Referenced by SwimGeo::GetInterface(), SwimGeo::GetSwimMaterial(), SwimObjSR::SwimTo(), and SwimObj3::SwimTo().
00019 { return fMatBefore; } |
|
Definition at line 18 of file SwimPlaneInterface.h. References fZ. Referenced by AlgFitTrackSR::CalculateNoise(), SwimGeo::GetInterface(), AlgFitTrackCam::GetNoiseMatrix(), SwimGeo::GetSwimMaterial(), SwimGeo::Print(), SwimGeo::SetNextPlaneZ(), SwimObjSR::SwimTo(), and SwimObj3::SwimTo().
00018 { return fZ; } |
|
Definition at line 46 of file SwimPlaneInterface.h. References fZ.
00046 { 00047 ULong_t ifz = static_cast<ULong_t>(fZ*1000.); 00048 return ifz; 00049 } |
|
Definition at line 39 of file SwimPlaneInterface.h. References fMatAfter, fMatBefore, and fZ.
00039 { 00040 const SwimPlaneInterface *spi = dynamic_cast<const SwimPlaneInterface*>(tobj); 00041 return spi->fZ==fZ && 00042 spi->fMatBefore==fMatBefore && 00043 spi->fMatAfter==fMatAfter; 00044 } |
|
Definition at line 24 of file SwimPlaneInterface.h.
00024 {return kTRUE;}
|
|
Definition at line 21 of file SwimPlaneInterface.cxx. References SwimGeo::AsString(), fMatAfter, fMatBefore, fZ, MSGSTREAM, and option. Referenced by SwimGeo::Print().
00022 { 00023 // Print the relevant features of this interface 00024 // Option "0" mean suppress newline. 00025 static const MsgFormat f10p5("%f10.5f"); 00026 00027 MsgStream& msg = MSGSTREAM("Swim",Msg::kInfo); 00028 00029 msg << " SwimPlaneInterface z= " << f10p5(fZ) 00030 << setw(7) << SwimGeo::AsString(fMatBefore) << "->" 00031 << setw(7) << SwimGeo::AsString(fMatAfter); 00032 if (option[0] != '0') msg << endl; 00033 00034 } |
|
Definition at line 55 of file SwimPlaneInterface.h. Referenced by GetMaterialAfter(), IsEqual(), and Print(). |
|
Definition at line 54 of file SwimPlaneInterface.h. Referenced by GetMaterialBefore(), IsEqual(), and Print(). |
|
Definition at line 53 of file SwimPlaneInterface.h. Referenced by Compare(), GetZ(), Hash(), IsEqual(), and Print(). |