Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PlaneKG Class Reference

#include <PlaneKG.h>

List of all members.

Public Member Functions

 PlaneKG ()
virtual ~PlaneKG ()
void Create (StripListKG &all1, Int_t planeNbInp)
Int_t GetNbStpPerPlane (Int_t plNumber) const

Public Attributes

Int_t number
Int_t nstppplane


Constructor & Destructor Documentation

PlaneKG::PlaneKG  ) 
 

Definition at line 21 of file PlaneKG.cxx.

References MSG.

00021                 :number(0),nstppplane(0){
00022 //
00023 //  Purpose:  Default constructor
00024 //
00025 
00026   MSG("Cluster3D", Msg::kVerbose)
00027     << "Default constructor " << endl;
00028 }

virtual PlaneKG::~PlaneKG  )  [inline, virtual]
 

Definition at line 30 of file PlaneKG.h.

00030 {}; 


Member Function Documentation

void PlaneKG::Create StripListKG all1,
Int_t  planeNbInp
 

Definition at line 53 of file PlaneKG.cxx.

References StripListKG::GetNStrips(), StripListKG::GetStripPlane(), nstppplane, and number.

Referenced by CellListKG::CreateCells().

00053                                                        {
00054 //
00055 //  Purpose: 
00056 //
00057 //  Arguments: 
00058 //             planeNbInp in - plane number 
00059 //
00060 //  Return: 
00061 //
00062 //  Contact:   K.Grzelak1@physics.ox.ac.uk
00063 //
00064 
00065   nstppplane=0;
00066   Int_t nstp=all1.GetNStrips();
00067 
00068      for(Int_t i=0; i<nstp; ++i){
00069 
00070      Int_t planeNb=all1.GetStripPlane(i);
00071      if(planeNb==planeNbInp){
00072        ++nstppplane;
00073        number=planeNbInp;
00074      }
00075    }
00076 }

Int_t PlaneKG::GetNbStpPerPlane Int_t  plNumber  )  const
 

Definition at line 32 of file PlaneKG.cxx.

References number.

00032                                                    {
00033 //
00034 //  Purpose:  Return number of strips per plane
00035 //
00036 //  Arguments: plNumber in - plane number
00037 //
00038 //  Return: number of strips per plane 
00039 //
00040 //  Contact:   K.Grzelak1@physics.ox.ac.uk
00041 //
00042 
00043   if(number==plNumber) {
00044     return nstppplane;
00045   }
00046   else{
00047     return 0; 
00048   }
00049 }


Member Data Documentation

Int_t PlaneKG::nstppplane
 

Definition at line 33 of file PlaneKG.h.

Referenced by Create().

Int_t PlaneKG::number
 

Definition at line 32 of file PlaneKG.h.

Referenced by Create(), and GetNbStpPerPlane().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:10:03 2010 for loon by  doxygen 1.3.9.1