00001 00002 // $Id: AlgSubShowerSR.h,v 1.13 2005/11/11 17:23:50 cbs Exp $ 00003 // 00004 // AlgSubShowerSR.h 00005 // 00006 // AlgSubShowerSR is a concrete StripSR Algorithm class. 00007 // 00008 // Author: R. Lee 2001.02.13 00009 // 00011 00012 #ifndef ALGSUBSHOWERSR_H 00013 #define ALGSUBSHOWERSR_H 00014 00015 #include "Algorithm/AlgBase.h" 00016 #include "CandSubShowerSRHandle.h" 00017 #include "TH1.h" 00018 #include "TF1.h" 00019 00020 class AlgSubShowerSR : public AlgBase 00021 { 00022 00023 public: 00024 00025 AlgSubShowerSR(); 00026 virtual ~AlgSubShowerSR(); 00027 virtual void RunAlg(AlgConfig &ac, CandHandle &ch, CandContext &cx); 00028 virtual void Trace(const char *c) const; 00029 00030 private: 00031 00032 void CalculateEnergyVertexAngle(CandSubShowerSRHandle &cch, Int_t det); 00033 void SubShowerID(CandSubShowerSRHandle &cch); 00034 Double_t fPECut; 00035 Double_t fECut; 00036 Double_t fMaxDiffCut; 00037 Double_t fVtxDiffCut; 00038 Double_t fOut2RmPHCut; 00039 Double_t fTrkFraCut; 00040 Double_t fTrkLikeStpCut; 00041 Double_t fXtkFraCut; 00042 Double_t fMaxXTalkStpPH; 00043 Bool_t fDoEMFit; 00044 Double_t fMIPperGeV; 00045 00046 Double_t maxStpPHinSS; 00047 Double_t maxdiff; 00048 Double_t vtxdiff; 00049 Double_t trkfra; 00050 Double_t avgstpperpln; 00051 Double_t xtkfra; 00052 Double_t avgph; 00053 Double_t out2Rmph; 00054 Double_t bothfitprob; 00055 Double_t stpdismean; 00056 Double_t stpdisrms; 00057 00058 std::list<Double_t> LongPl; 00059 std::list<Double_t> LongPh; 00060 std::list<Double_t> LongFlu; 00061 std::list<Double_t> LongPhpe; 00062 std::list<Double_t> TranStp; 00063 std::list<Double_t> TranPh; 00064 std::list<Double_t> TranFlu; 00065 00066 Double_t loweststp; 00067 Double_t uppeststp; 00068 Double_t begz; 00069 Double_t endz; 00070 Double_t Theta_rad; 00071 Double_t totw; 00072 Double_t Eguess; 00073 Int_t nn0l; 00074 Int_t nn0t; 00075 00076 TH1F *flspl; 00077 TH1F *sflspl; 00078 TF1 *clusterlong; 00079 TF1 *clustertran; 00080 TF1 *chi2func; 00081 00082 TH1F *LongProf; 00083 TH1F *LongHist; 00084 TH1F *TranProf; 00085 TH1F *TranHist; 00086 TH1F *LongProfb; 00087 TH1F *LongHistb; 00088 TH1F *TranProfb; 00089 TH1F *TranHistb; 00090 00091 ClassDef(AlgSubShowerSR,0) // SubShowerSR Algorithm Class 00092 00093 }; 00094 00095 #endif // ALGSUBSHOWERSR_H
1.3.9.1