#include "AliESDVertex.h"
// #include <AliLog.h>
#include "AliFMDDebug.h" // Better debug macros
+// #include "AliPhysicsSelection.h"
class AliFMDDetector;
//____________________________________________________________________
//____________________________________________________________________
void
-AliFMDPattern::AliFMDPatternDetector::DrawShape(TObjArray& a)
+AliFMDPattern::AliFMDPatternDetector::DrawShape(const TObjArray& a)
{
// Draw all shapes.
//
//____________________________________________________________________
void
-AliFMDPattern::AliFMDPatternDetector::CopyShapes(TObjArray& src,
+AliFMDPattern::AliFMDPatternDetector::CopyShapes(const TObjArray& src,
TObjArray& dest,
Double_t ang,
Double_t fx,
Double_t fy)
{
+ //
+ // Copy shapes
+ //
+ // Parameters:
+ // input Source
+ // own Ours
+ // ang Angle
+ // fx Factor x
+ // fy Factor y
+ //
TIter next(&src);
TGraph* g = 0;
while ((g = static_cast<TGraph*>(next()))) {
// X,Y,Z Coordiantes
// MAX Maximum value.
//
- /** Sigh, for some odd reason, the code-checker does not recognise
- this a usage of the TMath namespace declaration! Idiot */
+ // Sigh, for some odd reason, the code-checker does not recognise
+ // this a usage of the TMath namespace declaration! Idiot
+ //
Int_t i = TMath::Min(Int_t(fCounts.fN * s / max),
Int_t(fGraphs.GetEntries()-1));
if (i < 0 || i >= fCounts.fN) {
fTotal(.2, .35, "Total: "),
fFMD1Area(0),
fFMD2Area(0),
- fFMD3Area(0),
- fPhysicsSelection(0)
+ fFMD3Area(0)// ,fPhysicsSelection(0)
{
// Constructor.
//
SetName("AliFMDPattern");
SetName("2D display of FMD data");
- fPhysicsSelection = new AliPhysicsSelection();
+ // fPhysicsSelection = new AliPhysicsSelection();
// RemoveLoad(kGeometry);
fEvent.SetBit(TLatex::kTextNDC);
fFMD1Sum.SetBit(TLatex::kTextNDC);
fFMD2.Clear();
fFMD3.Clear();
+#if 0
TString triggers = fESDEvent->GetFiredTriggerClasses();
const AliESDVertex* vertex = fESDEvent->GetPrimaryVertexSPD();
Double_t vertexXYZ[3];
const AliMultiplicity* mult = fESDEvent->GetMultiplicity();
Int_t nTrackLets = mult->GetNumberOfTracklets();
std::cout<<triggers.Data()<<" "<<fPhysicsSelection->IsCollisionCandidate(fESDEvent)<<" "<<nTrackLets<<" "<<vertexXYZ[0]<<" "<<vertexXYZ[1]<<" "<<vertexXYZ[2]<<std::endl;
-
+#endif
return AliFMDInput::Begin(event);
}