From 892662e44eb4e9ecf7d7f1c0466747f0eae92dfc Mon Sep 17 00:00:00 2001 From: Mickey Chiu Date: Fri, 9 Jun 2017 18:19:11 -0400 Subject: [PATCH 01/10] Macros with new psTOF added --- macros/g4simulations/Fun4All_G4_sPHENIX.C | 7 ++-- macros/g4simulations/G4Setup_sPHENIX.C | 13 ++++++++ macros/g4simulations/G4_DSTReader.C | 6 ++++ macros/g4simulations/G4_PSTOF.C | 40 +++++++++++++++++++++++ 4 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 macros/g4simulations/G4_PSTOF.C diff --git a/macros/g4simulations/Fun4All_G4_sPHENIX.C b/macros/g4simulations/Fun4All_G4_sPHENIX.C index 507e7315d..88fb9390e 100644 --- a/macros/g4simulations/Fun4All_G4_sPHENIX.C +++ b/macros/g4simulations/Fun4All_G4_sPHENIX.C @@ -47,6 +47,8 @@ int Fun4All_G4_sPHENIX( bool do_svtx_track = do_svtx_cell && true; bool do_svtx_eval = do_svtx_track && true; + bool do_pstof = false; + bool do_preshower = false; bool do_cemc = true; @@ -95,7 +97,7 @@ int Fun4All_G4_sPHENIX( // establish the geometry and reconstruction setup gROOT->LoadMacro("G4Setup_sPHENIX.C"); - G4Init(do_svtx,do_preshower,do_cemc,do_hcalin,do_magnet,do_hcalout,do_pipe); + G4Init(do_svtx,do_pstof,do_preshower,do_cemc,do_hcalin,do_magnet,do_hcalout,do_pipe); int absorberactive = 1; // set to 1 to make all absorbers active volumes // const string magfield = "1.5"; // if like float -> solenoidal field in T, if string use as fieldmap name (including path) @@ -232,7 +234,7 @@ int Fun4All_G4_sPHENIX( //--------------------- G4Setup(absorberactive, magfield, TPythia6Decayer::kAll, - do_svtx, do_preshower, do_cemc, do_hcalin, do_magnet, do_hcalout, do_pipe, magfield_rescale); + do_svtx, do_pstof, do_preshower, do_cemc, do_hcalin, do_magnet, do_hcalout, do_pipe, magfield_rescale); } //--------- @@ -377,6 +379,7 @@ int Fun4All_G4_sPHENIX( G4DSTreader( outputFile, // /*int*/ absorberactive , /*bool*/ do_svtx , + /*bool*/ do_pstof , /*bool*/ do_preshower , /*bool*/ do_cemc , /*bool*/ do_hcalin , diff --git a/macros/g4simulations/G4Setup_sPHENIX.C b/macros/g4simulations/G4Setup_sPHENIX.C index 85ecb4a94..bb5530af3 100644 --- a/macros/g4simulations/G4Setup_sPHENIX.C +++ b/macros/g4simulations/G4Setup_sPHENIX.C @@ -3,6 +3,7 @@ double no_overlapp = 0.0001; // added to radii to avoid overlapping volumes bool overlapcheck = false; // set to true if you want to check for overlaps void G4Init(bool do_svtx = true, + bool do_pstof = true, bool do_preshower = false, bool do_cemc = true, bool do_hcalin = true, @@ -24,6 +25,12 @@ void G4Init(bool do_svtx = true, SvtxInit(); } + if (do_pstof) + { + gROOT->LoadMacro("G4_PSTOF.C"); + PSTOFInit(); + } + if (do_preshower) { gROOT->LoadMacro("G4_PreShower.C"); @@ -60,6 +67,7 @@ int G4Setup(const int absorberactive = 0, const string &field ="1.5", const EDecayType decayType = TPythia6Decayer::kAll, const bool do_svtx = true, + const bool do_pstof = true, const bool do_preshower = false, const bool do_cemc = true, const bool do_hcalin = true, @@ -115,6 +123,11 @@ int G4Setup(const int absorberactive = 0, // SVTX if (do_svtx) radius = Svtx(g4Reco, radius, absorberactive); + //---------------------------------------- + // PSTOF + + if (do_pstof) radius = PSTOF(g4Reco, radius, absorberactive); + //---------------------------------------- // PRESHOWER diff --git a/macros/g4simulations/G4_DSTReader.C b/macros/g4simulations/G4_DSTReader.C index c7bc5500d..ae7adff10 100644 --- a/macros/g4simulations/G4_DSTReader.C +++ b/macros/g4simulations/G4_DSTReader.C @@ -14,6 +14,7 @@ void G4DSTreader( const char * outputFile = "G4sPHENIXCells.root",// int absorberactive = 1, // bool do_svtx = true, // + bool do_pstof = true, // bool do_preshower = false, // bool do_cemc = true, // bool do_hcalin = true, // @@ -52,6 +53,11 @@ G4DSTreader( const char * outputFile = "G4sPHENIXCells.root",// ana->AddNode("SVTX"); } + if (do_pstof) + { + ana->AddNode("PSTOF_0"); + } + if (do_cemc) { ana->AddNode("CEMC"); diff --git a/macros/g4simulations/G4_PSTOF.C b/macros/g4simulations/G4_PSTOF.C new file mode 100644 index 000000000..0d2e303be --- /dev/null +++ b/macros/g4simulations/G4_PSTOF.C @@ -0,0 +1,40 @@ +// $Id$ + +/*! + * \file ${file_name} + * \brief Macro setting up the barrel mRPC psTOF + * \author Mickey Chiu + * \version $Revision$ + * \date $Date$ + */ + +#include + +void PSTOFInit() +{ + std::cout << "In PSTOFInit()" << std::endl; +} + +double PSTOF(PHG4Reco* g4Reco, double radius, const int absorberactive = 0) +{ + std::cout << "In PSTOF" << std::endl; + + gSystem->Load("libg4detectors.so"); + gSystem->Load("libg4testbench.so"); + + /* + const double psTOF_R = 85.0; + const double length = 2*74.0; + const double z_start = 0.5*length; + const double z_end = -0.5*length; + */ + + PHG4PSTOFSubsystem *pstof = new PHG4PSTOFSubsystem( "PSTOF" ); + pstof->set_int_param("active",1); + pstof->set_int_param("use_g4steps",0); + //pstof->OverlapCheck( overlapcheck ); + + g4Reco->registerSubsystem( pstof ); + + return 90.; // returns the radius?? +} From 2c7027a049cae344e35267926f5fe382ed0ed3ae Mon Sep 17 00:00:00 2001 From: Chris Pinkenburg Date: Thu, 27 Jul 2017 10:24:25 -0400 Subject: [PATCH 02/10] replace preshower by pstof --- macros/g4simulations/G4Setup_sPHENIX.C | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/macros/g4simulations/G4Setup_sPHENIX.C b/macros/g4simulations/G4Setup_sPHENIX.C index 53016d1ca..2bd56db20 100644 --- a/macros/g4simulations/G4Setup_sPHENIX.C +++ b/macros/g4simulations/G4Setup_sPHENIX.C @@ -4,7 +4,6 @@ bool overlapcheck = false; // set to true if you want to check for overlaps void G4Init(bool do_svtx = true, bool do_pstof = true, - bool do_preshower = false, bool do_cemc = true, bool do_hcalin = true, bool do_magnet = true, @@ -32,12 +31,6 @@ void G4Init(bool do_svtx = true, PSTOFInit(); } - if (do_preshower) - { - gROOT->LoadMacro("G4_PreShower.C"); - PreShowerInit(); - } - if (do_cemc) { gROOT->LoadMacro("G4_CEmc_Spacal.C"); @@ -69,7 +62,6 @@ int G4Setup(const int absorberactive = 0, const EDecayType decayType = TPythia6Decayer::kAll, const bool do_svtx = true, const bool do_pstof = true, - const bool do_preshower = false, const bool do_cemc = true, const bool do_hcalin = true, const bool do_magnet = true, @@ -129,11 +121,6 @@ int G4Setup(const int absorberactive = 0, if (do_pstof) radius = PSTOF(g4Reco, radius, absorberactive); - //---------------------------------------- - // PRESHOWER - - if (do_preshower) radius = PreShower(g4Reco, radius, absorberactive); - //---------------------------------------- // CEMC // From ec296e64bf4908e96a54b60fc7a297f1142e1761 Mon Sep 17 00:00:00 2001 From: Chris Pinkenburg Date: Thu, 27 Jul 2017 13:14:44 -0400 Subject: [PATCH 03/10] comment our bad parameter setting --- macros/g4simulations/G4_PSTOF.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros/g4simulations/G4_PSTOF.C b/macros/g4simulations/G4_PSTOF.C index 0d2e303be..f9900a1b6 100644 --- a/macros/g4simulations/G4_PSTOF.C +++ b/macros/g4simulations/G4_PSTOF.C @@ -30,8 +30,8 @@ double PSTOF(PHG4Reco* g4Reco, double radius, const int absorberactive = 0) */ PHG4PSTOFSubsystem *pstof = new PHG4PSTOFSubsystem( "PSTOF" ); - pstof->set_int_param("active",1); - pstof->set_int_param("use_g4steps",0); + // pstof->set_int_param("active",1); + // pstof->set_int_param("use_g4steps",0); //pstof->OverlapCheck( overlapcheck ); g4Reco->registerSubsystem( pstof ); From a39ab260293566966090ed0918a7d3e8d1162435 Mon Sep 17 00:00:00 2001 From: Chris Pinkenburg Date: Thu, 3 Aug 2017 16:29:29 -0400 Subject: [PATCH 04/10] fix PSTOF macro --- macros/g4simulations/G4_PSTOF.C | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/macros/g4simulations/G4_PSTOF.C b/macros/g4simulations/G4_PSTOF.C index f9900a1b6..d7f9acd06 100644 --- a/macros/g4simulations/G4_PSTOF.C +++ b/macros/g4simulations/G4_PSTOF.C @@ -8,33 +8,20 @@ * \date $Date$ */ -#include - void PSTOFInit() -{ - std::cout << "In PSTOFInit()" << std::endl; -} +{} double PSTOF(PHG4Reco* g4Reco, double radius, const int absorberactive = 0) { - std::cout << "In PSTOF" << std::endl; - gSystem->Load("libg4detectors.so"); gSystem->Load("libg4testbench.so"); - /* - const double psTOF_R = 85.0; - const double length = 2*74.0; - const double z_start = 0.5*length; - const double z_end = -0.5*length; - */ PHG4PSTOFSubsystem *pstof = new PHG4PSTOFSubsystem( "PSTOF" ); - // pstof->set_int_param("active",1); - // pstof->set_int_param("use_g4steps",0); - //pstof->OverlapCheck( overlapcheck ); - + pstof->SuperDetector("PSTOF"); +// pstof->SetActive(-1,1); // set all modules active g4Reco->registerSubsystem( pstof ); - return 90.; // returns the radius?? +// returns the outer radius to check for overlaps with next detector + return 90.; } From 909cecd69b3a4ee96dd75cbf7ee6cda931ed716f Mon Sep 17 00:00:00 2001 From: Chris Pinkenburg Date: Thu, 3 Aug 2017 16:34:22 -0400 Subject: [PATCH 05/10] include pstof, remove preshower --- macros/g4simulations/Fun4All_G4_sPHENIX.C | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/macros/g4simulations/Fun4All_G4_sPHENIX.C b/macros/g4simulations/Fun4All_G4_sPHENIX.C index 0ffa4efb8..e26e87342 100644 --- a/macros/g4simulations/Fun4All_G4_sPHENIX.C +++ b/macros/g4simulations/Fun4All_G4_sPHENIX.C @@ -55,10 +55,7 @@ int Fun4All_G4_sPHENIX( bool do_svtx_track = do_svtx_cell && true; bool do_svtx_eval = do_svtx_track && true; - bool do_pstof = false; - - bool do_preshower = false; - + bool do_pstof = true; bool do_cemc = true; bool do_cemc_cell = do_cemc && true; @@ -292,7 +289,7 @@ int Fun4All_G4_sPHENIX( //--------------------- G4Setup(absorberactive, magfield, TPythia6Decayer::kAll, - do_svtx, do_pstof, do_preshower, do_cemc, do_hcalin, do_magnet, do_hcalout, do_pipe, magfield_rescale); + do_svtx, do_pstof, do_cemc, do_hcalin, do_magnet, do_hcalout, do_pipe, magfield_rescale); } //--------- @@ -444,7 +441,6 @@ int Fun4All_G4_sPHENIX( /*int*/ absorberactive , /*bool*/ do_svtx , /*bool*/ do_pstof , - /*bool*/ do_preshower , /*bool*/ do_cemc , /*bool*/ do_hcalin , /*bool*/ do_magnet , From 2b1842accdef4746e5393af921584d2fbbac4dd2 Mon Sep 17 00:00:00 2001 From: Chris Pinkenburg Date: Thu, 3 Aug 2017 16:38:49 -0400 Subject: [PATCH 06/10] remove preshower --- macros/g4simulations/G4_PreShower.C | 57 ----------------------------- 1 file changed, 57 deletions(-) delete mode 100644 macros/g4simulations/G4_PreShower.C diff --git a/macros/g4simulations/G4_PreShower.C b/macros/g4simulations/G4_PreShower.C deleted file mode 100644 index 413e1dfc0..000000000 --- a/macros/g4simulations/G4_PreShower.C +++ /dev/null @@ -1,57 +0,0 @@ - -int Min_preshower_layer = 1; -int Max_preshower_layer = 1; - -void PreShowerInit() -{ - Min_preshower_layer = 1; - Max_preshower_layer = 1; -} - -double -PreShower(PHG4Reco* g4Reco, double radius, const int absorberactive = 0) -{ - double preshower_inner_radius = 90.; - double radlen_w = 0.3504; // radiation length of w in cm - double tungstenwidth = 2.4*radlen_w; - - if (radius > preshower_inner_radius) { - cout << "inconsistency: svx radius+thickness: " << radius - << " larger than preshower inner radius: " << preshower_inner_radius - << endl; - gSystem->Exit(-1); - } - - radius = preshower_inner_radius; - - //--------------- - // Load libraries - //--------------- - - gSystem->Load("libg4detectors.so"); - gSystem->Load("libg4testbench.so"); - - PHG4CylinderSubsystem *cyl; - - cyl = new PHG4CylinderSubsystem("ABSORBER_PRESHOWER", 1); - cyl->SetRadius(radius); - cyl->SetMaterial("G4_W"); - cyl->SetThickness(tungstenwidth); - cyl->SuperDetector("ABSORBER_PRESHOWER"); - if (absorberactive) cyl->SetActive(); - g4Reco->registerSubsystem( cyl ); - radius += tungstenwidth; - radius += no_overlapp; - - cyl = new PHG4CylinderSubsystem("PRESHOWER", 1); - cyl->SetRadius(radius); - cyl->SetMaterial("G4_Si"); - cyl->SetThickness(0.0625); - cyl->SetActive(); - cyl->SuperDetector("PRESHOWER"); - g4Reco->registerSubsystem( cyl ); - radius += 0.0625; - radius += no_overlapp; - - return radius; -} From 079be215718b474a8d0a991c57e8c4b0e8b2f23c Mon Sep 17 00:00:00 2001 From: Chris Pinkenburg Date: Thu, 3 Aug 2017 16:39:01 -0400 Subject: [PATCH 07/10] remove preshower --- macros/g4simulations/Fun4All_G4_EICDetector.C | 7 ++----- macros/g4simulations/Fun4All_G4_fsPHENIX.C | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/macros/g4simulations/Fun4All_G4_EICDetector.C b/macros/g4simulations/Fun4All_G4_EICDetector.C index d19078c75..5549e152f 100644 --- a/macros/g4simulations/Fun4All_G4_EICDetector.C +++ b/macros/g4simulations/Fun4All_G4_EICDetector.C @@ -37,8 +37,6 @@ int Fun4All_G4_EICDetector( bool do_svtx_track = do_svtx_cell && true; bool do_svtx_eval = do_svtx_track && true; - bool do_preshower = false; - bool do_cemc = true; bool do_cemc_cell = do_cemc && true; bool do_cemc_twr = do_cemc_cell && true; @@ -119,7 +117,7 @@ int Fun4All_G4_EICDetector( // establish the geometry and reconstruction setup gROOT->LoadMacro("G4Setup_EICDetector.C"); - G4Init(do_svtx,do_preshower,do_cemc,do_hcalin,do_magnet,do_hcalout,do_pipe,do_FGEM,do_EGEM,do_FEMC,do_FHCAL,do_EEMC,do_DIRC,do_RICH,do_Aerogel,n_TPC_layers); + G4Init(do_svtx,do_cemc,do_hcalin,do_magnet,do_hcalout,do_pipe,do_FGEM,do_EGEM,do_FEMC,do_FHCAL,do_EEMC,do_DIRC,do_RICH,do_Aerogel,n_TPC_layers); int absorberactive = 0; // set to 1 to make all absorbers active volumes // const string magfield = "1.5"; // if like float -> solenoidal field in T, if string use as fieldmap name (including path) @@ -219,7 +217,7 @@ int Fun4All_G4_EICDetector( // Detector description //--------------------- - G4Setup(absorberactive, magfield, TPythia6Decayer::kAll,do_svtx,do_preshower,do_cemc,do_hcalin,do_magnet,do_hcalout,do_pipe,do_FGEM,do_EGEM,do_FEMC,do_FHCAL,do_EEMC,do_DIRC,do_RICH,do_Aerogel,magfield_rescale); + G4Setup(absorberactive, magfield, TPythia6Decayer::kAll,do_svtx,do_cemc,do_hcalin,do_magnet,do_hcalout,do_pipe,do_FGEM,do_EGEM,do_FEMC,do_FHCAL,do_EEMC,do_DIRC,do_RICH,do_Aerogel,magfield_rescale); } @@ -369,7 +367,6 @@ int Fun4All_G4_EICDetector( G4DSTreader_EICDetector( outputFile, // /*int*/ absorberactive , /*bool*/ do_svtx , - /*bool*/ do_preshower , /*bool*/ do_cemc , /*bool*/ do_hcalin , /*bool*/ do_magnet , diff --git a/macros/g4simulations/Fun4All_G4_fsPHENIX.C b/macros/g4simulations/Fun4All_G4_fsPHENIX.C index 699f68f15..3d21e0d72 100644 --- a/macros/g4simulations/Fun4All_G4_fsPHENIX.C +++ b/macros/g4simulations/Fun4All_G4_fsPHENIX.C @@ -44,8 +44,6 @@ int Fun4All_G4_fsPHENIX( bool do_svtx_track = do_svtx_cell && true; bool do_svtx_eval = do_svtx_track && false; - bool do_preshower = false; - bool do_cemc = true; bool do_cemc_cell = do_cemc && true; bool do_cemc_twr = do_cemc_cell && true; @@ -108,7 +106,7 @@ int Fun4All_G4_fsPHENIX( // establish the geometry and reconstruction setup gROOT->LoadMacro("G4Setup_fsPHENIX.C"); - G4Init(do_svtx,do_preshower,do_cemc,do_hcalin,do_magnet,do_hcalout,do_pipe,do_FGEM,do_FEMC,do_FHCAL,n_TPC_layers); + G4Init(do_svtx,do_cemc,do_hcalin,do_magnet,do_hcalout,do_pipe,do_FGEM,do_FEMC,do_FHCAL,n_TPC_layers); int absorberactive = 0; // set to 1 to make all absorbers active volumes // const string magfield = "1.5"; // if like float -> solenoidal field in T, if string use as fieldmap name (including path) @@ -214,7 +212,7 @@ int Fun4All_G4_fsPHENIX( //--------------------- G4Setup(absorberactive, magfield, TPythia6Decayer::kAll, - do_svtx, do_preshower, do_cemc, do_hcalin, do_magnet, do_hcalout, do_pipe, + do_svtx, do_cemc, do_hcalin, do_magnet, do_hcalout, do_pipe, do_FGEM, do_FEMC, do_FHCAL, magfield_rescale); @@ -376,7 +374,6 @@ int Fun4All_G4_fsPHENIX( G4DSTreader_fsPHENIX( outputFile, // /*int*/ absorberactive , /*bool*/ do_svtx , - /*bool*/ do_preshower , /*bool*/ do_cemc , /*bool*/ do_hcalin , /*bool*/ do_magnet , From b3798ca0c095b3b54936c1d7fed0d40115b50558 Mon Sep 17 00:00:00 2001 From: Chris Pinkenburg Date: Thu, 3 Aug 2017 16:48:59 -0400 Subject: [PATCH 08/10] remove preshower --- macros/g4simulations/G4Setup_EICDetector.C | 13 ------------- macros/g4simulations/G4Setup_fsPHENIX.C | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/macros/g4simulations/G4Setup_EICDetector.C b/macros/g4simulations/G4Setup_EICDetector.C index 19c07c220..e6453f717 100644 --- a/macros/g4simulations/G4Setup_EICDetector.C +++ b/macros/g4simulations/G4Setup_EICDetector.C @@ -3,7 +3,6 @@ double no_overlapp = 0.0001; // added to radii to avoid overlapping volumes bool overlapcheck = false; // set to true if you want to check for overlaps void G4Init(bool do_svtx = true, - bool do_preshower = false, bool do_cemc = true, bool do_hcalin = true, bool do_magnet = true, @@ -33,12 +32,6 @@ void G4Init(bool do_svtx = true, SvtxInit(n_TPC_layers); } - if (do_preshower) - { - gROOT->LoadMacro("G4_PreShower.C"); - PreShowerInit(); - } - if (do_cemc) { gROOT->LoadMacro("G4_CEmc_Spacal.C"); @@ -118,7 +111,6 @@ int G4Setup(const int absorberactive = 0, const string &field ="1.5", const EDecayType decayType = TPythia6Decayer::kAll, const bool do_svtx = true, - const bool do_preshower = false, const bool do_cemc = true, const bool do_hcalin = true, const bool do_magnet = true, @@ -182,11 +174,6 @@ int G4Setup(const int absorberactive = 0, // SVTX if (do_svtx) radius = Svtx(g4Reco, radius, absorberactive); - //---------------------------------------- - // PRESHOWER - - if (do_preshower) radius = PreShower(g4Reco, radius, absorberactive); - //---------------------------------------- // CEMC // diff --git a/macros/g4simulations/G4Setup_fsPHENIX.C b/macros/g4simulations/G4Setup_fsPHENIX.C index b1bee4a6b..751d7286c 100644 --- a/macros/g4simulations/G4Setup_fsPHENIX.C +++ b/macros/g4simulations/G4Setup_fsPHENIX.C @@ -3,7 +3,6 @@ double no_overlapp = 0.0001; // added to radii to avoid overlapping volumes bool overlapcheck = false; // set to true if you want to check for overlaps void G4Init(bool do_svtx = true, - bool do_preshower = false, bool do_cemc = true, bool do_hcalin = true, bool do_magnet = true, @@ -27,12 +26,6 @@ void G4Init(bool do_svtx = true, SvtxInit(n_TPC_layers); } - if (do_preshower) - { - gROOT->LoadMacro("G4_PreShower.C"); - PreShowerInit(); - } - if (do_cemc) { gROOT->LoadMacro("G4_CEmc_Spacal.C"); @@ -80,7 +73,6 @@ int G4Setup(const int absorberactive = 0, const string &field ="1.5", const EDecayType decayType = TPythia6Decayer::kAll, const bool do_svtx = true, - const bool do_preshower = false, const bool do_cemc = true, const bool do_hcalin = true, const bool do_magnet = true, @@ -140,11 +132,6 @@ int G4Setup(const int absorberactive = 0, // SVTX if (do_svtx) radius = Svtx(g4Reco, radius, absorberactive); - //---------------------------------------- - // PRESHOWER - - if (do_preshower) radius = PreShower(g4Reco, radius, absorberactive); - //---------------------------------------- // CEMC // From 817768356aa76f9ee783afc5df6935ec6574fe80 Mon Sep 17 00:00:00 2001 From: Chris Pinkenburg Date: Thu, 3 Aug 2017 16:50:20 -0400 Subject: [PATCH 09/10] remove preshower --- macros/g4simulations/G4_DSTReader.C | 1 - macros/g4simulations/G4_DSTReader_EICDetector.C | 1 - macros/g4simulations/G4_DSTReader_fsPHENIX.C | 1 - 3 files changed, 3 deletions(-) diff --git a/macros/g4simulations/G4_DSTReader.C b/macros/g4simulations/G4_DSTReader.C index ae7adff10..79624588c 100644 --- a/macros/g4simulations/G4_DSTReader.C +++ b/macros/g4simulations/G4_DSTReader.C @@ -15,7 +15,6 @@ G4DSTreader( const char * outputFile = "G4sPHENIXCells.root",// int absorberactive = 1, // bool do_svtx = true, // bool do_pstof = true, // - bool do_preshower = false, // bool do_cemc = true, // bool do_hcalin = true, // bool do_magnet = true, // diff --git a/macros/g4simulations/G4_DSTReader_EICDetector.C b/macros/g4simulations/G4_DSTReader_EICDetector.C index 7ac2df43c..e8e83f3ae 100644 --- a/macros/g4simulations/G4_DSTReader_EICDetector.C +++ b/macros/g4simulations/G4_DSTReader_EICDetector.C @@ -14,7 +14,6 @@ void G4DSTreader_EICDetector( const char * outputFile = "G4sPHENIXCells.root",// int absorberactive = 1, // bool do_svtx = true, // - bool do_preshower = false, // bool do_cemc = true, // bool do_hcalin = true, // bool do_magnet = true, // diff --git a/macros/g4simulations/G4_DSTReader_fsPHENIX.C b/macros/g4simulations/G4_DSTReader_fsPHENIX.C index 9e5b0cb25..5edfc6282 100644 --- a/macros/g4simulations/G4_DSTReader_fsPHENIX.C +++ b/macros/g4simulations/G4_DSTReader_fsPHENIX.C @@ -14,7 +14,6 @@ void G4DSTreader_fsPHENIX( const char * outputFile = "G4sPHENIXCells.root",// int absorberactive = 1, // bool do_svtx = true, // - bool do_preshower = false, // bool do_cemc = true, // bool do_hcalin = true, // bool do_magnet = true, // From 30f209213b4648bf618482758c5024b4d7edc8a1 Mon Sep 17 00:00:00 2001 From: Chris Pinkenburg Date: Thu, 3 Aug 2017 16:51:40 -0400 Subject: [PATCH 10/10] remove preshower, add pstof --- macros/g4simulations/G4_CEmc_Spacal.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/g4simulations/G4_CEmc_Spacal.C b/macros/g4simulations/G4_CEmc_Spacal.C index 8945321e1..d01e3231b 100644 --- a/macros/g4simulations/G4_CEmc_Spacal.C +++ b/macros/g4simulations/G4_CEmc_Spacal.C @@ -52,7 +52,7 @@ CEmc_1DProjectiveSpacal(PHG4Reco *g4Reco, double radius, const int crossings, co if (radius > emc_inner_radius) { - cout << "inconsistency: preshower radius+thickness: " << radius + cout << "inconsistency: pstof outer radius: " << radius << " larger than emc inner radius: " << emc_inner_radius << endl; gSystem->Exit(-1);