#include <TridModelPmt.h>
Inheritance diagram for TridModelPixel:
Public Member Functions | |
| TridModelPixel (const PlexPixelSpotId &pixel) | |
| virtual Bool_t | ShouldContain (const PlexPixelSpotId &seid) const |
| virtual void | Print (std::ostream &os=std::cout) const |
Public Attributes | |
| PlexPixelSpotId | fPixelSpot |
| Int_t | fPixels |
|
|
Definition at line 31 of file TridModelPmt.cxx. References fPixels, fPixelSpot, PlexMuxBoxId::GetElecType(), PlexPixelSpotId::GetUniquePmtEncodedValue(), and TridModel::SetSortKey(). 00032 {
00033 fPixelSpot = pixel;
00034 fPixels = (pixel.GetElecType()==ElecType::kQIE) ? (64) : (16);
00035 SetSortKey( fPixelSpot.GetUniquePmtEncodedValue() );
00036 }
|
|
|
Reimplemented from TridModel. Definition at line 44 of file TridModelPmt.cxx. References PlexPixelSpotId::AsString(), Form(), fPixelSpot, PlexMuxBoxId::GetEastWest(), PlexMuxBoxId::GetInRack(), PlexPixelSpotId::GetPixel(), PlexMuxBoxId::GetRackBay(), PlexMuxBoxId::GetRackLevel(), PlexPixelSpotId::GetSpot(), PlexPixelSpotId::GetTube(), and TridModel::Print(). 00045 {
00046 os << "Pixel: " << fPixelSpot.AsString() << std::endl;
00047 os << Form("Spot (demux): %d",fPixelSpot.GetSpot()) << std::endl;
00048 os << Form("Pixel: %d",fPixelSpot.GetPixel()) << std::endl;
00049 os << Form("Tube in box: %d",fPixelSpot.GetTube()) << std::endl;
00050 os << Form("Box in rack: %d",fPixelSpot.GetInRack()) << std::endl;
00051 os << Form("Rack bay: %d",fPixelSpot.GetRackBay()) << std::endl;
00052 os << Form("Rack level: %c",fPixelSpot.GetRackLevel()) << std::endl;
00053 os << Form("Detector side: %c",fPixelSpot.GetEastWest()) << std::endl;
00054 os << std::endl;
00055 TridModel::Print(os);
00056 }
|
|
|
Definition at line 38 of file TridModelPmt.cxx. References fPixelSpot, and PlexPixelSpotId::IsSamePixel(). Referenced by TridModelMaker::CreatePmtModels(). 00040 {
00041 return seid.IsSamePixel(fPixelSpot);
00042 }
|
|
|
Definition at line 25 of file TridModelPmt.h. Referenced by TridModelPixel(). |
|
|
Definition at line 24 of file TridModelPmt.h. Referenced by TridPmtPage::CreateSketches(), Print(), ShouldContain(), and TridModelPixel(). |
1.3.9.1