Commit 3dec658b authored by Christian Grefe's avatar Christian Grefe
Browse files

Stroing eProbabilityNN

parent 13f92ce5
......@@ -82,6 +82,11 @@ StatusCode TRTPIDNNCondAlg::execute()
return StatusCode::FAILURE;
}
ATH_MSG_INFO("Recorded InDet::TRTPIDNN " << writeHandle.key()
<< " with EventRange " << rangeW
<< " into Conditions Store");
return StatusCode::SUCCESS;
}
......
......@@ -121,13 +121,13 @@ StatusCode InDet::TRT_ElectronPidToolRun2::finalize()
std::vector<float> InDet::TRT_ElectronPidToolRun2::electronProbability_old(const Trk::Track& track)
{
// Simply return values without calculation
std::vector<float> PIDvalues(6);
std::vector<float> PIDvalues(4);
PIDvalues[0] = 0.5;
PIDvalues[1] = 0.5;
PIDvalues[2] = 0.0;
PIDvalues[3] = 0.5;
PIDvalues[4] = 0.0;
PIDvalues[5] = 0.5;
//PIDvalues[4] = 0.0;
//PIDvalues[5] = 0.5;
const Trk::TrackParameters* perigee = track.perigeeParameters();
if (!perigee) { return PIDvalues; }
return PIDvalues;
......
......@@ -124,9 +124,10 @@ enum SummaryType {
eProbabilityToT_res = 49, //!< Electron probability from Time-Over-Threshold (ToT) information [float].
eProbabilityBrem_res = 50, //!< Electron probability from Brem fitting (DNA) [float].
pixeldEdx_res = 51, //!< the dE/dx estimate, calculated using the pixel clusters [?]
eProbabilityNN_res = 73, //!< Electron probability from NN [float].
// -- numbers...
numberOfTrackSummaryTypes = 73
numberOfTrackSummaryTypes = 74
};
// Troels.Petersen@cern.ch:
......@@ -135,11 +136,12 @@ enum SummaryType {
eProbabilityHT = 1, //!< Electron probability from High Threshold (HT) information.
eProbabilityToT = 2, //!< Electron probability from Time-Over-Threshold (ToT) information.
eProbabilityBrem = 3, //!< Electron probability from Brem fitting (DNA).
numberOfeProbabilityTypes = 4
eProbabilityNN = 4, //!< Electron probability from NN.
numberOfeProbabilityTypes = 5
};
// the eProbability vector is abused to store :
// [4] TRT local occupancy
// [5] TRT dE/dx
// [5] TRT local occupancy
// [6] TRT dE/dx
/** enumerates the various detector types currently accessible from the isHit() method.
\todo work out how to add muons to this*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment