Skip to content

Commit

Permalink
Merge pull request #43661 from bsunanda/Phase2-HGX350A
Browse files Browse the repository at this point in the history
Phase2-HGX350A Resolve the scenario for V18 version of HGCal Geometry
  • Loading branch information
cmsbuild authored Jan 16, 2024
2 parents 1faff5c + 7082c6d commit 10b8a60
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Configuration/Geometry/python/dict2026Geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
'Geometry/HcalSimData/data/hfpmt.xml',
'Geometry/HcalSimData/data/hffibrebundle.xml',
'Geometry/HcalSimData/data/CaloUtil/2026/v2c/CaloUtil.xml',
'Geometry/HGCalSimData/data/hgcsensv17n.xml',
'Geometry/HGCalSimData/data/hgcsensv15.xml',
],
4 : [
'Geometry/HcalSimData/data/HcalProdCuts/2026/v1/HcalProdCuts.xml',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2822,7 +2822,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
'Geom' : 'Extended2026D104',
'HLTmenu': '@relval2026',
'GT' : 'auto:phase2_realistic_T33',
'Era' : 'Phase2C17I13M9',
'Era' : 'Phase2C22I13M9',
'ScenToRun' : ['GenSimHLBeamSpot','DigiTrigger','RecoGlobal', 'HARVESTGlobal', 'ALCAPhase2'],
},
'2026D105' : {
Expand Down
3 changes: 2 additions & 1 deletion Configuration/StandardSequences/python/Eras.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def __init__(self):
'Phase2C11I13T25M9',
'Phase2C11I13T26M9',
'Phase2C17I13M9',
'Phase2C20I13M9'
'Phase2C20I13M9',
'Phase2C22I13M9'
]

internalUseMods = ['run2_common', 'run2_25ns_specific',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<Include ref='Geometry/HcalSimData/data/hfpmt.xml'/>
<Include ref='Geometry/HcalSimData/data/hffibrebundle.xml'/>
<Include ref='Geometry/HcalSimData/data/CaloUtil/2026/v2c/CaloUtil.xml'/>
<Include ref='Geometry/HGCalSimData/data/hgcsensv17n.xml'/>
<Include ref='Geometry/HGCalSimData/data/hgcsensv15.xml'/>
<Include ref='Geometry/MuonSimData/data/PhaseII/v2/muonSens.xml'/>
<Include ref='Geometry/DTGeometryBuilder/data/dtSpecsFilter/2021/v1/dtSpecsFilter.xml'/>
<Include ref='Geometry/CSCGeometryBuilder/data/cscSpecsFilter.xml'/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
'Geometry/HcalSimData/data/hfpmt.xml',
'Geometry/HcalSimData/data/hffibrebundle.xml',
'Geometry/HcalSimData/data/CaloUtil/2026/v2c/CaloUtil.xml',
'Geometry/HGCalSimData/data/hgcsensv17n.xml',
'Geometry/HGCalSimData/data/hgcsensv15.xml',
'Geometry/MuonSimData/data/PhaseII/v2/muonSens.xml',
'Geometry/DTGeometryBuilder/data/dtSpecsFilter/2021/v1/dtSpecsFilter.xml',
'Geometry/CSCGeometryBuilder/data/cscSpecsFilter.xml',
Expand Down
3 changes: 2 additions & 1 deletion SimG4CMS/Calo/src/CaloSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,8 @@ bool CaloSD::hitExists(const G4Step* aStep, int k) {

bool CaloSD::checkHit(int k) {
#ifdef EDM_ML_DEBUG
edm::LogVerbatim("CaloSim") << "CaloSD: checkHit for " << k;
edm::LogVerbatim("CaloSim") << "CaloSD: checkHit for " << k << " for map " << useMap << ":" << &hitMap[k] << " Nhits "
<< nCheckedHits[k] << " HC " << theHC[k] << " ID " << currentID[k];
#endif
//look in the HitContainer whether a hit with the same ID already exists:
bool found = false;
Expand Down
7 changes: 3 additions & 4 deletions SimG4CMS/Calo/src/HGCalSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,10 @@ void HGCalSD::update(const BeginOfJob* job) {
} else {
throw cms::Exception("Unknown", "HGCalSD") << "Cannot find HGCalDDDConstants for " << nameX_ << "\n";
}
if ((nHC_ > 1) && calibCells_) {
if ((nHC_ > 1) && calibCells_)
newCollection(collName_[1], ps_);
cellOffset_ = std::make_unique<HGCalCellOffset>(
waferSize_, hgcons_->getUVMax(0), hgcons_->getUVMax(1), guardRingOffset_, mouseBiteCut_);
}
cellOffset_ = std::make_unique<HGCalCellOffset>(
waferSize_, hgcons_->getUVMax(0), hgcons_->getUVMax(1), guardRingOffset_, mouseBiteCut_);
}

void HGCalSD::initRun() {}
Expand Down

0 comments on commit 10b8a60

Please sign in to comment.