//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* *
-//* Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
+//* Primary Authors: Oystein Djuvsland *
//* for The ALICE HLT Project. *
//* *
//* Permission to use, copy, modify and distribute this software and its *
/// @author Oystein Djuvsland
/// @date 2009-10-08
/// @brief HLT class describing simple geometry of (sub-)detectors.
-/// Used for the AliHLTTriggerBarrelGeomMultiplicity classes
+/// Used for the AliHLTTriggerBarrelGeomMultiplicity class
// see header file for class documentation
// or
#include "AliHLTTriggerDetectorGeom.h"
#include <ostream>
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTriggerDetectorGeom)
-AliHLTTriggerDetectorGeom::AliHLTTriggerDetectorGeom()
+AliHLTTriggerDetectorGeom::AliHLTTriggerDetectorGeom()
: TObject(),
fEtaMin(0),
fEtaMax(0),
}
}
+
void AliHLTTriggerDetectorGeom::SetNormVector(Double_t *nVector)
{
// See header file for class documentation
void AliHLTTriggerDetectorGeom::GetInitialPoint(Double_t *point)
{
+ // See header file for class documentation
for(int i = 0; i < 3; i++)
{
point[i] = fInitalPoint[i];
}
}
+void AliHLTTriggerDetectorGeom::GetNormVector(Double_t *vec)
+{
+ // See header file for class documentation
+ for(int i = 0; i < 3; i++)
+ {
+ vec[i] = fNormVector[i];
+ }
+}
+
void AliHLTTriggerDetectorGeom::PrintDetectorGeom(std::ostream &out)
{
+ // See header file for class documentation
+
out << "Name: " << fName << std::endl;
out << "Eta Min: " << fEtaMin << std::endl;
out << "Eta Max: " << fEtaMax << std::endl;
out << "Phi Min: " << fPhiMin << std::endl;
out << "Phi Max: " << fPhiMax << std::endl;
- out << "Initial Point: {" << fInitalPoint[0] << ", " << fInitalPoint[1] << ", " << fInitalPoint[2] << std::endl;
- out << "Normal Vector: {" << fNormVector[0] << ", " << fNormVector[1] << ", " << fNormVector[2] << std::endl;
+ out << "Initial Point: {" << fInitalPoint[0] << ", " << fInitalPoint[1] << ", " << fInitalPoint[2] << "}" << std::endl;
+ out << "Normal Vector: {" << fNormVector[0] << ", " << fNormVector[1] << ", " << fNormVector[2] << "}" << std::endl;
}
+