00001 //////////////////////////////////////////////////////////////////////// 00002 // $Id: AlProject56.h,v 1.2 2006/11/07 21:29:33 lebedev Exp $ 00003 // 00004 // lebedev@physics.harvard.edu 00005 //////////////////////////////////////////////////////////////////////// 00006 00007 #ifndef AL_PROJECT56_H 00008 #define AL_PROJECT56_H 00009 00010 #include "JobControl/JobCModuleFactory.h" 00011 00012 #include <TObject.h> 00013 #include <TTree.h> 00014 00015 //...................................................................... 00016 00017 class AlProjectNt : public TObject { 00018 public: 00019 AlProjectNt() {;} 00020 ~AlProjectNt() {;} 00021 00022 short cham; 00023 short plane; 00024 float u[4]; 00025 float dudz[4]; 00026 int wire; 00027 00028 ClassDef(AlProjectNt, 1) // Alignment projection Ntuple 00029 }; 00030 00031 //...................................................................... 00032 /// @author Andre Lebedev 00033 /// This module takes straight-line track segments, and projects 00034 /// them to all chambers, looking for correlation between predicted 00035 /// u coordinate and wire number 00036 /// 00037 class AlProject56 : public JobCModule { 00038 public: 00039 AlProject56(const char* version); 00040 ~AlProject56(); 00041 00042 JobCResult Ana(const EDMEventHandle& evt); 00043 00044 void NewRun(int run, int subrun); 00045 00046 void Update(const CfgConfig& c); 00047 00048 private: 00049 int fDebug; // Controls level of debug printing 00050 std::string fSegFolder; 00051 00052 TTree* fTree; 00053 AlProjectNt* fNt; 00054 }; 00055 00056 #endif // AL_PROJECT56_H 00057 00058 ////////////////////////////////////////////////////////////////////////
1.4.7