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

AttenCorr.h

Go to the documentation of this file.
00001 // 
00002 // October 9 2007
00003 //
00004 // Author: Pedro O. and Mark T. 
00005 // 
00006 // Calculates attenuation corrections for strips
00007 
00008 #ifndef ATTENCORR_H
00009 #define ATTENCORR_H
00010 
00011 #include "StandardNtuple/NtpStRecord.h"
00012 #include "CandNtupleSR/NtpSRStrip.h"
00013 
00014 class AttenCorr
00015 {
00016 
00017  public:
00018   AttenCorr();
00019   ~AttenCorr();
00020   void CalcCorr(const NtpStRecord* record, const NtpSRStrip* strip, Float_t meanUTPos, Float_t meanVTPos, unsigned short qtype = 0);
00021 
00022   int detector;
00023   Float_t qpeE; //<-- uncorrected pe or pe-scaled sigcor (East)
00024   Float_t qpeW; //<-- uncorrected pe or pe-scaled sigcor (West)
00025   Float_t lE; //<-- distance from hit to end of strip (East)
00026   Float_t lW; //<-- distance from hit to end of strip (West)
00027   Float_t halflength;
00028   Float_t wlspigtail_w;
00029   Float_t wlspigtail_e;
00030   Float_t clearfiber_w;
00031   Float_t clearfiber_e;
00032   Float_t centeru;
00033   Float_t centerv;
00034 
00035   Float_t qpeWcor;
00036   Float_t qpeEcor;
00037   Float_t qpecor;
00038   Float_t attenE;
00039   Float_t attenW;
00040   
00041  private:
00042   void Setup(const NtpStRecord* record,const NtpSRStrip* strip,unsigned short qtype);
00043   void CalcPECorr(const int);
00044   void Reset();
00045 
00046 
00047 };
00048 
00049 #endif

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