- Timestamp:
- 09/17/04 14:51:02 (20 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/StarResponse/MStarLight.cxx
r5082 r5099 1 1 #include "MStarLight.hxx" 2 3 using namespace std; 2 4 3 5 MStarLight::MStarLight() { -
trunk/MagicSoft/Simulation/Detector/StarResponse/MStarLight.hxx
r5082 r5099 8 8 #include "TH1.h" 9 9 #include "TFile.h" 10 #include "iostream.h"11 #include "fstream.h"10 #include <iostream> 11 #include <fstream> 12 12 #include "stdlib.h" 13 13 #include "TRandom2.h" -
trunk/MagicSoft/Simulation/Detector/StarResponse/Makefile
r5082 r5099 19 19 # 20 20 # $RCSfile: Makefile,v $ 21 # $Revision: 1. 6$21 # $Revision: 1.7 $ 22 22 # $Author: moralejo $ 23 # $Date: 2004-09-1 6 16:20:13$23 # $Date: 2004-09-17 13:51:01 $ 24 24 # 25 25 ################################################################## … … 40 40 -I${INCLUDE_COR} \ 41 41 -I${INCLUDE_MC} \ 42 -I${INCLUDE_EVITA} \43 -I${INCLUDE_EVITA_MC} \44 -I${INCLUDE_EVITA_RAW} \45 -I${INCLUDE_EVITA_BASE} \46 -I${INCLUDE_MARS_MGEOM} \47 42 -I${INCLUDE_TRIGGER} \ 48 43 -I${INCLUDE_FADC} \ 49 44 -I${INCLUDE_ROOT} \ 50 -I${INCLUDE_CPLUS} 45 -I${INCLUDE_CPLUS} \ 46 -I${INCLUDE_MARS_MBASE} \ 47 -I${INCLUDE_MARS_MGEOM} \ 48 -I${INCLUDE_MARS_MGUI} \ 49 -I${INCLUDE_MARS_MC} \ 50 -I${INCLUDE_MARS_MRAW} 51 51 52 52 53 RANLIB = -L${RANLIBDIR} -lranlib … … 58 59 59 60 osf_FORLIBS = -lUfor -lfor -lutil -lots -lm 60 #linux_FORLIBS = -lf2c -lm /usr/lib/libc.a61 61 linux_FORLIBS = -lm -ldl 62 #linux_FORLIBS = -lm -ldl -rdynamic63 62 generic_FORLIBS = -lm 63 64 MARSLIBS = ../../../Mars/libmars.so 64 65 65 66 FORLIBS = ${${SYSTEM}_FORLIBS} … … 70 71 CFLAGS = ${CXXFLAGS} 71 72 FFLAGS = ${CXXFLAGS} 72 LIBS = ${RANLIB} ${ROOTLIBS} ${ROOTGLIBS} ${GLIBS} 73 LIBS = ${RANLIB} ${ROOTLIBS} ${ROOTGLIBS} ${GLIBS} ${MARSLIBS} 73 74 74 75 # -
trunk/MagicSoft/Simulation/Detector/StarResponse/config.mk.Linux
r2432 r5099 18 18 #--------------------------------------------------------------- 19 19 # $RCSfile: config.mk.Linux,v $ 20 # $Revision: 1. 2$21 # $Author: blanch$22 # $Date: 200 3-10-26 20:07:10$20 # $Revision: 1.3 $ 21 # $Author: moralejo $ 22 # $Date: 2004-09-17 13:51:01 $ 23 23 ################################################################## 24 24 # @maintitle … … 41 41 INCLUDE_TRIGGER = ../include-MTrigger 42 42 INCLUDE_FADC = ../include-MFadc 43 INCLUDE_EVITA = ../../../include-Classes44 INCLUDE_EVITA_MC = ../../../include-Classes/MMcFormat45 INCLUDE_EVITA_RAW = ../../../include-Classes/MRawFormat46 INCLUDE_EVITA_BASE = ../../../include-Classes/MBase47 INCLUDE_REFL = ../Reflector48 43 INCLUDE_ROOT = ${ROOTSYS}/include 49 44 INCLUDE_CPLUS = /usr/include/g++ 45 46 INCLUDE_MARS_MBASE = ../../../Mars/mbase 47 INCLUDE_MARS_MGEOM = ../../../Mars/mgeom 48 INCLUDE_MARS_MGUI = ../../../Mars/mgui 49 INCLUDE_MARS_MC = ../../../Mars/mmc 50 INCLUDE_MARS_MRAW = ../../../Mars/mraw 50 51 51 52 # all the stuff for ROOT … … 54 55 ROOTLIBS = `root-config --libs` 55 56 56 # -L/cern/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -rdynamic57 58 57 ROOTGLIBS = `root-config --glibs` 59 60 # -L/cern/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -lm -ldl -rdynamic61 58 62 59 GLIBS = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib \ … … 66 63 # compiler options 67 64 68 #OPTIM = -O2 -ieee69 65 OPTIM = -O2 -Wall -fPIC 70 66 DEBUG = -g … … 73 69 74 70 RANLIBDIR = ../lib 75 CERNDIR = /cern76 71 77 72 # system -
trunk/MagicSoft/Simulation/Detector/StarResponse/config.mk.linux
r5082 r5099 18 18 #--------------------------------------------------------------- 19 19 # $RCSfile: config.mk.linux,v $ 20 # $Revision: 1. 3$20 # $Revision: 1.4 $ 21 21 # $Author: moralejo $ 22 # $Date: 2004-09-1 6 16:20:13$22 # $Date: 2004-09-17 13:51:01 $ 23 23 ################################################################## 24 24 # @maintitle … … 41 41 INCLUDE_TRIGGER = ../include-MTrigger 42 42 INCLUDE_FADC = ../include-MFadc 43 INCLUDE_EVITA = ../../../include-Classes44 INCLUDE_EVITA_MC = ../../../include-Classes/MMcFormat45 INCLUDE_EVITA_RAW = ../../../include-Classes/MRawFormat46 INCLUDE_EVITA_BASE = ../../../include-Classes/MBase47 INCLUDE_MARS_MGEOM = ../../../include-Classes/mgeom48 INCLUDE_REFL = ../Reflector49 43 INCLUDE_ROOT = ${ROOTSYS}/include 50 44 INCLUDE_CPLUS = /usr/include/g++ 45 46 INCLUDE_MARS_MBASE = ../../../Mars/mbase 47 INCLUDE_MARS_MGEOM = ../../../Mars/mgeom 48 INCLUDE_MARS_MGUI = ../../../Mars/mgui 49 INCLUDE_MARS_MC = ../../../Mars/mmc 50 INCLUDE_MARS_MRAW = ../../../Mars/mraw 51 51 52 52 # all the stuff for ROOT … … 55 55 ROOTLIBS = `root-config --libs` 56 56 57 # -L/cern/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -rdynamic58 59 57 ROOTGLIBS = `root-config --glibs` 60 61 # -L/cern/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -lm -ldl -rdynamic62 58 63 59 GLIBS = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib \ … … 67 63 # compiler options 68 64 69 #OPTIM = -O2 -ieee 70 OPTIM = -O2 -Wall -fPIC -Wno-deprecated 65 OPTIM = -O2 -Wall -fPIC 71 66 DEBUG = -g 72 67 … … 74 69 75 70 RANLIBDIR = ../lib 76 CERNDIR = /cern77 71 78 72 # system -
trunk/MagicSoft/Simulation/Detector/StarResponse/config.mk.linux-gnu
r2432 r5099 18 18 #--------------------------------------------------------------- 19 19 # $RCSfile: config.mk.linux-gnu,v $ 20 # $Revision: 1. 2$21 # $Author: blanch$22 # $Date: 200 3-10-26 20:10:41 $20 # $Revision: 1.3 $ 21 # $Author: moralejo $ 22 # $Date: 2004-09-17 13:51:01 $ 23 23 ################################################################## 24 24 # @maintitle … … 41 41 INCLUDE_TRIGGER = ../include-MTrigger 42 42 INCLUDE_FADC = ../include-MFadc 43 INCLUDE_EVITA = ../../../include-Classes44 INCLUDE_EVITA_MC = ../../../include-Classes/MMcFormat45 INCLUDE_EVITA_RAW = ../../../include-Classes/MRawFormat46 INCLUDE_EVITA_BASE = ../../../include-Classes/MBase47 INCLUDE_REFL = ../Reflector48 43 INCLUDE_ROOT = ${ROOTSYS}/include 49 44 INCLUDE_CPLUS = /usr/include/g++ 45 46 INCLUDE_MARS_MBASE = ../../../Mars/mbase 47 INCLUDE_MARS_MGEOM = ../../../Mars/mgeom 48 INCLUDE_MARS_MGUI = ../../../Mars/mgui 49 INCLUDE_MARS_MC = ../../../Mars/mmc 50 INCLUDE_MARS_MRAW = ../../../Mars/mraw 50 51 51 52 # all the stuff for ROOT … … 54 55 ROOTLIBS = `root-config --libs` 55 56 56 # -L/cern/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -rdynamic57 58 57 ROOTGLIBS = `root-config --glibs` 59 60 # -L/cern/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -lm -ldl -rdynamic61 58 62 59 GLIBS = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib \ … … 66 63 # compiler options 67 64 68 #OPTIM = -O2 -ieee69 65 OPTIM = -O2 -Wall -fPIC 70 66 DEBUG = -g … … 73 69 74 70 RANLIBDIR = ../lib 75 CERNDIR = /cern76 71 77 72 # system -
trunk/MagicSoft/Simulation/Detector/StarResponse/config.mk.osf1
r2432 r5099 18 18 #--------------------------------------------------------------- 19 19 # $RCSfile: config.mk.osf1,v $ 20 # $Revision: 1. 3$21 # $Author: blanch$22 # $Date: 200 3-10-26 20:12:30$20 # $Revision: 1.4 $ 21 # $Author: moralejo $ 22 # $Date: 2004-09-17 13:51:01 $ 23 23 ################################################################## 24 24 # @maintitle … … 41 41 INCLUDE_TRIGGER = ../include-MTrigger 42 42 INCLUDE_FADC = ../include-MFadc 43 INCLUDE_EVITA = ../../../include-Classes44 INCLUDE_EVITA_MC = ../../../include-Classes/MMcFormat45 INCLUDE_EVITA_RAW = ../../../include-Classes/MRawFormat46 INCLUDE_EVITA_BASE = ../../../include-Classes/MBase47 INCLUDE_REFL = ../Reflector48 43 INCLUDE_ROOT = ${ROOTSYS}/include 49 44 INCLUDE_CPLUS = /usr/include/cxx 50 45 51 OPTIM = -ieee -arch host 52 #OPTIM = -O2 -Wall -fPIC 53 DEBUG = -g 46 INCLUDE_MARS_MBASE = ../../../Mars/mbase 47 INCLUDE_MARS_MGEOM = ../../../Mars/mgeom 48 INCLUDE_MARS_MGUI = ../../../Mars/mgui 49 INCLUDE_MARS_MC = ../../../Mars/mmc 50 INCLUDE_MARS_MRAW = ../../../Mars/mraw 54 51 55 # libraries 52 # all the stuff for ROOT 53 56 54 57 55 ROOTLIBS = `root-config --libs` 58 56 59 # -L/CERN/root/lib -lNew -lCore -lCint -lHist \60 # -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript \61 # -lMatrix -lPhysics -lm62 63 57 ROOTGLIBS = `root-config --glibs` 64 65 # -L/CERN/root/lib -lNew -lCore -lCint -lHist \66 # -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript \67 # -lMatrix -lPhysics -lGui -lm68 58 69 59 GLIBS = $(ROOTLIBS) $(ROOTGLIBS) … … 71 61 72 62 63 # compiler options 64 65 OPTIM = -ieee -arch host 66 DEBUG = -g 67 68 # libraries 69 70 73 71 RANLIBDIR = ../lib 74 CERNDIR = /cern75 72 76 73 # system -
trunk/MagicSoft/Simulation/Detector/StarResponse/srreadparam.cxx
r5082 r5099 19 19 //= 20 20 //= $RCSfile: srreadparam.cxx,v $ 21 //= $Revision: 1. 4$21 //= $Revision: 1.5 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-09-1 6 16:20:13$23 //= $Date: 2004-09-17 13:51:02 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 52 52 53 53 //!@{ 54 55 using namespace std; 54 56 55 57 #include "srreadparam.h" … … 304 306 // 305 307 // $Log: not supported by cvs2svn $ 308 // Revision 1.4 2004/09/16 16:20:13 moralejo 309 // *** empty log message *** 310 // 306 311 // Revision 1.3 2004/01/30 10:34:59 blanch 307 312 // Change in variables name to clarify the meaning. -
trunk/MagicSoft/Simulation/Detector/StarResponse/srreadparam.h
r5082 r5099 19 19 //= 20 20 //= $RCSfile: srreadparam.h,v $ 21 //= $Revision: 1. 3$21 //= $Revision: 1.4 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-09-1 6 16:20:13$23 //= $Date: 2004-09-17 13:51:02 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 61 61 //!@{ 62 62 63 #include <iostream .h>64 #include <fstream .h>63 #include <iostream> 64 #include <fstream> 65 65 #include <stdlib.h> 66 66 #include <stdio.h> 67 #include <string .h>67 #include <string> 68 68 #include <math.h> 69 69 #include <float.h> … … 145 145 /* 146 146 * $Log: not supported by cvs2svn $ 147 * Revision 1.3 2004/09/16 16:20:13 moralejo 148 * *** empty log message *** 149 * 147 150 * Revision 1.2 2001/03/05 11:02:10 blanch 148 151 * Header file for srreadparam.cxx 1.2 -
trunk/MagicSoft/Simulation/Detector/StarResponse/starresponse.cxx
r5082 r5099 7 7 #include "MTrigger.hxx" 8 8 #include "MFadc.hxx" 9 10 using namespace std; 9 11 10 12 Int_t BuildStarLight( Float_t brightness, char *path, MTrigger *trigger, MFadc *fadc ) -
trunk/MagicSoft/Simulation/Detector/StarResponse/starresponse.hxx
r632 r5099 3 3 // 4 4 5 #include <iostream .h>5 #include <iostream> 6 6 7 7 #include "srreadparam.h" -
trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.cxx
r5079 r5099 17 17 18 18 #include "MGFadcSignal.hxx" 19 20 using namespace std; 19 21 20 22 MFadc::MFadc(Int_t pix, Int_t shape, Float_t integral, Float_t fwhm, Int_t shapeout, Float_t integralout, Float_t fwhmout, Float_t trigger_delay) { -
trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx
r5079 r5099 11 11 // 12 12 // 13 #include <s tream.h>13 #include <sstream> 14 14 #include <math.h> 15 15 -
trunk/MagicSoft/Simulation/Detector/include-MFadc/MGFadcSignal.hxx
r579 r5099 4 4 5 5 #include <stdlib.h> 6 #include <iostream .h>6 #include <iostream> 7 7 8 8 #include <TROOT.h> -
trunk/MagicSoft/Simulation/Detector/include-MTrigger/MGTriggerSignal.hxx
r579 r5099 4 4 5 5 #include <stdlib.h> 6 #include <iostream .h>6 #include <iostream> 7 7 8 8 #include <TROOT.h> -
trunk/MagicSoft/Simulation/Detector/include-MTrigger/MTrigger.cxx
r5082 r5099 13 13 #include "MGeomCam.h" 14 14 #include "MGeomPix.h" 15 16 using namespace std; 15 17 16 18 MTrigger::MTrigger(int pix) { … … 1266 1268 ii=(Int_t)i/8; 1267 1269 if (dknt[i]==kTRUE){ 1268 map[ii]=map[ii]+(Int_t)pow( 2,i-ii*8);1270 map[ii]=map[ii]+(Int_t)pow((double)2, (double)i-ii*8); 1269 1271 } 1270 1272 } -
trunk/MagicSoft/Simulation/Detector/include-MTrigger/MTrigger.hxx
r5082 r5099 15 15 // 16 16 // 17 #include <iostream .h>17 #include <iostream> 18 18 #include <math.h> 19 19
Note:
See TracChangeset
for help on using the changeset viewer.