/[PAMELA software]/PamelaDigitizer/Digitizer.h
ViewVC logotype

Diff of /PamelaDigitizer/Digitizer.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by pamelats, Fri Jun 6 15:16:04 2008 UTC revision 1.9 by pamelats, Wed Oct 15 14:03:20 2008 UTC
# Line 16  Line 16 
16  #include "TLeafI.h"  #include "TLeafI.h"
17  #include "TH1.h"  #include "TH1.h"
18  #include "TH2.h"  #include "TH2.h"
19    #include "TF1.h"
20  #include "TMath.h"  #include "TMath.h"
21  #include "TSQLServer.h"  #include "TSQLServer.h"
22  //  #include "TGraph.h"
23    #include "GLTables.h"
24    #include "TSystem.h"
25    #include "TRandom.h"
26    
27  #include "CRC.h"  #include "CRC.h"
28    #include <CalibCalPedEvent.h>
29    #include "CalibTrk1Event.h"
30    #include "CalibTrk2Event.h"
31    
32  class Digitizer{  class Digitizer{
33    
   
34   protected:   protected:
35    
36      // in and output data members      // in and output data members
37    
38      TTree* fhBookTree;      TTree* fhBookTree;
39      ofstream fOutputfile;      ofstream fOutputfile;
40      int nspe;      int *nspe;
41      int ntof;      int *ntof;
42      int ncat;      int *ncat;
43      int ncas;      int *ncas;
44      int ncar;      int *ncar;
45      int ncal;      int *ncal;
46      int nnd;      int *nnd;
47      int nstr;      int *nstr;
     int *ntf;  
48    
49      static const int fPSCUbuffer = 8;      static const int fPSCUbuffer = 8;
50      static const int fTRIGGERbuffer = 152; //(bytes)      static const int fTRIGGERbuffer = 152; //(bytes)
# Line 146  class Digitizer{ Line 152  class Digitizer{
152      Int_t           Nthtof;      Int_t           Nthtof;
153      UChar_t         *Ipltof;      UChar_t         *Ipltof;
154      UChar_t         *Ipaddle;      UChar_t         *Ipaddle;
155        UChar_t         *Ipartof;//DPMJET      //    UChar_t         *Ipartof;//DPMJET
156      //  UShort_t        *Ipartof;      UShort_t        *Ipartof;
157      Float_t         *Xintof;      Float_t         *Xintof;
158      Float_t         *Yintof;      Float_t         *Yintof;
159      Float_t         *Zintof;      Float_t         *Zintof;
# Line 185  class Digitizer{ Line 191  class Digitizer{
191      Float_t         *Pathcas;      Float_t         *Pathcas;
192      Float_t         *P0cas;      Float_t         *P0cas;
193      Int_t           Nthspe;      Int_t           Nthspe;
194      UChar_t         *Iparspe;//DPMJET      //    UChar_t         *Iparspe;//DPMJET
195      // UShort_t        *Iparspe;      //    UShort_t        *Iparspe;
196      UChar_t         *Itrpb;      UChar_t         *Itrpb;
197      UChar_t         *Itrsl;      UChar_t         *Itrsl;
198      UChar_t         *Itspa;      UChar_t         *Itspa;
# Line 377  class Digitizer{ Line 383  class Digitizer{
383      TBranch        *b_Pathcard;   //!      TBranch        *b_Pathcard;   //!
384      TBranch        *b_P0card;   //!      TBranch        *b_P0card;   //!
385      //      //
386        TF1 *attenAC;
387   public:   public:
388    
389      Digitizer(TTree *tree, char* &file_raw,int nspe=200,int ntof=200,int ncat=50,int ncas=50,int ncar=100,int ncal=1000,int nnd=200,int nstr=1000); // constructor      Digitizer(TTree*,char*&,int,int,int,int,int,int,int,int); // constructor
390    
391      void Close();      void Close();
392      void SetTree(TTree *tree) {fhBookTree = tree;};      void SetTree(TTree *tree) {fhBookTree = tree;};

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23