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

BeamSummaryAna.h

Go to the documentation of this file.
00001 
00017 #ifndef BEAMSUMMARYANA_H
00018 #define BEAMSUMMARYANA_H
00019 
00020 #include "Rtypes.h"
00021 
00022 #include "BeamData/ana/Summary/BeamSummary.h"
00023 
00024 class BeamSummaryAna
00025 {
00026 
00027 public:
00028 
00029     BeamSummaryAna();
00030 
00032     void SetDefaults();
00033 
00035     void SetMinIntensCut(Double_t cutval);
00036     void SetMaxIntensCut(Double_t cutval);
00037     void SetMinHorPosTgtCut(Double_t cutval);
00038     void SetMaxHorPosTgtCut(Double_t cutval);
00039     void SetMinVerPosTgtCut(Double_t cutval);
00040     void SetMaxVerPosTgtCut(Double_t cutval);
00041     void SetMinHorWidthCut(Double_t cutval);
00042     void SetMaxHorWidthCut(Double_t cutval);
00043     void SetMinVerWidthCut(Double_t cutval);
00044     void SetMaxVerWidthCut(Double_t cutval);
00045     void SetMinHornCurCut(Double_t cutval);
00046     void SetMaxHornCurCut(Double_t cutval);
00047     void SetMinTargetPosCut(Double_t cutval);
00048     void SetMaxTargetPosCut(Double_t cutval);
00049 
00057     void SelectTargetPosition(const char* topt);
00058     
00060     void PrintCuts();
00061 
00063     Bool_t SimpleBeamCut(const BeamSummary& bsum);
00064 
00065 private:
00066     Double_t fIntensMin;    // Minimum beam intensity (1e12 PoT)
00067     Double_t fIntensMax;    // Maximum beam intensity (1e12 PoT)
00068     Double_t fHorPosTgtMin; // Min horizontal position of beam (mm)
00069     Double_t fHorPosTgtMax; // Max horizontal position of beam (mm)
00070     Double_t fVerPosTgtMin; // Min vertical position of beam (mm)
00071     Double_t fVerPosTgtMax; // Min vertical position of beam (mm)
00072     Double_t fHorWidthMin;  // Min horizontal beam width (mm)   
00073     Double_t fHorWidthMax;  // Max horizontal beam width (mm)   
00074     Double_t fVerWidthMin;  // Min vertical beam width (mm)   
00075     Double_t fVerWidthMax;  // Max vertical beam width (mm)       
00076     Double_t fHornCurMax;   // Maximal absolute horn current (kA)
00077     Double_t fHornCurMin;   // Minimal absolute horn current (kA)
00078     Double_t fTargetPosMax; // Maximal target position (mils)
00079     Double_t fTargetPosMin; // Minimal target position (mils)
00080 
00081 };                              // end of class BeamSummaryAna
00082 
00083 #endif  // BEAMSUMMARYANA_H

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