/**************************************************************************
- * This file is property of and copyright by the ALICE HLT Project *
+ * This file is property of and copyright by the ALICE HLT Project *
* All rights reserved. *
* *
* Primary Authors: *
* without fee, provided that the above copyright notice appears in all *
* copies and that both the copyright notice and this permission notice *
* appear in the supporting documentation. The authors make no claims *
- * about the suitability of this software for any purpose. It is *
+ * about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-/* $Id$ */
+// $Id$
///
/// @file AliHLTMUONRecHit.cxx
void AliHLTMUONRecHit::SetDebugInfo(
- Int_t detElemId, Int_t clusterId, UInt_t nChExp, Int_t sourceDDL
+ Int_t detElemId, Int_t clusterId,
+ UShort_t nChExpB, UShort_t nChExpNB,
+ Float_t chargeB, Float_t chargeNB,
+ Int_t sourceDDL
)
{
-/// Sets the debugging information.
+/// Sets the extra debugging information.
/// @param detElemId The detector element ID.
/// @param clusterId Cluster ID of the hit's cluster.
-/// @param nChExp Number of expected channels forming the cluster.
+/// @param nChExpB Number of expected channels in the bending plane forming the cluster.
+/// @param nChExpNB Number of expected channels in the non-bending plane forming the cluster.
+/// @param chargeB The charge of the cluster in the bending plane.
+/// @param chargeNB The charge of the cluster in the non-bending plane.
/// @param sourceDDL The source DDL of this hit.
fSourceDDL = sourceDDL;
fDetElemId = detElemId;
fClusterId = clusterId;
- fNchExp = nChExp;
+ fNchExpB = nChExpB;
+ fNchExpNB = nChExpNB;
+ fChargeB = chargeB;
+ fChargeNB = chargeNB;
}
<< " cm); source DDL = " << fSourceDDL
<< "; DetElemID = " << fDetElemId
<< "; cluster ID = " << fClusterId
- << "; expected #ch = " << fNchExp << endl;
+ << "; total charge = " << fChargeB + fChargeNB
+ << "; expected #ch = " << fNchExpB + fNchExpNB << endl;
}
else if (strcmp(option, "all") == 0)
{
<< " cm); source DDL = " << fSourceDDL
<< "; DetElemID = " << fDetElemId
<< "; cluster ID = " << fClusterId
- << "; expected #ch = " << fNchExp << endl;
+ << "; charge (Bending, Non-bending) = (" << fChargeB
+ << ", " << fChargeNB
+ << "); expected #ch (Bending, Non-bending) = ("
+ << fNchExpB << ", " << fNchExpNB << ")" << endl;
if (fChannels.GetEntriesFast() == 0)
{
cout << "No channels found for this hit." << endl;