#include "PndTorinoDetectorHitProducerSmearing.h" // ---- Default constructor ------------------------------------------- PndTorinoDetectorHitProducerSmearing::PndTorinoDetectorHitProducerSmearing() :FairTask("PndTorinoDetectorHitProducerSmearing") { fLogger->Debug(MESSAGE_ORIGIN,"Defaul Constructor of PndTorinoDetectorHitProducerSmearing"); } // ---- Destructor ---------------------------------------------------- PndTorinoDetectorHitProducerSmearing::~PndTorinoDetectorHitProducerSmearing() { fLogger->Debug(MESSAGE_ORIGIN,"Destructor of PndTorinoDetectorHitProducerSmearing"); } // ---- Initialisation ---------------------------------------------- void PndTorinoDetectorHitProducerSmearing::SetParContainers() { fLogger->Debug(MESSAGE_ORIGIN,"SetParContainers of PndTorinoDetectorHitProducerSmearing"); // Load all necessary parameter containers from the runtime data base /* FairRunAna* ana = FairRunAna::Instance(); FairRuntimeDb* rtdb=ana->GetRuntimeDb(); = (*) (rtdb->getContainer("")); */ } // ---- Init ---------------------------------------------------------- InitStatus PndTorinoDetectorHitProducerSmearing::Init() { fLogger->Debug(MESSAGE_ORIGIN,"Initilization of PndTorinoDetectorHitProducerSmearing"); // Get a handle from the IO manager FairRootManager* ioman = FairRootManager::Instance(); // Get a pointer to the previous already existing data level /* = (TClonesArray*) ioman->GetObject("InputDataLevelName"); if ( ! ) { fLogger->Error(MESSAGE_ORIGIN,"No InputDataLevelName array!\n PndTorinoDetectorHitProducerSmearing will be inactive"); return kERROR; } */ // Create the TClonesArray for the output data and register // it in the IO manager /* = new TClonesArray("OutputDataLevelName", 100); ioman->Register("OutputDataLevelName","OutputDataLevelName",,kTRUE); */ // Do whatever else is needed at the initilization stage // Create histograms to be filled // initialize variables return kSUCCESS; } // ---- ReInit ------------------------------------------------------- InitStatus PndTorinoDetectorHitProducerSmearing::ReInit() { fLogger->Debug(MESSAGE_ORIGIN,"Initilization of PndTorinoDetectorHitProducerSmearing"); return kSUCCESS; } // ---- Exec ---------------------------------------------------------- void PndTorinoDetectorHitProducerSmearing::Exec(Option_t* option) { fLogger->Debug(MESSAGE_ORIGIN,"Exec of PndTorinoDetectorHitProducerSmearing"); } // ---- Finish -------------------------------------------------------- void PndTorinoDetectorHitProducerSmearing::Finish() { fLogger->Debug(MESSAGE_ORIGIN,"Finish of PndTorinoDetectorHitProducerSmearing"); } ClassImp(PndTorinoDetectorHitProducerSmearing)