#include "AliMUONVClusterServer.h"
#include "AliMUONVDigitStore.h"
#include "AliMUONVTriggerStore.h"
+#include "AliMUONDigitMaker.h"
#include <Riostream.h>
#include <TRandom.h>
#include <TTree.h>
if (!fClusterServer)
{
- AliInfo("No cluster server given. Will use AliMUONLegacyClusterServer");
+ AliDebug(1,"No cluster server given. Will use AliMUONLegacyClusterServer");
fIsOwnerOfClusterServer = kTRUE;
}
else
fInputClusterStore = AliMUONVClusterStore::Create(*clustersTree);
if ( fInputClusterStore )
{
- AliInfo(Form("Created %s from cluster tree",fInputClusterStore->ClassName()));
+ AliDebug(1,Form("Created %s from cluster tree",fInputClusterStore->ClassName()));
fInputClusterStore->Clear();
fInputClusterStore->Connect(*clustersTree,kFALSE);
}
{
/// Performs the tracking and store the resulting tracks in the ESD
AliDebug(1,"");
- AliCodeTimerAuto("")
+ AliCodeTimerAuto("",0)
if (!fTrackReco)
{
fTrackReco->EventReconstructTrigger(*fkTriggerCircuit,*fTriggerStore,*(TriggerTrackStore()));
}
- if ( ( GetRecoParam()->BypassSt4() ||
- GetRecoParam()->BypassSt5() ) &&
- TriggerTrackStore()->GetSize() > 5 )
+ if ( TriggerTrackStore()->GetSize() > GetRecoParam()->GetMaxTriggerTracks() )
{
- // Hard cut to reject shower events
+ // cut to reject shower events
- AliCodeTimerAuto("MUON Shower events");
+ AliCodeTimerAuto("MUON Shower events",1);
AliWarning(Form("Probably got a shower event (%d trigger tracks). Will not reconstruct tracks.",
TriggerTrackStore()->GetSize()));
{
/// Fill the ESD from the trackStore
AliDebug(1,"");
- AliCodeTimerAuto("")
+ AliCodeTimerAuto("",0)
// get ITS vertex
Double_t vertex[3] = {0., 0., 0.};
if (matched) break;
}
if (matched) continue;
-
- AliMUONESDInterface::MUONToESD(*locTrg, esdTrack, ghostId);
+
+ AliMUONESDInterface::MUONToESD(*locTrg, esdTrack, ghostId, triggerTrack);
esd->AddMuonTrack(&esdTrack);
ghostId -= 1;
return 0x0;
}
- AliInfoClass(Form("Will use %s for tracking",trackReco->ClassName()));
+ AliDebugClass(1,Form("Will use %s for tracking",trackReco->ClassName()));
return trackReco;
}