Correct DD4HEP paths in FT to fix the boole-FT test
Related to lhcb-conddb/lhcb-conditions-database!48 (merged) and Detector!340 (merged).
Running the test with upgrade/master now succeeds but yields an output diff of:
Init INFO Member list: GaudiSequencer/InitBooleSeq, GaudiSequencer/InitDataSeq
-InitBooleSeq INFO Member list: BooleInit, GaudiSequencer/SpilloverHandler
+InitBooleSeq INFO Member list: BooleInit, LHCb::Det::LbDD4hep::IOVProducer/ReserveIOVDD4hep, GaudiSequencer/SpilloverHandler
BooleInit SUCCESS ==================================================================
@@ -13,2 +13,3 @@
BooleInit SUCCESS ==================================================================
+LHCb::Det::LbDD... INFO Field map location: DBASE/FieldMap/vXrYpZ/cdf
RootHistSvc INFO Writing ROOT histograms to: Boole-FT-10ev-histos.root
@@ -20,3 +21,2 @@
MCFTDepositCrea... INFO Selecting 50/fb attenuation map using power-law radiation damage model without aging fibres and without replaced center module.
-DeFTDetector INFO Current FT geometry version = 64
Link INFO Member list: GaudiSequencer/LinkFTSeq
@@ -36,5 +36,7 @@
ApplicationMgr INFO Application Manager Started successfully
+BooleInit INFO Evt 2951, Run 16564960, Nr. in job = 1
+FTRawBankDecoder INFO Conditions DB is compatible with FT bank version 7 and 8.
FTRawBankEncoder INFO Conditions DB is compatible with FT bank version 7 and 8.
-FTRawBankDecoder INFO Conditions DB is compatible with FT bank version 7 and 8.
-BooleInit INFO Evt 2951, Run 16564960, Nr. in job = 1
+DeMagnetConditi... INFO Loading mag field from DBASE/FieldMap/vXrYpZ/cdf
+MagneticFieldEx... INFO Scale factor: 0.000000
LHCb::RawDataCn... INFO Opened(NEW) MDF stream:PFN:Boole-FT-10ev.mdf ID:0x########
@@ -54,4 +56,4 @@
FTLiteClusterMo... INFO --------FT Lite clusters------------
-FTLiteClusterMo... INFO Cluster efficiency = ( 97.0 +/- 0.9 )%
-FTLiteClusterMo... INFO Cluster efficiency p>5GeV = ( 98.3 +/- 0.5 )%
+FTLiteClusterMo... INFO Cluster efficiency = ( 0.0 +/- 0.0 )%
+FTLiteClusterMo... INFO Cluster efficiency p>5GeV = ( 0.0 +/- 0.0 )%
FTLiteClusterMo... INFO -------------------------------
Edited by Louis Henry
Merge request reports
Activity
mentioned in merge request Detector!340 (merged)
mentioned in merge request lhcb-conddb/lhcb-conditions-database!48 (merged)
- Resolved by Erika De Lucia
The bugs are quite far reaching. In MCFTDepositCreator:
- a seg fault in effective simulation is obtained in DetDesc.
- the
DeFTMat::toLocal
method gives very different results in DD4HEP and DetDesc, with absurd results on DD4HEP.
std::cout << "Effective: " << mat.elementID() << " " << attDir << " " << mchit->midPoint().X() << " " << mchit->midPoint().Y() << " " << localEntry.X() << " " << localDispl.X() << " " << localEntry.Y(\ ) << " " << localDispl.Y() << " " << mchit->displacement().X() << " " << mchit->displacement().Y() << std::endl; Effective: { FTChannelID : channel =0 sipm =0 mat =2 module=3 quarter=1 layer=2 station=1 } 0.010147 2014.13 -376.115 52.1271 -1919.6 -825.163 -1350.66 -0.15091 -0.385171 vs Effective: { FTChannelID : channel =0 sipm =0 mat =2 module=3 quarter=1 layer=2 station=1 } 0.010147 2014.13 -376.115 53.3897 -0.184314 -825.875 0.375219 -0.15091 -0.385171 - mat is the same, attenuation the same, mchit midpoint the same, localEntry slightly different already, displacement in local absurd, displacement in global is ok.
mentioned in merge request Detector!347 (closed)
@adavis this one is waiting for merging.
- Resolved by Erika De Lucia
Is this working with both Detector and DetDesc?
assigned to @edelucia
- Resolved by Erika De Lucia
@zexu : please add the appropriate labels for the classification of this in the release notes
added FT label
added Conditions label
added new feature label
- Resolved by Zehua Xu
The RefBot pipeline failed!
Please register or sign in to reply