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

HadMon.h

Go to the documentation of this file.
00001 
00007 #ifndef HADMON_H
00008 #define HADMON_H
00009 
00010 #include <BeamData/ana/bmnt/Swic.h>
00011 
00012 class HadMon : public Swic {
00013 public:
00014 
00015     static const int NROWCOLS;
00016     static const double ROWCOL_SPACING; // cm
00017 
00018     // Map hardware channel (1-49) to data block index (0-48).  This
00019     // is not a linear mapping.  Negative index is returned if a bad
00020     // channel is passed.
00021     static int Index(int channel);
00022 
00025     static int Channel(int row, int col);
00026 
00029     static double PixelPosition(int rowcol);
00030 
00032     double GetStats(double& xmean, double &ymean, double &xrms, double &yrms);
00033 
00034 };
00035 
00036 #endif  // HADMON_H

Generated on Mon Feb 15 11:06:47 2010 for loon by  doxygen 1.3.9.1