Skip to content
Snippets Groups Projects
Commit 119f7261 authored by Susumu Oda's avatar Susumu Oda
Browse files

Updated. Now running.

parent c3f425c5
No related merge requests found
......@@ -30,8 +30,21 @@ print globalflags
#--------------------------------------------------------------
from RecExConfig.RecFlags import rec
rec.projectName.set_Value_and_Lock("data12_8TeV")
# Load IOVDbSvc
IOVDbSvc = Service("IOVDbSvc")
IOVDbSvc.GlobalTag=globalflags.ConditionsTag()
IOVDbSvc.OutputLevel = 3
from IOVDbSvc.CondDB import conddb
# conddb.dbdata="COMP200"
conddb.dbdata="COMP200"
conddb.addFolderWithTag("SCT_OFL","/SCT/Sensors","SctSensors-Sep03-14")
conddb.blockFolder("/Indet/Align")
conddb.addFolderWithTag("INDET_OFL","/Indet/Align","InDetAlign-BLK-UPD4-09")
conddb.blockFolder("/Indet/PixelDist")
conddb.addFolderWithTag("INDET_OFL","/Indet/PixelDist","InDetPixelDist-ES1-UPD1-01")
conddb.blockFolder("/Indet/IBLDist")
conddb.addFolderWithTag("INDET_OFL","/Indet/IBLDist","IBLDist-NULL")
#--------------------------------------------------------------
# Set Detector setup
......@@ -62,16 +75,6 @@ DetFlags.writeRIOPool.all_setOff()
import AtlasGeoModel.SetGeometryVersion
import AtlasGeoModel.GeoModelInit
#--------------------------------------------------------------
# Load IOVDbSvc
#--------------------------------------------------------------
IOVDbSvc = Service("IOVDbSvc")
IOVDbSvc.GlobalTag=globalflags.ConditionsTag()
IOVDbSvc.OutputLevel = 3
conddb.addFolderWithTag("SCT_OFL","/SCT/Sensors","SctSensors-Sep03-14")
# conddb.addFolderWithTag("SCT_OFL","/SCT/Sensors","SctSensors-01")
from AthenaCommon.AlgSequence import AlgSequence
job = AlgSequence()
......
......@@ -24,7 +24,6 @@ SCT_SensorsSvc::SCT_SensorsSvc( const std::string& name, ISvcLocator* pSvcLocato
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
StatusCode SCT_SensorsSvc::initialize(){
std::cout <<" hi there "<<std::endl;
m_sensorsManufacturer = new std::map<CondAttrListCollection::ChanNum, std::string >;
// Retrieve detector store
if (m_detStore.retrieve().isFailure()) return msg(MSG:: FATAL)<< "Detector service is not found!" << endmsg, StatusCode::FAILURE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment