/[PAMELA software]/PamelaDigitizer/DigitizeTRK.cxx
ViewVC logotype

Diff of /PamelaDigitizer/DigitizeTRK.cxx

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

revision 1.1 by pamelats, Wed May 21 09:50:43 2008 UTC revision 1.3 by mocchiut, Fri Nov 20 10:20:21 2009 UTC
# Line 1  Line 1 
 #include <sstream>  
 #include <fstream>  
 #include <stdlib.h>  
 #include <stdio.h>  
 #include <string.h>  
 #include <ctype.h>  
 #include <time.h>  
 #include "Riostream.h"  
 #include "TFile.h"  
 #include "TDirectory.h"  
 #include "TTree.h"  
 #include "TLeafI.h"  
 #include "TH1.h"  
 #include "TH2.h"  
 #include "TF1.h"  
 #include "TMath.h"  
 #include "TRandom.h"  
 #include "TSQLServer.h"  
 #include "TSystem.h"  
 #include "CalibTrk1Event.h"  
 #include "CalibTrk2Event.h"  
 //  
1  #include "Digitizer.h"  #include "Digitizer.h"
 #include "CRC.h"  
 //  
 #include <PamelaRun.h>  
 #include <physics/calorimeter/CalorimeterEvent.h>  
 #include <CalibCalPedEvent.h>  
 #include "GLTables.h"  
2    
3  void Digitizer::DigitizeDummy() {  void Digitizer::DigitizeDummy() {
4    
# Line 362  TFile *FileCalib= NULL; Line 334  TFile *FileCalib= NULL;
334    
335  GL_PARAM *glparam = new GL_PARAM();  GL_PARAM *glparam = new GL_PARAM();
336  error = 0;  error = 0;
337  error = glparam->Query_GL_PARAM(0,8,fDbc);  error = glparam->Query_GL_PARAM(0,50,fDbc);
338    
339  if(error<0) {  if(error<0) {
340   FileCalib = new TFile("CalibTrk_00110_000_000.root");   FileCalib = new TFile("CalibTrk_00110_000_000.root");
# Line 371  if(error<0) { Line 343  if(error<0) {
343   //   //
344   calibfile.str("");   calibfile.str("");
345   calibfile << glparam->PATH.Data() << "/";   calibfile << glparam->PATH.Data() << "/";
346   calibfile << glparam->NAME.Data();   calibfile << glparam->NAME.Data() << "/CalibTrk_00110_000_000.root";
347   //   //
348   printf("\n Using GP calibration file for tracker : \n %s \n",calibfile.str().c_str());   printf("\n Using GP calibration file for tracker : \n %s \n",calibfile.str().c_str());
349   FileCalib = new TFile( calibfile.str().c_str() );   FileCalib = new TFile( calibfile.str().c_str() );

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23