TridModelPmt Class Reference

#include <TridModelPmt.h>

Inheritance diagram for TridModelPmt:
TridModel

List of all members.

Public Member Functions

 TridModelPmt (const PlexPixelSpotId &pmt)
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 7 of file TridModelPmt.h.


Constructor & Destructor Documentation

TridModelPmt::TridModelPmt ( const PlexPixelSpotId pmt  ) 

Member Function Documentation

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

Reimplemented from TridModel.

Definition at line 17 of file TridModelPmt.cxx.

References PlexPixelSpotId::AsString(), Form(), fPixelSpot, PlexMuxBoxId::GetEastWest(), PlexMuxBoxId::GetInRack(), PlexMuxBoxId::GetRackBay(), PlexMuxBoxId::GetRackLevel(), and PlexPixelSpotId::GetTube().

00018 {
00019   os << "PMT:      " << fPixelSpot.AsString("t") << std::endl;
00020   os << std::endl;
00021   os << Form("Tube in box:           %d",fPixelSpot.GetTube()) << std::endl;
00022   os << Form("Box in rack:           %d",fPixelSpot.GetInRack()) << std::endl;
00023   os << Form("Rack bay:              %d",fPixelSpot.GetRackBay()) << std::endl;
00024   os << Form("Rack level:            %c",fPixelSpot.GetRackLevel()) << std::endl;
00025   os << Form("Detector side:         %c",fPixelSpot.GetEastWest()) << std::endl;
00026   os << std::endl;
00027   TridModel::Print(os);
00028 }

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

Definition at line 11 of file TridModelPmt.cxx.

References fPixelSpot, and PlexPixelSpotId::IsSameTube().

Referenced by TridModelMaker::CreatePmtModels().

00013 {
00014   return seid.IsSameTube(fPixelSpot);
00015 }


Member Data Documentation

Definition at line 11 of file TridModelPmt.h.

Referenced by TridModelPmt().

Definition at line 10 of file TridModelPmt.h.

Referenced by TridPmtPage::CreateSketches(), Print(), ShouldContain(), and TridModelPmt().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1