Skip to content
Snippets Groups Projects
Commit 12df9fe6 authored by Sebastien Ponce's avatar Sebastien Ponce Committed by Christopher Rob Jones
Browse files

Apply review suggestions

parent d9589c83
No related branches found
No related tags found
2 merge requests!3788Draft: Update SciFi cluster monitoring,!3642Performance Updates to RICH Reconstruction
......@@ -700,8 +700,6 @@ void GlobalPID::Init( TTree* tree ) {
fChain->SetBranchAddress( "CaloChargedSpd", &CaloChargedSpd, &b_CaloChargedSpd );
fChain->SetBranchAddress( "CaloChargedPrs", &CaloChargedPrs, &b_CaloChargedPrs );
fChain->SetBranchAddress( "CaloChargedEcal", &CaloChargedEcal, &b_CaloChargedEcal );
// fChain->SetBranchAddress( "CaloSpdE", &CaloSpdE, &b_CaloSpdE );
// fChain->SetBranchAddress( "CaloPrsE", &CaloPrsE, &b_CaloPrsE );
fChain->SetBranchAddress( "CaloEcalChi2", &CaloEcalChi2, &b_CaloEcalChi2 );
fChain->SetBranchAddress( "CaloClusChi2", &CaloClusChi2, &b_CaloClusChi2 );
fChain->SetBranchAddress( "CaloBremChi2", &CaloBremChi2, &b_CaloBremChi2 );
......
......@@ -88,17 +88,8 @@ namespace Rich::Future::Rec {
inline auto pdIndex( const LHCb::RichSmartID pdID, //
const Rich::DetectorType rich, //
const Rich::Side panel ) const noexcept {
// Just use module number
// const auto idx = pdID.pdMod();
// Group modules in neighboring columns, doubling group size
// const auto colGSize = 2u;
// const auto colG = pdID.panelLocalModuleColumn() / colGSize;
// const auto idx = ( colG * LHCb::RichSmartID::MaPMT::ModulesPerColumn ) + pdID.columnLocalModuleNum();
// Use EC ( 4 groups per module )
const auto idx = ( LHCb::RichSmartID::MaPMT::ECsPerModule * pdID.pdMod() ) + pdID.elementaryCell();
// Group two ECs together ( 2 groups per module )
// const auto idx =
// ( ( LHCb::RichSmartID::MaPMT::ECsPerModule / 2 ) * pdID.pdMod() ) + ( pdID.elementaryCell() / 2 );
// return with min scale
return ( idx - minPanelIndex[rich][panel] );
}
......
......@@ -370,7 +370,6 @@ pdBckWeights = [(WR1, WR2), (WR1, WR2), (WR1, WR2), (WR1, WR2)]
# Hit treatment in background alg
# Need to try and understand the difference here between best 3D and 4D tunings
PDBackIgnoreHitData = [is4D, False, False, False]
#PDBackIgnoreHitData = [False, False, False, False]
# background thresholds
bT = 0.0
......
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