CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/Alignment/MuonAlignmentAlgorithms/interface/DTMuonLocalAlignment.h

Go to the documentation of this file.
00001 #ifndef Alignment_MuonAlignmentAlgorithms_DTMuonLocalAlignment_h
00002 #define Alignment_MuonAlignmentAlgorithms_DTMuonLocalAlignment_h
00003 
00010 #include "TFile.h"
00011 #include "TTree.h"
00012 #include <string>
00013 #include "TChain.h"
00014 
00015 #define MAX_SEGMENT 5
00016 #define MAX_HIT_CHAM 14
00017 
00018 class DTMuonLocalAlignment {
00019   
00020   public:
00021 
00022   DTMuonLocalAlignment();
00023 
00024   ~DTMuonLocalAlignment(); 
00025 
00026   void initNTuples(int );
00027   
00028   void setBranchAddressTree(); 
00029   
00030   std::string ntuplePath;
00031 
00032   int numberOfRootFiles;
00033  
00034   TChain *tali;
00035 
00036   TFile *f;
00037 
00038 
00039 
00040   //Block of variables for the tree 
00041   //---------------------------------------------------------
00042   float p, pt, eta, phi, charge;
00043   int nseg;
00044   int nphihits[MAX_SEGMENT];
00045   int nthetahits[MAX_SEGMENT];
00046   int nhits[MAX_SEGMENT];
00047   float xSl[MAX_SEGMENT];
00048   float dxdzSl[MAX_SEGMENT];
00049   float exSl[MAX_SEGMENT];
00050   float edxdzSl[MAX_SEGMENT];
00051   float exdxdzSl[MAX_SEGMENT];
00052   float ySl[MAX_SEGMENT];
00053   float dydzSl[MAX_SEGMENT];
00054   float eySl[MAX_SEGMENT];
00055   float edydzSl[MAX_SEGMENT];
00056   float eydydzSl[MAX_SEGMENT];
00057   float xSlSL1[MAX_SEGMENT];
00058   float dxdzSlSL1[MAX_SEGMENT];
00059   float exSlSL1[MAX_SEGMENT];
00060   float edxdzSlSL1[MAX_SEGMENT];
00061   float exdxdzSlSL1[MAX_SEGMENT];
00062   float xSL1SL3[MAX_SEGMENT];
00063   float xSlSL3[MAX_SEGMENT];
00064   float dxdzSlSL3[MAX_SEGMENT];
00065   float exSlSL3[MAX_SEGMENT];
00066   float edxdzSlSL3[MAX_SEGMENT];
00067   float exdxdzSlSL3[MAX_SEGMENT];
00068   float xSL3SL1[MAX_SEGMENT];
00069   float xc[MAX_SEGMENT][MAX_HIT_CHAM];
00070   float yc[MAX_SEGMENT][MAX_HIT_CHAM];
00071   float zc[MAX_SEGMENT][MAX_HIT_CHAM];
00072   float ex[MAX_SEGMENT][MAX_HIT_CHAM];
00073   float xcp[MAX_SEGMENT][MAX_HIT_CHAM];
00074   float ycp[MAX_SEGMENT][MAX_HIT_CHAM];
00075   float excp[MAX_SEGMENT][MAX_HIT_CHAM];
00076   float eycp[MAX_SEGMENT][MAX_HIT_CHAM];
00077   int wh[MAX_SEGMENT]; int st[MAX_SEGMENT]; int sr[MAX_SEGMENT];
00078   int sl[MAX_SEGMENT][MAX_HIT_CHAM];
00079   int la[MAX_SEGMENT][MAX_HIT_CHAM];
00080   //---------------------------------------------------------------
00081 
00082   private:
00083 
00084 
00085 };
00086 
00087 #endif