9 #ifndef PNDEMCMAKECLUSTER_H
10 #define PNDEMCMAKECLUSTER_H
15 #include "FairTSBufferFunctional.h"
16 #include "TStopwatch.h"
44 virtual InitStatus
Init();
45 virtual void Exec(Option_t* opt);
49 PndPersistencyTask::ExecuteTasks(option);
77 void cleansortmclist( std::vector <Int_t> &newlist,TClonesArray* mcTrackArray);
122 #endif // PNDEMCMAKECLUSTER_HH
virtual void SetParContainers()
void SetStorageOfData(Bool_t val)
Method to specify whether clusters are stored or not.
Double_t fDigiEnergyTresholdBWD
virtual void FinishClusters()
Calls FinishCluster() for each cluster.
Double_t fDigiEnergyTresholdShashlyk
static Int_t fEventCounter
Double_t fClusterActiveTime
Defines how long clusters are kept open in timebased reconstruction.
represents the reconstructed hit of one emc crystal
PndEmcMakeCluster(Int_t verbose=0, Bool_t storeclusters=kTRUE)
TClonesArray * fClusterArray
active clusters
Double_t val[nBoxes][nFEBox]
virtual void Exec(Option_t *opt)
Runs the task.
virtual void ExecuteTasks(Option_t *option)
Finish clusters after subtasks have been executed.
TClonesArray * fDigiArray
void cleansortmclist(std::vector< Int_t > &newlist, TClonesArray *mcTrackArray)
Helper function, does not depend on class, identical to the one in PndEmcHitProducer.
Double_t fDigiEnergyTresholdFWD
void StoreClusterBaseDigis(Bool_t val=kTRUE)
Method to specify whether underlying digis are stored or not.
parameter set of Emc digitisation
void FinishCluster(PndEmcCluster *tmpcluster)
Assign final parameters to cluster.
a cluster (group of neighboring crystals) of hit emc crystals
std::vector< PndEmcCluster * > fClusterList
Task to cluster PndEmcDigis.
void SetClusterActiveTime(Double_t time)
Override EmcRecoPar cluster active time parameter ..to be set in ns!!!
std::vector< Double_t > fClusterPosParam
virtual InitStatus Init()
Init Task.
Double_t fDigiEnergyTresholdBarrel
BinaryFunctor * fDigiFunctor
virtual ~PndEmcMakeCluster()
bool HasExpired(PndEmcDigi *latestDigi, PndEmcCluster *theCluster, Int_t clusterIdx)
Finishes clusters in timebased analysis.
TClonesArray * fMCTrackArray
TClonesArray * fWriteOutArray
expired clusters
Parameter set for Emc Reco.
PndEmcMakeCluster & operator=(const PndEmcMakeCluster &)