예제 #1
0
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);

}
예제 #2
0
파일: SimG4Svc.cpp 프로젝트: faltovaj/FCCSW
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);
}
예제 #3
0
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);
}
예제 #4
0
파일: GeantSvc.cpp 프로젝트: ocolegro/FCCSW
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);
}