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

CDAnaModule.h

Go to the documentation of this file.
00001 
00002 
00003 // Program name: CDAnaModule.cxx
00004 //
00005 // Package: CalDetTracker
00006 //
00007 // Purpose: To only pass snarls with what you are interested in.
00008 //
00009 // Contact: Jeff Hartnell
00011 
00012 #ifndef CDANAMODULE_H
00013 #define CDANAMODULE_H
00014 
00015 #include "JobControl/JobCModule.h"
00016 #include "Conventions/Detector.h"
00017 
00018 class MomNavigator;
00019 class TFile;
00020 class TH1F;
00021 class TGraph;
00022 class TProfile;
00023 
00024 class CDAnaModule : public JobCModule
00025 {
00026  public:
00027 
00028   CDAnaModule();
00029   ~CDAnaModule();
00030 
00031   //methods that modify the objects state
00032   JobCResult Ana(const MomNavigator *mom);     //Analysis method
00033   void EndJob(); 
00034 
00035  private:
00036 
00037   Double_t fPrevEvT;//holds the second
00038   Double_t fPrevEvT1;//holds the first nanosec in event
00039   Double_t fPrevEvT2;//holds the last nanosec in event
00040   Double_t fNextEvT;
00041   Double_t fNextEvT1;
00042   Double_t fNextEvT2;
00043   Double_t fT;
00044   Double_t fT1;
00045   Double_t fT2;
00046     
00047   Double_t smallestT1;//time nearest lower timeframe boundary
00048   Double_t largestT2;//time nearest upper timeframe boundary
00049 
00050   Int_t fSnarl;
00051   Int_t fRun;
00052   Int_t fSubrun;
00053   Int_t fSec;
00054   Detector::Detector_t fDetector;
00055 
00056   TFile* fOutFile;
00057 
00058   TH1F* htEarliest;
00059   TH1F* htLatest;
00060   TH1F* htEarliestScint;
00061   TH1F* htLatestScint;
00062   TH1F* hdt;
00063   TH1F* hdtZoom;
00064   TH1F* hdtDeadChips;
00065   TProfile* pTimeVsdt;
00066 
00067   TGraph* gTimeVsdt;
00068   TGraph* gAdcVsTime;
00069   TGraph* gAdcVsTimeZoom;
00070   TGraph* gTtagTime;
00071   TGraph* gTtagTimeZoom;
00072 };
00073 
00074 #endif //CDANAMODULE_H
00075 
00076 
00077 
00078 
00079 
00080 
00081 
00082 
00083 
00084 

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