Skip to content
Snippets Groups Projects
Commit e3a3fa8c authored by Edward Brash's avatar Edward Brash Committed by Stephen A. Wood
Browse files

Updates to Hall C shower and interface codes for scaler debugging

purposes.
parent d4de5d5b
No related branches found
No related tags found
No related merge requests found
......@@ -38,15 +38,15 @@
using namespace std;
THaVarList* gHaVars = NULL; // List of symbolic analyzer variables
THaCutList* gHaCuts = NULL; // List of global analyzer cuts/tests
TList* gHaApps = NULL; // List of Apparatuses
TList* gHaScalers = NULL; // List of scaler groups
TList* gHaPhysics = NULL; // List of physics modules
THaRunBase* gHaRun = NULL; // The currently active run
TClass* gHaDecoder = NULL; // Class(!) of decoder to use
THaDB* gHaDB = NULL; // Database system to use
THaTextvars* gHaTextvars = NULL; // Text variable definitions
//THaVarList* gHaVars = NULL; // List of symbolic analyzer variables
//THaCutList* gHaCuts = NULL; // List of global analyzer cuts/tests
//TList* gHaApps = NULL; // List of Apparatuses
//TList* gHaScalers = NULL; // List of scaler groups
//TList* gHaPhysics = NULL; // List of physics modules
//THaRunBase* gHaRun = NULL; // The currently active run
//TClass* gHaDecoder = NULL; // Class(!) of decoder to use
//THaDB* gHaDB = NULL; // Database system to use
//THaTextvars* gHaTextvars = NULL; // Text variable definitions
THcParmList* gHcParms = NULL; // List of symbolic analyzer variables
THcDetectorMap* gHcDetectorMap = NULL; // Global (Hall C style) detector map
......
......@@ -658,17 +658,17 @@ Int_t THcShower::CoarseProcess( TClonesArray& tracks)
THcShowerCluster* cluster = (*ClusterList).ListedCluster(i);
cout << "Cluster #" << i
<<": E=" << (*cluster).clE()
<< " Epr=" << (*cluster).clEpr()
<< " X=" << (*cluster).clX()
<< " Z=" << (*cluster).clZ()
<< " size=" << (*cluster).clSize()
<< endl;
//cout << "Cluster #" << i
//<<": E=" << (*cluster).clE()
//<< " Epr=" << (*cluster).clEpr()
//<< " X=" << (*cluster).clX()
//<< " Z=" << (*cluster).clZ()
//<< " size=" << (*cluster).clSize()
//<< endl;
for (UInt_t j=0; j!=(*cluster).clSize(); j++) {
THcShowerHit* hit = (*cluster).ClusteredHit(j);
cout << " hit #" << j << ": "; (*hit).show();
//cout << " hit #" << j << ": "; (*hit).show();
}
}
......
......@@ -83,9 +83,9 @@ public:
//Print out hit information
//
void show() {
cout << "row=" << fRow << " column=" << fCol
<< " x=" << fX << " z=" << fZ
<< " E=" << fE << " Epos=" << fEpos << " Eneg=" << fEneg << endl;
//cout << "row=" << fRow << " column=" << fCol
// << " x=" << fX << " z=" << fZ
// << " E=" << fE << " Epos=" << fEpos << " Eneg=" << fEneg << endl;
}
};
......
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