#include <PlaneKG.h>
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 |
|
|
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 }
|
|
|
Definition at line 30 of file PlaneKG.h. 00030 {};
|
|
||||||||||||
|
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 }
|
|
|
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 }
|
|
|
Definition at line 33 of file PlaneKG.h. Referenced by Create(). |
|
|
Definition at line 32 of file PlaneKG.h. Referenced by Create(), and GetNbStpPerPlane(). |
1.3.9.1