10 gSystem->Load(
"libfun4all.so");
11 gSystem->Load(
"libg4detectors.so");
14 PHG4ForwardCalCellReco *hc =
new PHG4ForwardCalCellReco(
"EEMCCellReco");
25 gSystem->Load(
"libg4detectors.so");
28 PHG4CrystalCalorimeterSubsystem *
eemc =
new PHG4CrystalCalorimeterSubsystem(
"EEMC");
31 ostringstream mapping_eemc;
34 mapping_eemc << getenv(
"CALIBRATIONROOT") <<
"/CrystalCalorimeter/mapping/towerMap_EEMC_v004.txt";
35 cout << mapping_eemc.str() << endl;
37 eemc->SetTowerMappingFile( mapping_eemc.str() );
40 if (absorberactive) eemc->SetAbsorberActive();
49 gSystem->Load(
"libfun4all.so");
50 gSystem->Load(
"libg4detectors.so");
53 ostringstream mapping_eemc;
54 mapping_eemc << getenv(
"CALIBRATIONROOT") <<
55 "/CrystalCalorimeter/mapping/towerMap_EEMC_v004.txt";
68 const double EEMC_photoelectron_per_GeV = 4500;
71 TowerDigitizer_EEMC->
Detector(
"EEMC");
87 TowerCalibration_EEMC->
Detector(
"EEMC");
99 gSystem->Load(
"libfun4all.so");
100 gSystem->Load(
"libg4detectors.so");
103 RawClusterBuilderFwd* ClusterBuilder =
new RawClusterBuilderFwd(
"EEMCRawClusterBuilderFwd");
104 ClusterBuilder->Detector(
"EEMC");
113 gSystem->Load(
"libfun4all.so");
114 gSystem->Load(
"libg4eval.so");