Skip to content
Snippets Groups Projects
Commit 4286abcc authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

Adjust names given to scintillator plane sub detector.

parent 12bad784
No related branches found
No related tags found
No related merge requests found
......@@ -81,16 +81,12 @@ void THcHodoscope::Setup(const char* name, const char* description)
char* subname = new char[len+1];
fPlanes = new THcScintillatorPlane* [fNPlanes];
for(Int_t i=0;i < fNPlanes;i++) {
strcpy(subname, name);
strcat(subname, ".");
strcat(subname, fPlaneNames[i]);
strcpy(desc, description);
strcat(desc, " Hodoscope Plane ");
strcat(desc, " Plane ");
strcat(desc, fPlaneNames[i]);
fPlanes[i] = new THcScintillatorPlane(subname, desc, this);
cout << "Created Scintillator Plane " << subname << ", " << desc << endl;
fPlanes[i] = new THcScintillatorPlane(fPlaneNames[i], desc, this);
cout << "Created Scintillator Plane " << fPlaneNames[i] << ", " << desc << endl;
}
}
......
......@@ -65,7 +65,6 @@ Int_t THcScintillatorPlane::ReadDatabase( const TDatime& date )
{
// See what file it looks for
FILE* file = OpenFile( date );
static const char* const here = "ReadDatabase()";
const int LEN = 200;
......
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