// ------------------------------------------------------------------------- // ----- PndMvdStripClusterTask source file ----- // ------------------------------------------------------------------------- #include "PndMvdStripClusterTask.h" // ----- Default constructor ------------------------------------------- PndMvdStripClusterTask::PndMvdStripClusterTask(Int_t ClusterMod, Int_t RadChannel, Int_t RadTime) : PndSdsStripClusterTask(ClusterMod, RadChannel, RadTime) { /* fChargeCut = 1.e8; // this ist really large and shall have no effect fGeoFile = ""; fClusterMod=ClusterMod; if(fClusterMod>1 || fClusterMod<0) fClusterMod=0; fRadChannel=RadChannel; fRadTime=RadTime;*/ } // ------------------------------------------------------------------------- PndMvdStripClusterTask::PndMvdStripClusterTask(Double_t chargecut, TString geofile, Int_t meanalgo, Int_t clustermod, Int_t RadChannel, Int_t RadTime) : PndSdsStripClusterTask(chargecut, geofile, meanalgo, clustermod, RadChannel, RadTime) { /* fChargeCut = chargecut; fGeoFile = geofile; fMeanAlgo=meanalgo; fClusterMod=clustermod; if(fClusterMod>1 || fClusterMod<0) fClusterMod=0; fRadChannel=RadChannel; fRadTime=RadTime;*/ } // ----- Destructor ---------------------------------------------------- PndMvdStripClusterTask::~PndMvdStripClusterTask() { //if(0!=fGeoH) delete fGeoH; //if(0!=fChargeAlgos) delete fChargeAlgos; } // ------------------------------------------------------------------------- void PndMvdStripClusterTask::SetBranchNames(TString inBranchname, TString outHitBranchname, TString outClustBranchname, TString folderName) { fBranchName = inBranchname; fHitBranchName = outHitBranchname; fClustBranchName = outClustBranchname; fFolderName = folderName; } void PndMvdStripClusterTask::SetBranchNames() { fBranchName = "MVDStripDigis"; fHitBranchName = "MVDHitsStrip"; fClustBranchName = "MVDStripClusterCand"; fFolderName = "MVD"; } ClassImp(PndMvdStripClusterTask);