Skip to content

Commit

Permalink
allow parsing integers of any size
Browse files Browse the repository at this point in the history
  • Loading branch information
VinInn committed May 17, 2017
1 parent 596a4ff commit 916b79b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -47,7 +47,9 @@
'FPix5_pos+FPix6_pos+FPix7_pos+FPix8_pos', 'FPix5_neg+FPix6_neg+FPix7_neg+FPix8_neg',
# removed as redunant and covering effectively only eta>4 (here for documentation, to be optimized after TDR)
# 'FPix5_pos+FPix6_pos+FPix7_pos+FPix9_pos', 'FPix5_neg+FPix6_neg+FPix7_neg+FPix9_neg',
# 'FPix6_pos+FPix7_pos+FPix8_pos+FPix9_pos', 'FPix6_neg+FPix7_neg+FPix8_neg+FPix9_neg'
# 'FPix6_pos+FPix7_pos+FPix8_pos+FPix9_pos', 'FPix6_neg+FPix7_neg+FPix8_neg+FPix9_neg',
# 'FPix8_pos+FPix9_pos+FPix10_pos+FPix11_pos', 'FPix8_neg+FPix9_neg+FPix10_neg+FPix11_neg',
# 'FPix11_pos'FPix9_pos+FPix10_pos+FPix12_pos', 'FPix9_neg+FPix10_neg+FPix11_neg+FPix12_neg'
]

# Needed to have pixelTracks to not to look like depending
Expand Down
2 changes: 1 addition & 1 deletion RecoTracker/TkSeedingLayers/src/SeedingLayerSetsBuilder.cc
Expand Up @@ -48,7 +48,7 @@ SeedingLayerSetsBuilder::SeedingLayerId SeedingLayerSetsBuilder::nameToEnumId(co
//
else if ((index = name.find("FPix")) != string::npos) {
subdet = GeomDetEnumerators::PixelEndcap;
idLayer = atoi(name.substr(index+4,1).c_str());
idLayer = atoi(name.substr(index+4).c_str());
if ( name.find("pos") != string::npos ) {
side = SeedingLayer::PosEndcap;
} else {
Expand Down

0 comments on commit 916b79b

Please sign in to comment.