KeyFunc.cc File Reference

Go to the source code of this file.

Functions

int MakeKey (int, int)
int PlaneFromKey (int)
int StripFromKey (int)

Function Documentation

int MakeKey ( int  plane,
int  strip 
)

Definition at line 8 of file KeyFunc.cc.

Referenced by FitterEM::PredictEMLoss(), and PSCalc().

00008                                  {
00009   return plane*192 + strip;
00010 }

int PlaneFromKey ( int  key  ) 

Definition at line 12 of file KeyFunc.cc.

00012                          {
00013   return key/192;
00014 }

int StripFromKey ( int  key  ) 

Definition at line 16 of file KeyFunc.cc.

00016                          {
00017   return key%192;
00018 }


Generated on 16 Apr 2018 for loon by  doxygen 1.6.1