CreateCaloCells::CreateCaloCells(const std::string& name, ISvcLocator* svcLoc) : GaudiAlgorithm(name, svcLoc) { declareInput("hits", m_hits,"hits"); declareOutput("cells", m_cells,"cells"); declareProperty("mergeTool",m_mergeTool); declarePrivateTool(m_mergeTool,"MergeCaloHitsTool"); declareProperty("calibTool",m_calibTool); declarePrivateTool(m_calibTool,"CalibrateCaloHitsTool"); declareProperty("noiseTool",m_noiseTool); declarePrivateTool(m_noiseTool,"NoiseCaloCellsTool"); declareProperty("doCellCalibration",m_doCellCalibration=true); declareProperty("addCellNoise",m_addCellNoise=true); declareProperty("filterCellNoise",m_filterCellNoise=false); //PhiEta segmentation required declareProperty("readoutName", m_readoutName="ECalHitsPhiEta"); declareProperty("activeVolumeName", m_activeVolumeName="LAr"); //number of volumes with active material which are not readout declareProperty("numVolumesRemove",m_numVolumesRemove=0); declareProperty("activeFieldName", m_activeFieldName="active_layer"); declareProperty("fieldNames", m_fieldNames); declareProperty("fieldValues", m_fieldValues); }
SimG4Svc::SimG4Svc(const std::string& aName, ISvcLocator* aSL): base_class(aName, aSL) { declareProperty("detector", m_detectorTool); declarePrivateTool(m_detectorTool, "SimG4DD4hepDetector", true); declareProperty("physicslist", m_physicsListTool); declarePrivateTool(m_physicsListTool, "SimG4FtfpBert", true); declareProperty("actions", m_actionsTool); declarePrivateTool(m_actionsTool, "SimG4FullSimActions", true); declareProperty("magneticField", m_magneticFieldTool); declarePrivateTool(m_magneticFieldTool,"SimG4ConstantMagneticFieldTool", true); declareProperty("G4commands",m_g4Commands); declareProperty("regions",m_regionToolNames); }
G4FastSimPhysicsList::G4FastSimPhysicsList(const std::string& aType, const std::string& aName, const IInterface* aParent) : AlgTool(aType, aName, aParent) { declareInterface<IG4PhysicsList>(this); declareProperty("fullphysics", m_physicsListTool); declarePrivateTool(m_physicsListTool); }
GeantSvc::GeantSvc(const std::string& aName, ISvcLocator* aSL): base_class(aName, aSL) { declareProperty("config", m_geantConfigTool); declarePrivateTool(m_geantConfigTool); declareProperty("detector", m_detectorTool); declarePrivateTool(m_detectorTool); }