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

LIRawNtAna.h

Go to the documentation of this file.
00001 
00002 
00003 // Program name: LIRawNtAna.h                    
00004 //                                                                     
00005 // Package: LISummary                                        
00006 //                                                                    
00007 // Coded by Jeff Hartnell Sep-Dec/2002       
00008 //                                                                    
00009 // Purpose: To analyse LI summary root files and look at drift points  
00010 //                                                                    
00011 // Contact: jeffrey.hartnell@physics.ox.ac.uk                         
00013 
00014 #ifndef LIRawNtAna_H
00015 #define LIRawNtAna_H
00016 
00017 class TChain;
00018 class TFile;
00019 
00020 class LIRawNtAna {
00021 
00022  public:  
00023   
00024   LIRawNtAna();
00025   ~LIRawNtAna();
00026 
00027   void Demo();
00028   void DemoOpenFile(std::string fileName);
00029 
00030   void WriteOutHistos();
00031     
00032  private:
00033 
00034   void InitialiseLoopVariables();
00035   void MakeChain();
00036   void SetChainBranches();
00037   void SetLoopVariables(Int_t entry);
00038   TFile* OpenFile(Int_t runNumber,std::string prefix) const;
00039 
00040   //data members
00041 
00042   TChain *chain;
00043   TFile* fOutFile;
00044   Int_t numEvents;
00045   
00046   static const UInt_t nStripPerPixel = 8;
00047 
00048   Int_t nt_run;
00049   Int_t nt_snarl;
00050   Int_t nt_timesec;
00051   Int_t nt_timenanosec;
00052   Int_t nt_errcode;
00053   Int_t nt_crate;
00054   Int_t nt_varc;
00055   Int_t nt_vmm;
00056   Int_t nt_vaadc;
00057   Int_t nt_vachip;
00058   Int_t nt_vachannel;
00059   Int_t nt_pixel;
00060   Int_t nt_adc;
00061   Int_t nt_tdc;
00062   Int_t nt_readouttype;
00063   Short_t nt_pbox;
00064   Short_t nt_pboxopp;
00065   Short_t nt_led[nStripPerPixel];
00066   Short_t nt_ledopp[nStripPerPixel];
00067   //Float_t record;
00068 
00069   
00070 
00071 };
00072 
00073 #endif // LIRawNtAna_H

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