Skip to content
Snippets Groups Projects
Commit 9ef1aa45 authored by adrien-matta's avatar adrien-matta
Browse files

* Fixing issue with tigress

parent 40936966
No related branches found
No related tags found
No related merge requests found
......@@ -98,4 +98,4 @@ void GeometricalEfficiency(const char * fname = "myResult"){
SolidACM->GetXaxis()->SetTitle("#theta_{CM} (deg)");
SolidACM->GetYaxis()->SetTitle("d#Omega (sr) ");
c4->Update();
}
......@@ -106,6 +106,7 @@ void DetectorManager::ReadConfigurationFile(string Path) {
bool TiaraBarrel = false;
bool TiaraHyball = false;
bool Trifoil = false;
bool Tigress = false;
bool W1 = false;
////////////////////////////////
bool GeneralTarget = false;
......@@ -637,6 +638,26 @@ void DetectorManager::ReadConfigurationFile(string Path) {
#endif
}
////////////////////////////////////////////
///////////// Search for Tigress ///////////
////////////////////////////////////////////
else if (LineBuffer.compare(0, 7, "Tigress") == 0 && Tigress == false) {
#ifdef INC_TIGRESS
Tigress = true;
cout << "//////// Tigress ////////" << endl << endl;
// Instantiate the new array as a VDetector Object
VDetector* myDetector = new TTigressPhysics();
// Read Position of Telescope
ConfigFile.close();
myDetector->ReadConfiguration(Path);
ConfigFile.open(Path.c_str());
// Add array to the VDetector Vector
AddDetector("Tigress", myDetector);
#endif
}
////////////////////////////////////////////
////////// Search for W1 (Micron) /////////
////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment