TridModelPixel Class Reference

#include <TridModelPmt.h>

Inheritance diagram for TridModelPixel:
TridModel

List of all members.

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

Detailed Description

Definition at line 21 of file TridModelPmt.h.


Constructor & Destructor Documentation

TridModelPixel::TridModelPixel ( const PlexPixelSpotId pixel  ) 

Member Function Documentation

void TridModelPixel::Print ( std::ostream &  os = std::cout  )  const [virtual]

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(), and PlexPixelSpotId::GetTube().

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 }

Bool_t TridModelPixel::ShouldContain ( const PlexPixelSpotId seid  )  const [virtual]

Definition at line 38 of file TridModelPmt.cxx.

References fPixelSpot, and PlexPixelSpotId::IsSamePixel().

Referenced by TridModelMaker::CreatePmtModels().

00040 {
00041   return seid.IsSamePixel(fPixelSpot);
00042 }


Member Data Documentation

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().


The documentation for this class was generated from the following files:

Generated on 3 Dec 2018 for loon by  doxygen 1.6.1