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

BeamSummary.h

Go to the documentation of this file.
00001 
00020 #ifndef BEAMSUMMARY_H
00021 #define BEAMSUMMARY_H
00022 
00023 #include "Rtypes.h"
00024 
00025 class TTree;
00026 
00027 class BeamSummary{
00028 
00029 public:
00030 
00031 // public data members;
00032     Double_t beamIntensity;    // beam intensity in [1E12 PoT]
00033     Double_t hBeamWidth;       // horizontal beam width from prof mon in [mm] 
00034     Double_t vBeamWidth;       // vertical
00035     Double_t hPosatTargetPM;   // hor. pos. on target from prof. mon. in [mm]
00036     Double_t vPosatTargetPM;   // vert. pos. on target from prof mon. in [mm] 
00037     Double_t hPosatTargetBPM;  // hor. pos. from beam position mon. in [mm]
00038     Double_t vPosatTargetBPM;  // vert. pos.
00039     Double_t tanHoriz;         // angle of beam on target in hor. in [rads]  
00040     Double_t tanVert;          // angle of beam on target in vert. in [rads]
00041     Double_t hornPeakCurrent;  // total peak horn current in [kA]
00042     Double_t nuTarZ;           // position of target in [mils]
00043     Double_t hadTotalPH;       // total pulse height in hadron monitor
00044     Double_t hadMeanX;         // hadron monitor mean position in X
00045     Double_t hadMeanY;         // hadron monitor mean position in Y   
00046     Double_t mu1TotalPH;       // total pulse height in muon monitor 1
00047     Double_t mu1MeanX;         // muon monitor 1 mean position in X   
00048     Double_t mu1MeanY;         // muon monitor 1 mean position in Y   
00049     Double_t mu2TotalPH;       // total pulse height in muon monitor 2
00050     Double_t mu2MeanX;         // muon monitor 2 mean position in X   
00051     Double_t mu2MeanY;         // muon monitor 2 mean position in Y   
00052     Double_t mu3TotalPH;       // total pulse height in muon monitor 3
00053     Double_t mu3MeanX;         // muon monitor 3 mean position in X   
00054     Double_t mu3MeanY;         // muon monitor 3 mean position in Y   
00055     Double_t timeStampD;       // time stamp 1st trigered vme device in fractional [secs]
00056     Long_t timeStampSec;       // same but only secs
00057     
00058     BeamSummary();
00060     BeamSummary(TTree* btree);
00061 
00063     void SetTree(TTree* btree);
00064 
00066     void clear();
00067     
00072     Int_t MatchSpillWithTime(Int_t tsec, Int_t tnanosec);
00073 
00074 private:
00075     TTree* fChain;   //pointer to the analyzed TTree or TChain
00076     
00077 };                              // end of class BeamSummary
00078 
00079 #endif  // BEAMSUMMARY_H

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