Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:45:24

0001 #ifndef Alignment_MuonAlignmentAlgorithms_DTMuonLocalAlignment_h
0002 #define Alignment_MuonAlignmentAlgorithms_DTMuonLocalAlignment_h
0003 
0004 /** \class DTMuonLocalAlignment
0005  *  $Date$
0006  *  $Revision: 1.3 $
0007  *  \author Luca Scodellaro <Luca.Scodellaro@cern.ch>
0008  */
0009 
0010 #include "TFile.h"
0011 #include "TTree.h"
0012 #include <string>
0013 #include "TChain.h"
0014 
0015 #define MAX_SEGMENT 5
0016 #define MAX_HIT_CHAM 14
0017 
0018 class DTMuonLocalAlignment {
0019 public:
0020   DTMuonLocalAlignment();
0021 
0022   ~DTMuonLocalAlignment();
0023 
0024   void initNTuples(int);
0025 
0026   void setBranchAddressTree();
0027 
0028   std::string ntuplePath;
0029 
0030   int numberOfRootFiles;
0031 
0032   TChain *tali;
0033 
0034   TFile *f;
0035 
0036   //Block of variables for the tree
0037   //---------------------------------------------------------
0038   float p, pt, eta, phi, charge;
0039   int nseg;
0040   int nphihits[MAX_SEGMENT];
0041   int nthetahits[MAX_SEGMENT];
0042   int nhits[MAX_SEGMENT];
0043   float xSl[MAX_SEGMENT];
0044   float dxdzSl[MAX_SEGMENT];
0045   float exSl[MAX_SEGMENT];
0046   float edxdzSl[MAX_SEGMENT];
0047   float exdxdzSl[MAX_SEGMENT];
0048   float ySl[MAX_SEGMENT];
0049   float dydzSl[MAX_SEGMENT];
0050   float eySl[MAX_SEGMENT];
0051   float edydzSl[MAX_SEGMENT];
0052   float eydydzSl[MAX_SEGMENT];
0053   float xSlSL1[MAX_SEGMENT];
0054   float dxdzSlSL1[MAX_SEGMENT];
0055   float exSlSL1[MAX_SEGMENT];
0056   float edxdzSlSL1[MAX_SEGMENT];
0057   float exdxdzSlSL1[MAX_SEGMENT];
0058   float xSL1SL3[MAX_SEGMENT];
0059   float xSlSL3[MAX_SEGMENT];
0060   float dxdzSlSL3[MAX_SEGMENT];
0061   float exSlSL3[MAX_SEGMENT];
0062   float edxdzSlSL3[MAX_SEGMENT];
0063   float exdxdzSlSL3[MAX_SEGMENT];
0064   float xSL3SL1[MAX_SEGMENT];
0065   float xc[MAX_SEGMENT][MAX_HIT_CHAM];
0066   float yc[MAX_SEGMENT][MAX_HIT_CHAM];
0067   float zc[MAX_SEGMENT][MAX_HIT_CHAM];
0068   float ex[MAX_SEGMENT][MAX_HIT_CHAM];
0069   float xcp[MAX_SEGMENT][MAX_HIT_CHAM];
0070   float ycp[MAX_SEGMENT][MAX_HIT_CHAM];
0071   float excp[MAX_SEGMENT][MAX_HIT_CHAM];
0072   float eycp[MAX_SEGMENT][MAX_HIT_CHAM];
0073   int wh[MAX_SEGMENT];
0074   int st[MAX_SEGMENT];
0075   int sr[MAX_SEGMENT];
0076   int sl[MAX_SEGMENT][MAX_HIT_CHAM];
0077   int la[MAX_SEGMENT][MAX_HIT_CHAM];
0078   //---------------------------------------------------------------
0079 
0080 private:
0081 };
0082 
0083 #endif