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

BDSwicPeds.h

Go to the documentation of this file.
00001 
00029 #ifndef BDSWICPEDS_H
00030 #define BDSWICPEDS_H
00031 
00032 #include <BeamDataUtil/BDProcessor.h>
00033 
00034 #include <RawData/RawBeamSwicData.h>
00035 #include <Validity/VldTimeStamp.h>
00036 
00037 #include <Util/UtilRunningAverageVector.h>
00038 
00039 #include <map>
00040 #include <string>
00041 
00042 class RawBeamMonHeaderBlock;
00043 class RawBeamMonBlock;
00044 
00045 class BDSwicPeds : public BDProcessor {
00046 public:
00047 
00048     typedef std::map<std::string,UtilRunningAverageVector*> SwicMap;
00049 
00052     BDSwicPeds();
00053 
00056     BDSwicPeds(const SwicMap& map);
00057     ~BDSwicPeds();
00058 
00060     void Clear();
00061 
00063     void SetSpill(const RawBeamMonHeaderBlock& rbmhb,
00064                   const RawBeamMonBlock& rbmb);
00065 
00068     static bool IsPedSpill(const RawBeamMonBlock& rbmb);
00069 
00072     const UtilRunningAverageVector* GetChannels(const char* name) const;
00073 
00075     const SwicMap& GetAllChannels() const;
00076     SwicMap& GetAllChannels();
00077 
00080     VldTimeStamp GetStart() { return fBeginTS; }
00083     VldTimeStamp GetStop() { return fEndTS; }
00084 
00085 private:    
00086     SwicMap fSwicMap;
00087     VldTimeStamp fBeginTS, fEndTS;
00088 };
00089 #endif  // BDSWICPEDS_H

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