diff --git a/RecoTracker/LSTCore/interface/Constants.h b/RecoTracker/LSTCore/interface/Constants.h index f2c99e960956d..725cf5f46b224 100644 --- a/RecoTracker/LSTCore/interface/Constants.h +++ b/RecoTracker/LSTCore/interface/Constants.h @@ -39,18 +39,18 @@ namespace lst { constexpr float PT_CUT = 0.8f; #endif - constexpr unsigned int MAX_BLOCKS = 80; - constexpr unsigned int MAX_CONNECTED_MODULES = 40; + constexpr unsigned int max_blocks = 80; + constexpr unsigned int max_connected_modules = 40; - constexpr unsigned int N_MAX_PIXEL_SEGMENTS_PER_MODULE = 50000; + constexpr unsigned int n_max_pixel_segments_per_module = 50000; - constexpr unsigned int N_MAX_PIXEL_MD_PER_MODULES = 2 * N_MAX_PIXEL_SEGMENTS_PER_MODULE; + constexpr unsigned int n_max_pixel_md_per_modules = 2 * n_max_pixel_segments_per_module; - constexpr unsigned int N_MAX_PIXEL_TRIPLETS = 5000; - constexpr unsigned int N_MAX_PIXEL_QUINTUPLETS = 15000; + constexpr unsigned int n_max_pixel_triplets = 5000; + constexpr unsigned int n_max_pixel_quintuplets = 15000; - constexpr unsigned int N_MAX_PIXEL_TRACK_CANDIDATES = 30000; - constexpr unsigned int N_MAX_NONPIXEL_TRACK_CANDIDATES = 1000; + constexpr unsigned int n_max_pixel_track_candidates = 30000; + constexpr unsigned int n_max_nonpixel_track_candidates = 1000; constexpr unsigned int size_superbins = 45000; diff --git a/RecoTracker/LSTCore/interface/LSTESData.h b/RecoTracker/LSTCore/interface/LSTESData.h index 770c36126d82b..833770e631d2d 100644 --- a/RecoTracker/LSTCore/interface/LSTESData.h +++ b/RecoTracker/LSTCore/interface/LSTESData.h @@ -21,7 +21,7 @@ namespace lst { unsigned int nEndCapMap; std::shared_ptr> modulesBuffers; std::shared_ptr> endcapGeometryBuffers; - std::shared_ptr pixelMapping; + std::shared_ptr pixelMapping; LSTESData(uint16_t const& nModulesIn, uint16_t const& nLowerModulesIn, @@ -29,7 +29,7 @@ namespace lst { unsigned int const& nEndCapMapIn, std::shared_ptr> const& modulesBuffersIn, std::shared_ptr> const& endcapGeometryBuffersIn, - std::shared_ptr const& pixelMappingIn) + std::shared_ptr const& pixelMappingIn) : nModules(nModulesIn), nLowerModules(nLowerModulesIn), nPixels(nPixelsIn), diff --git a/RecoTracker/LSTCore/interface/Module.h b/RecoTracker/LSTCore/interface/Module.h index 3fcd9ed92785c..c50e5c4c6c2a5 100644 --- a/RecoTracker/LSTCore/interface/Module.h +++ b/RecoTracker/LSTCore/interface/Module.h @@ -146,7 +146,7 @@ namespace lst { ModulesBuffer(TDev const& dev, unsigned int nMod, unsigned int nPixs) : detIds_buf(allocBufWrapper(dev, nMod)), - moduleMap_buf(allocBufWrapper(dev, nMod * MAX_CONNECTED_MODULES)), + moduleMap_buf(allocBufWrapper(dev, nMod * max_connected_modules)), mapdetId_buf(allocBufWrapper(dev, nMod)), mapIdx_buf(allocBufWrapper(dev, nMod)), nConnectedModules_buf(allocBufWrapper(dev, nMod)), diff --git a/RecoTracker/LSTCore/interface/PixelMap.h b/RecoTracker/LSTCore/interface/PixelMap.h index d6962ce976ebf..73d88bc64f7ec 100644 --- a/RecoTracker/LSTCore/interface/PixelMap.h +++ b/RecoTracker/LSTCore/interface/PixelMap.h @@ -7,7 +7,7 @@ #include "RecoTracker/LSTCore/interface/Constants.h" namespace lst { - struct pixelMap { + struct PixelMap { uint16_t pixelModuleIndex; std::vector connectedPixelsIndex; @@ -19,7 +19,7 @@ namespace lst { int* pixelType; - pixelMap(unsigned int sizef = size_superbins) + PixelMap(unsigned int sizef = size_superbins) : pixelModuleIndex(0), connectedPixelsIndex(sizef), connectedPixelsSizes(sizef), diff --git a/RecoTracker/LSTCore/interface/alpaka/Constants.h b/RecoTracker/LSTCore/interface/alpaka/Constants.h index f80b500fd6a4e..cee32daf8536c 100644 --- a/RecoTracker/LSTCore/interface/alpaka/Constants.h +++ b/RecoTracker/LSTCore/interface/alpaka/Constants.h @@ -87,20 +87,20 @@ namespace lst { ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float lst_INF = 123456789.0; namespace t5dnn { - // + // Working points matching LST fake rate (43.9%) or signal acceptance (82.0%) - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float LSTWP1 = 0.3418833f; // 94.0% TPR, 43.9% FPR - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float LSTWP2 = 0.6177366f; // 82.0% TPR, 20.0% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float lstwp1 = 0.3418833f; // 94.0% TPR, 43.9% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float lstwp2 = 0.6177366f; // 82.0% TPR, 20.0% FPR // Other working points - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float WP70 = 0.7776195f; // 70.0% TPR, 10.0% FPR - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float WP75 = 0.7181118f; // 75.0% TPR, 13.5% FPR - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float WP80 = 0.6492643f; // 80.0% TPR, 17.9% FPR - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float WP85 = 0.5655319f; // 85.0% TPR, 23.8% FPR - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float WP90 = 0.4592205f; // 90.0% TPR, 32.6% FPR - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float WP95 = 0.3073708f; // 95.0% TPR, 47.7% FPR - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float WP97p5 = 0.2001348f; // 97.5% TPR, 61.2% FPR - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float WP99 = 0.1120605f; // 99.0% TPR, 75.9% FPR - ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float WP99p9 = 0.0218196f; // 99.9% TPR, 95.4% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float wp70 = 0.7776195f; // 70.0% TPR, 10.0% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float wp75 = 0.7181118f; // 75.0% TPR, 13.5% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float wp80 = 0.6492643f; // 80.0% TPR, 17.9% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float wp85 = 0.5655319f; // 85.0% TPR, 23.8% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float wp90 = 0.4592205f; // 90.0% TPR, 32.6% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float wp95 = 0.3073708f; // 95.0% TPR, 47.7% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float wp97p5 = 0.2001348f; // 97.5% TPR, 61.2% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float wp99 = 0.1120605f; // 99.0% TPR, 75.9% FPR + ALPAKA_STATIC_ACC_MEM_GLOBAL constexpr float wp99p9 = 0.0218196f; // 99.9% TPR, 95.4% FPR } // namespace t5dnn diff --git a/RecoTracker/LSTCore/src/LSTESData.cc b/RecoTracker/LSTCore/src/LSTESData.cc index f7c9c865da0cf..414834e78c70c 100644 --- a/RecoTracker/LSTCore/src/LSTESData.cc +++ b/RecoTracker/LSTCore/src/LSTESData.cc @@ -85,7 +85,7 @@ std::unique_ptr> lst::loadAndFillESHost() auto pLStoLayer = std::make_shared(); auto endcapGeometry = std::make_shared(); auto tiltedGeometry = std::make_shared(); - auto pixelMapping = std::make_shared(); + auto pixelMapping = std::make_shared(); auto moduleConnectionMap = std::make_shared(); ::loadMapsHost(*pLStoLayer, endcapGeometry, tiltedGeometry, moduleConnectionMap); diff --git a/RecoTracker/LSTCore/src/ModuleMethods.h b/RecoTracker/LSTCore/src/ModuleMethods.h index 046afbdb6a764..80389a67e7081 100644 --- a/RecoTracker/LSTCore/src/ModuleMethods.h +++ b/RecoTracker/LSTCore/src/ModuleMethods.h @@ -27,7 +27,7 @@ namespace lst { inline void fillPixelMap(std::shared_ptr>& modulesBuf, uint16_t nModules, unsigned int& nPixels, - pixelMap& pixelMapping, + PixelMap& pixelMapping, TQueue queue, const MapPLStoLayer& pLStoLayer, struct ModuleMetaData& mmd) { @@ -111,7 +111,7 @@ namespace lst { struct ModuleMetaData& mmd, const ModuleConnectionMap* moduleConnectionMap) { alpaka_common::DevHost const& devHost = cms::alpakatools::host(); - auto moduleMap_buf = allocBufWrapper(devHost, nMod * MAX_CONNECTED_MODULES); + auto moduleMap_buf = allocBufWrapper(devHost, nMod * max_connected_modules); uint16_t* moduleMap = alpaka::getPtrNative(moduleMap_buf); auto nConnectedModules_buf = allocBufWrapper(devHost, nMod); @@ -123,7 +123,7 @@ namespace lst { auto& connectedModules = moduleConnectionMap->getConnectedModuleDetIds(detId); nConnectedModules[index] = connectedModules.size(); for (uint16_t i = 0; i < nConnectedModules[index]; i++) { - moduleMap[index * MAX_CONNECTED_MODULES + i] = mmd.detIdToIndex[connectedModules[i]]; + moduleMap[index * max_connected_modules + i] = mmd.detIdToIndex[connectedModules[i]]; } } @@ -224,7 +224,7 @@ namespace lst { uint16_t& nLowerModules, unsigned int& nPixels, std::shared_ptr>& modulesBuf, - pixelMap* pixelMapping, + PixelMap* pixelMapping, const EndcapGeometry* endcapGeometry, const TiltedGeometry* tiltedGeometry, const ModuleConnectionMap* moduleConnectionMap) { diff --git a/RecoTracker/LSTCore/src/alpaka/Event.dev.cc b/RecoTracker/LSTCore/src/alpaka/Event.dev.cc index 1f60ec870aae7..1ac2cc9cf0487 100644 --- a/RecoTracker/LSTCore/src/alpaka/Event.dev.cc +++ b/RecoTracker/LSTCore/src/alpaka/Event.dev.cc @@ -184,7 +184,7 @@ void lst::Event::addHitToEvent(std::vector x, alpaka::wait(queue); Vec3D const threadsPerBlock1 = createVec(1, 1, 256); - Vec3D const blocksPerGrid1 = createVec(1, 1, MAX_BLOCKS); + Vec3D const blocksPerGrid1 = createVec(1, 1, max_blocks); WorkDiv3D const hit_loop_workdiv = createWorkDiv(blocksPerGrid1, threadsPerBlock1, elementsPerThread); hitLoopKernel hit_loop_kernel; @@ -204,7 +204,7 @@ void lst::Event::addHitToEvent(std::vector x, alpaka::enqueue(queue, hit_loop_task); Vec3D const threadsPerBlock2 = createVec(1, 1, 256); - Vec3D const blocksPerGrid2 = createVec(1, 1, MAX_BLOCKS); + Vec3D const blocksPerGrid2 = createVec(1, 1, max_blocks); WorkDiv3D const module_ranges_workdiv = createWorkDiv(blocksPerGrid2, threadsPerBlock2, elementsPerThread); moduleRangesKernel module_ranges_kernel; @@ -237,13 +237,13 @@ void lst::Event::addPixelSegmentToEvent(std::vector hitIndi std::vector isQuad) { unsigned int size = ptIn.size(); - if (size > N_MAX_PIXEL_SEGMENTS_PER_MODULE) { + if (size > n_max_pixel_segments_per_module) { printf( "*********************************************************\n" "* Warning: Pixel line segments will be truncated. *\n" - "* You need to increase N_MAX_PIXEL_SEGMENTS_PER_MODULE. *\n" + "* You need to increase n_max_pixel_segments_per_module. *\n" "*********************************************************\n"); - size = N_MAX_PIXEL_SEGMENTS_PER_MODULE; + size = n_max_pixel_segments_per_module; } unsigned int mdSize = 2 * size; @@ -255,7 +255,7 @@ void lst::Event::addPixelSegmentToEvent(std::vector hitIndi alpaka::createSubView(rangesBuffers->miniDoubletModuleOccupancy_buf, (Idx)1u, (Idx)nLowerModules_); // Create a source view for the value to be set - int value = N_MAX_PIXEL_MD_PER_MODULES; + int value = n_max_pixel_md_per_modules; auto src_view_value = alpaka::createView(devHost, &value, (Idx)1u); alpaka::memcpy(queue, dst_view_miniDoubletModuleOccupancy, src_view_value); @@ -279,7 +279,7 @@ void lst::Event::addPixelSegmentToEvent(std::vector hitIndi alpaka::memcpy(queue, nTotalMDs_view, rangesBuffers->device_nTotalMDs_buf); alpaka::wait(queue); - nTotalMDs += N_MAX_PIXEL_MD_PER_MODULES; + nTotalMDs += n_max_pixel_md_per_modules; mdsInGPU = new lst::MiniDoublets(); miniDoubletsBuffers = new lst::MiniDoubletsBuffer(nTotalMDs, nLowerModules_, devAcc, queue); @@ -312,11 +312,11 @@ void lst::Event::addPixelSegmentToEvent(std::vector hitIndi alpaka::memcpy(queue, nTotalSegments_view, rangesBuffers->device_nTotalSegs_buf); alpaka::wait(queue); - nTotalSegments += N_MAX_PIXEL_SEGMENTS_PER_MODULE; + nTotalSegments += n_max_pixel_segments_per_module; segmentsInGPU = new lst::Segments(); segmentsBuffers = - new lst::SegmentsBuffer(nTotalSegments, nLowerModules_, N_MAX_PIXEL_SEGMENTS_PER_MODULE, devAcc, queue); + new lst::SegmentsBuffer(nTotalSegments, nLowerModules_, n_max_pixel_segments_per_module, devAcc, queue); segmentsInGPU->setData(*segmentsBuffers); alpaka::memcpy(queue, segmentsBuffers->nMemoryLocations_buf, nTotalSegments_view); @@ -370,7 +370,7 @@ void lst::Event::addPixelSegmentToEvent(std::vector hitIndi alpaka::wait(queue); Vec3D const threadsPerBlock = createVec(1, 1, 256); - Vec3D const blocksPerGrid = createVec(1, 1, MAX_BLOCKS); + Vec3D const blocksPerGrid = createVec(1, 1, max_blocks); WorkDiv3D const addPixelSegmentToEvent_workdiv = createWorkDiv(blocksPerGrid, threadsPerBlock, elementsPerThread); addPixelSegmentToEventKernel addPixelSegmentToEvent_kernel; @@ -399,7 +399,7 @@ void lst::Event::createMiniDoublets() { alpaka::createSubView(rangesBuffers->miniDoubletModuleOccupancy_buf, (Idx)1u, (Idx)nLowerModules_); // Create a source view for the value to be set - int value = N_MAX_PIXEL_MD_PER_MODULES; + int value = n_max_pixel_md_per_modules; auto src_view_value = alpaka::createView(devHost, &value, (Idx)1u); alpaka::memcpy(queue, dst_view_miniDoubletModuleOccupancy, src_view_value); @@ -424,7 +424,7 @@ void lst::Event::createMiniDoublets() { unsigned int nTotalMDs = *alpaka::getPtrNative(nTotalMDs_buf); - nTotalMDs += N_MAX_PIXEL_MD_PER_MODULES; + nTotalMDs += n_max_pixel_md_per_modules; if (mdsInGPU == nullptr) { mdsInGPU = new lst::MiniDoublets(); @@ -473,7 +473,7 @@ void lst::Event::createSegmentsWithModuleMap() { if (segmentsInGPU == nullptr) { segmentsInGPU = new lst::Segments(); segmentsBuffers = - new lst::SegmentsBuffer(nTotalSegments, nLowerModules_, N_MAX_PIXEL_SEGMENTS_PER_MODULE, devAcc, queue); + new lst::SegmentsBuffer(nTotalSegments, nLowerModules_, n_max_pixel_segments_per_module, devAcc, queue); segmentsInGPU->setData(*segmentsBuffers); } @@ -584,7 +584,7 @@ void lst::Event::createTriplets() { alpaka::wait(queue); Vec3D const threadsPerBlockCreateTrip = createVec(1, 16, 16); - Vec3D const blocksPerGridCreateTrip = createVec(MAX_BLOCKS, 1, 1); + Vec3D const blocksPerGridCreateTrip = createVec(max_blocks, 1, 1); WorkDiv3D const createTripletsInGPUv2_workDiv = createWorkDiv(blocksPerGridCreateTrip, threadsPerBlockCreateTrip, elementsPerThread); @@ -626,7 +626,7 @@ void lst::Event::createTrackCandidates(bool no_pls_dupclean, bool tc_pls_ if (trackCandidatesInGPU == nullptr) { trackCandidatesInGPU = new lst::TrackCandidates(); trackCandidatesBuffers = new lst::TrackCandidatesBuffer( - N_MAX_NONPIXEL_TRACK_CANDIDATES + N_MAX_PIXEL_TRACK_CANDIDATES, devAcc, queue); + n_max_nonpixel_track_candidates + n_max_pixel_track_candidates, devAcc, queue); trackCandidatesInGPU->setData(*trackCandidatesBuffers); } @@ -684,7 +684,7 @@ void lst::Event::createTrackCandidates(bool no_pls_dupclean, bool tc_pls_ alpaka::enqueue(queue, removeDupQuintupletsInGPUBeforeTCTask); Vec3D const threadsPerBlock_crossCleanT5 = createVec(32, 1, 32); - Vec3D const blocksPerGrid_crossCleanT5 = createVec((13296 / 32) + 1, 1, MAX_BLOCKS); + Vec3D const blocksPerGrid_crossCleanT5 = createVec((13296 / 32) + 1, 1, max_blocks); WorkDiv3D const crossCleanT5_workDiv = createWorkDiv(blocksPerGrid_crossCleanT5, threadsPerBlock_crossCleanT5, elementsPerThread); @@ -716,7 +716,7 @@ void lst::Event::createTrackCandidates(bool no_pls_dupclean, bool tc_pls_ if (!no_pls_dupclean) { Vec3D const threadsPerBlockCheckHitspLS = createVec(1, 16, 16); - Vec3D const blocksPerGridCheckHitspLS = createVec(1, MAX_BLOCKS * 4, MAX_BLOCKS / 4); + Vec3D const blocksPerGridCheckHitspLS = createVec(1, max_blocks * 4, max_blocks / 4); WorkDiv3D const checkHitspLS_workDiv = createWorkDiv(blocksPerGridCheckHitspLS, threadsPerBlockCheckHitspLS, elementsPerThread); @@ -747,7 +747,7 @@ void lst::Event::createTrackCandidates(bool no_pls_dupclean, bool tc_pls_ alpaka::enqueue(queue, crossCleanpLSTask); Vec3D const threadsPerBlock_addpLSasTrackCandidateInGPU = createVec(1, 1, 384); - Vec3D const blocksPerGrid_addpLSasTrackCandidateInGPU = createVec(1, 1, MAX_BLOCKS); + Vec3D const blocksPerGrid_addpLSasTrackCandidateInGPU = createVec(1, 1, max_blocks); WorkDiv3D const addpLSasTrackCandidateInGPU_workDiv = createWorkDiv( blocksPerGrid_addpLSasTrackCandidateInGPU, threadsPerBlock_addpLSasTrackCandidateInGPU, elementsPerThread); @@ -761,7 +761,7 @@ void lst::Event::createTrackCandidates(bool no_pls_dupclean, bool tc_pls_ alpaka::enqueue(queue, addpLSasTrackCandidateInGPUTask); - // Check if either N_MAX_PIXEL_TRACK_CANDIDATES or N_MAX_NONPIXEL_TRACK_CANDIDATES was reached + // Check if either n_max_pixel_track_candidates or n_max_nonpixel_track_candidates was reached auto nTrackCanpT5Host_buf = allocBufWrapper(devHost, 1, queue); auto nTrackCanpT3Host_buf = allocBufWrapper(devHost, 1, queue); auto nTrackCanpLSHost_buf = allocBufWrapper(devHost, 1, queue); @@ -776,13 +776,13 @@ void lst::Event::createTrackCandidates(bool no_pls_dupclean, bool tc_pls_ int nTrackCandidatespT3 = *alpaka::getPtrNative(nTrackCanpT3Host_buf); int nTrackCandidatespLS = *alpaka::getPtrNative(nTrackCanpLSHost_buf); int nTrackCandidatesT5 = *alpaka::getPtrNative(nTrackCanT5Host_buf); - if ((nTrackCandidatespT5 + nTrackCandidatespT3 + nTrackCandidatespLS == N_MAX_PIXEL_TRACK_CANDIDATES) || - (nTrackCandidatesT5 == N_MAX_NONPIXEL_TRACK_CANDIDATES)) { + if ((nTrackCandidatespT5 + nTrackCandidatespT3 + nTrackCandidatespLS == n_max_pixel_track_candidates) || + (nTrackCandidatesT5 == n_max_nonpixel_track_candidates)) { printf( "****************************************************************************************************\n" "* Warning: Track candidates were possibly truncated. *\n" - "* You may need to increase either N_MAX_PIXEL_TRACK_CANDIDATES or N_MAX_NONPIXEL_TRACK_CANDIDATES. *\n" - "* Run the code with the Warnings flag activated for more details. *\n" + "* You may need to increase either n_max_pixel_track_candidates or n_max_nonpixel_track_candidates. *\n" + "* Run the code with the WARNINGS flag activated for more details. *\n" "****************************************************************************************************\n"); } } @@ -790,7 +790,7 @@ void lst::Event::createTrackCandidates(bool no_pls_dupclean, bool tc_pls_ void lst::Event::createPixelTriplets() { if (pixelTripletsInGPU == nullptr) { pixelTripletsInGPU = new lst::PixelTriplets(); - pixelTripletsBuffers = new lst::PixelTripletsBuffer(N_MAX_PIXEL_TRIPLETS, devAcc, queue); + pixelTripletsBuffers = new lst::PixelTripletsBuffer(n_max_pixel_triplets, devAcc, queue); pixelTripletsInGPU->setData(*pixelTripletsBuffers); } @@ -802,8 +802,8 @@ void lst::Event::createPixelTriplets() { alpaka::memcpy(queue, nInnerSegments_src_view, dev_view_nSegments); alpaka::wait(queue); - auto superbins_buf = allocBufWrapper(devHost, N_MAX_PIXEL_SEGMENTS_PER_MODULE, queue); - auto pixelTypes_buf = allocBufWrapper(devHost, N_MAX_PIXEL_SEGMENTS_PER_MODULE, queue); + auto superbins_buf = allocBufWrapper(devHost, n_max_pixel_segments_per_module, queue); + auto pixelTypes_buf = allocBufWrapper(devHost, n_max_pixel_segments_per_module, queue); alpaka::memcpy(queue, superbins_buf, segmentsBuffers->superbin_buf); alpaka::memcpy(queue, pixelTypes_buf, segmentsBuffers->pixelType_buf); @@ -882,7 +882,7 @@ void lst::Event::createPixelTriplets() { alpaka::enqueue(queue, createPixelTripletsInGPUFromMapv2Task); alpaka::wait(queue); -#ifdef Warnings +#ifdef WARNINGS auto nPixelTriplets_buf = allocBufWrapper(devHost, 1, queue); alpaka::memcpy(queue, nPixelTriplets_buf, pixelTripletsBuffers->nPixelTriplets_buf); @@ -961,7 +961,7 @@ void lst::Event::createQuintuplets() { alpaka::enqueue(queue, createQuintupletsInGPUv2Task); Vec3D const threadsPerBlockDupQuint = createVec(1, 16, 16); - Vec3D const blocksPerGridDupQuint = createVec(MAX_BLOCKS, 1, 1); + Vec3D const blocksPerGridDupQuint = createVec(max_blocks, 1, 1); WorkDiv3D const removeDupQuintupletsInGPUAfterBuild_workDiv = createWorkDiv(blocksPerGridDupQuint, threadsPerBlockDupQuint, elementsPerThread); @@ -999,7 +999,7 @@ void lst::Event::createQuintuplets() { void lst::Event::pixelLineSegmentCleaning(bool no_pls_dupclean) { if (!no_pls_dupclean) { Vec3D const threadsPerBlockCheckHitspLS = createVec(1, 16, 16); - Vec3D const blocksPerGridCheckHitspLS = createVec(1, MAX_BLOCKS * 4, MAX_BLOCKS / 4); + Vec3D const blocksPerGridCheckHitspLS = createVec(1, max_blocks * 4, max_blocks / 4); WorkDiv3D const checkHitspLS_workDiv = createWorkDiv(blocksPerGridCheckHitspLS, threadsPerBlockCheckHitspLS, elementsPerThread); @@ -1015,13 +1015,13 @@ void lst::Event::pixelLineSegmentCleaning(bool no_pls_dupclean) { void lst::Event::createPixelQuintuplets() { if (pixelQuintupletsInGPU == nullptr) { pixelQuintupletsInGPU = new lst::PixelQuintuplets(); - pixelQuintupletsBuffers = new lst::PixelQuintupletsBuffer(N_MAX_PIXEL_QUINTUPLETS, devAcc, queue); + pixelQuintupletsBuffers = new lst::PixelQuintupletsBuffer(n_max_pixel_quintuplets, devAcc, queue); pixelQuintupletsInGPU->setData(*pixelQuintupletsBuffers); } if (trackCandidatesInGPU == nullptr) { trackCandidatesInGPU = new lst::TrackCandidates(); trackCandidatesBuffers = new lst::TrackCandidatesBuffer( - N_MAX_NONPIXEL_TRACK_CANDIDATES + N_MAX_PIXEL_TRACK_CANDIDATES, devAcc, queue); + n_max_nonpixel_track_candidates + n_max_pixel_track_candidates, devAcc, queue); trackCandidatesInGPU->setData(*trackCandidatesBuffers); } @@ -1034,8 +1034,8 @@ void lst::Event::createPixelQuintuplets() { alpaka::memcpy(queue, nInnerSegments_src_view, dev_view_nSegments); alpaka::wait(queue); - auto superbins_buf = allocBufWrapper(devHost, N_MAX_PIXEL_SEGMENTS_PER_MODULE, queue); - auto pixelTypes_buf = allocBufWrapper(devHost, N_MAX_PIXEL_SEGMENTS_PER_MODULE, queue); + auto superbins_buf = allocBufWrapper(devHost, n_max_pixel_segments_per_module, queue); + auto pixelTypes_buf = allocBufWrapper(devHost, n_max_pixel_segments_per_module, queue); alpaka::memcpy(queue, superbins_buf, segmentsBuffers->superbin_buf); alpaka::memcpy(queue, pixelTypes_buf, segmentsBuffers->pixelType_buf); @@ -1090,7 +1090,7 @@ void lst::Event::createPixelQuintuplets() { alpaka::wait(queue); Vec3D const threadsPerBlockCreatePixQuints = createVec(1, 16, 16); - Vec3D const blocksPerGridCreatePixQuints = createVec(16, MAX_BLOCKS, 1); + Vec3D const blocksPerGridCreatePixQuints = createVec(16, max_blocks, 1); WorkDiv3D const createPixelQuintupletsInGPUFromMapv2_workDiv = createWorkDiv(blocksPerGridCreatePixQuints, threadsPerBlockCreatePixQuints, elementsPerThread); @@ -1112,7 +1112,7 @@ void lst::Event::createPixelQuintuplets() { alpaka::enqueue(queue, createPixelQuintupletsInGPUFromMapv2Task); Vec3D const threadsPerBlockDupPix = createVec(1, 16, 16); - Vec3D const blocksPerGridDupPix = createVec(1, MAX_BLOCKS, 1); + Vec3D const blocksPerGridDupPix = createVec(1, max_blocks, 1); WorkDiv3D const removeDupPixelQuintupletsInGPUFromMap_workDiv = createWorkDiv(blocksPerGridDupPix, threadsPerBlockDupPix, elementsPerThread); @@ -1141,7 +1141,7 @@ void lst::Event::createPixelQuintuplets() { alpaka::enqueue(queue, addpT5asTrackCandidateInGPUTask); alpaka::wait(queue); -#ifdef Warnings +#ifdef WARNINGS auto nPixelQuintuplets_buf = allocBufWrapper(devHost, 1, queue); alpaka::memcpy(queue, nPixelQuintuplets_buf, pixelQuintupletsBuffers->nPixelQuintuplets_buf); @@ -1578,7 +1578,7 @@ lst::SegmentsBuffer* lst::Event::getSegments() { unsigned int nMemHost = *alpaka::getPtrNative(nMemHost_buf); segmentsInCPU = - new lst::SegmentsBuffer(nMemHost, nLowerModules_, N_MAX_PIXEL_SEGMENTS_PER_MODULE, devHost, queue); + new lst::SegmentsBuffer(nMemHost, nLowerModules_, n_max_pixel_segments_per_module, devHost, queue); segmentsInCPU->setData(*segmentsInCPU); *alpaka::getPtrNative(segmentsInCPU->nMemoryLocations_buf) = nMemHost; @@ -1761,7 +1761,7 @@ lst::TrackCandidatesBuffer* lst::Event::getTrackCandidates() { unsigned int nTrackCanHost = *alpaka::getPtrNative(nTrackCanHost_buf); trackCandidatesInCPU = new lst::TrackCandidatesBuffer( - N_MAX_NONPIXEL_TRACK_CANDIDATES + N_MAX_PIXEL_TRACK_CANDIDATES, devHost, queue); + n_max_nonpixel_track_candidates + n_max_pixel_track_candidates, devHost, queue); trackCandidatesInCPU->setData(*trackCandidatesInCPU); *alpaka::getPtrNative(trackCandidatesInCPU->nTrackCandidates_buf) = nTrackCanHost; @@ -1799,7 +1799,7 @@ lst::TrackCandidatesBuffer* lst::Event::getTrackCandidatesInCMSS unsigned int nTrackCanHost = *alpaka::getPtrNative(nTrackCanHost_buf); trackCandidatesInCPU = new lst::TrackCandidatesBuffer( - N_MAX_NONPIXEL_TRACK_CANDIDATES + N_MAX_PIXEL_TRACK_CANDIDATES, devHost, queue); + n_max_nonpixel_track_candidates + n_max_pixel_track_candidates, devHost, queue); trackCandidatesInCPU->setData(*trackCandidatesInCPU); *alpaka::getPtrNative(trackCandidatesInCPU->nTrackCandidates_buf) = nTrackCanHost; diff --git a/RecoTracker/LSTCore/src/alpaka/Event.h b/RecoTracker/LSTCore/src/alpaka/Event.h index 69ec34d0104c4..57c99123e2ee1 100644 --- a/RecoTracker/LSTCore/src/alpaka/Event.h +++ b/RecoTracker/LSTCore/src/alpaka/Event.h @@ -46,24 +46,24 @@ namespace lst { //Device stuff unsigned int nTotalSegments; - struct ObjectRanges* rangesInGPU; - struct ObjectRangesBuffer* rangesBuffers; - struct Hits* hitsInGPU; - struct HitsBuffer* hitsBuffers; - struct MiniDoublets* mdsInGPU; - struct MiniDoubletsBuffer* miniDoubletsBuffers; - struct Segments* segmentsInGPU; - struct SegmentsBuffer* segmentsBuffers; - struct Triplets* tripletsInGPU; - struct TripletsBuffer* tripletsBuffers; - struct Quintuplets* quintupletsInGPU; - struct QuintupletsBuffer* quintupletsBuffers; - struct TrackCandidates* trackCandidatesInGPU; - struct TrackCandidatesBuffer* trackCandidatesBuffers; - struct PixelTriplets* pixelTripletsInGPU; - struct PixelTripletsBuffer* pixelTripletsBuffers; - struct PixelQuintuplets* pixelQuintupletsInGPU; - struct PixelQuintupletsBuffer* pixelQuintupletsBuffers; + ObjectRanges* rangesInGPU; + ObjectRangesBuffer* rangesBuffers; + Hits* hitsInGPU; + HitsBuffer* hitsBuffers; + MiniDoublets* mdsInGPU; + MiniDoubletsBuffer* miniDoubletsBuffers; + Segments* segmentsInGPU; + SegmentsBuffer* segmentsBuffers; + Triplets* tripletsInGPU; + TripletsBuffer* tripletsBuffers; + Quintuplets* quintupletsInGPU; + QuintupletsBuffer* quintupletsBuffers; + TrackCandidates* trackCandidatesInGPU; + TrackCandidatesBuffer* trackCandidatesBuffers; + PixelTriplets* pixelTripletsInGPU; + PixelTripletsBuffer* pixelTripletsBuffers; + PixelQuintuplets* pixelQuintupletsInGPU; + PixelQuintupletsBuffer* pixelQuintupletsBuffers; //CPU interface stuff ObjectRangesBuffer* rangesInCPU; @@ -88,7 +88,7 @@ namespace lst { const unsigned int nPixels_; const unsigned int nEndCapMap_; const std::shared_ptr> modulesBuffers_; - const std::shared_ptr pixelMapping_; + const std::shared_ptr pixelMapping_; const std::shared_ptr> endcapGeometryBuffers_; public: diff --git a/RecoTracker/LSTCore/src/alpaka/Kernels.h b/RecoTracker/LSTCore/src/alpaka/Kernels.h index 76a3e6ef26770..b95d4ce24055f 100644 --- a/RecoTracker/LSTCore/src/alpaka/Kernels.h +++ b/RecoTracker/LSTCore/src/alpaka/Kernels.h @@ -342,8 +342,8 @@ namespace lst { int pixelModuleIndex = *modulesInGPU.nLowerModules; unsigned int nPixelSegments = segmentsInGPU.nSegments[pixelModuleIndex]; - if (nPixelSegments > N_MAX_PIXEL_SEGMENTS_PER_MODULE) - nPixelSegments = N_MAX_PIXEL_SEGMENTS_PER_MODULE; + if (nPixelSegments > n_max_pixel_segments_per_module) + nPixelSegments = n_max_pixel_segments_per_module; for (unsigned int ix = globalThreadIdx[1]; ix < nPixelSegments; ix += gridThreadExtent[1]) { if (secondpass && (!segmentsInGPU.isQuad[ix] || (segmentsInGPU.isDup[ix] & 1))) diff --git a/RecoTracker/LSTCore/src/alpaka/MiniDoublet.h b/RecoTracker/LSTCore/src/alpaka/MiniDoublet.h index 1ae62844019f8..b189fde578d5b 100644 --- a/RecoTracker/LSTCore/src/alpaka/MiniDoublet.h +++ b/RecoTracker/LSTCore/src/alpaka/MiniDoublet.h @@ -953,7 +953,7 @@ namespace lst { int totOccupancyMDs = alpaka::atomicOp(acc, &mdsInGPU.totOccupancyMDs[lowerModuleIndex], 1u); if (totOccupancyMDs >= (rangesInGPU.miniDoubletModuleOccupancy[lowerModuleIndex])) { -#ifdef Warnings +#ifdef WARNINGS printf("Mini-doublet excess alert! Module index = %d\n", lowerModuleIndex); #endif } else { @@ -992,7 +992,7 @@ namespace lst { auto const globalThreadIdx = alpaka::getIdx(acc); auto const gridThreadExtent = alpaka::getWorkDiv(acc); - // Initialize variables in shared memory and set to 0 + // Declare variables in shared memory and set to 0 int& nTotalMDs = alpaka::declareSharedVar(acc); nTotalMDs = 0; alpaka::syncBlockThreads(acc); @@ -1054,7 +1054,7 @@ namespace lst { occupancy = 25; else { occupancy = 0; -#ifdef Warnings +#ifdef WARNINGS printf("Unhandled case in createMDArrayRangesGPU! Module index = %i\n", i); #endif } diff --git a/RecoTracker/LSTCore/src/alpaka/PixelTriplet.h b/RecoTracker/LSTCore/src/alpaka/PixelTriplet.h index bf6b95d069d5f..ae0412c3e0bb4 100644 --- a/RecoTracker/LSTCore/src/alpaka/PixelTriplet.h +++ b/RecoTracker/LSTCore/src/alpaka/PixelTriplet.h @@ -481,7 +481,7 @@ namespace lst { delta2[i] = 500 * inv1; isFlat[i] = false; } -#ifdef Warnings +#ifdef WARNINGS else { printf("ERROR!!!!! I SHOULDN'T BE HERE!!!! subdet = %d, type = %d, side = %d\n", moduleSubdet, @@ -1051,7 +1051,7 @@ namespace lst { uint16_t tripletLowerModuleIndex = modulesInGPU .connectedPixels[iLSModule]; //connected pixels will have the appropriate lower module index by default! -#ifdef Warnings +#ifdef WARNINGS if (tripletLowerModuleIndex >= *modulesInGPU.nLowerModules) { printf("tripletLowerModuleIndex %d >= modulesInGPU.nLowerModules %d \n", tripletLowerModuleIndex, @@ -1129,8 +1129,8 @@ namespace lst { float score = rPhiChiSquared + rPhiChiSquaredInwards; unsigned int totOccupancyPixelTriplets = alpaka::atomicOp(acc, pixelTripletsInGPU.totOccupancyPixelTriplets, 1u); - if (totOccupancyPixelTriplets >= N_MAX_PIXEL_TRIPLETS) { -#ifdef Warnings + if (totOccupancyPixelTriplets >= n_max_pixel_triplets) { +#ifdef WARNINGS printf("Pixel Triplet excess alert!\n"); #endif } else { @@ -2336,7 +2336,7 @@ namespace lst { delta2[i] = 500.f * inv1; isFlat[i] = false; } -#ifdef Warnings +#ifdef WARNINGS else { printf("ERROR!!!!! I SHOULDN'T BE HERE!!!! subdet = %d, type = %d, side = %d\n", moduleSubdet, @@ -2737,8 +2737,8 @@ namespace lst { if (success) { unsigned int totOccupancyPixelQuintuplets = alpaka::atomicOp(acc, pixelQuintupletsInGPU.totOccupancyPixelQuintuplets, 1u); - if (totOccupancyPixelQuintuplets >= N_MAX_PIXEL_QUINTUPLETS) { -#ifdef Warnings + if (totOccupancyPixelQuintuplets >= n_max_pixel_quintuplets) { +#ifdef WARNINGS printf("Pixel Quintuplet excess alert!\n"); #endif } else { diff --git a/RecoTracker/LSTCore/src/alpaka/Quintuplet.h b/RecoTracker/LSTCore/src/alpaka/Quintuplet.h index d6111c1b4ed4d..050fefd2f29f6 100644 --- a/RecoTracker/LSTCore/src/alpaka/Quintuplet.h +++ b/RecoTracker/LSTCore/src/alpaka/Quintuplet.h @@ -1224,7 +1224,7 @@ namespace lst { delta2[i] = 500.f * inv1; isFlat[i] = false; } else { -#ifdef Warnings +#ifdef WARNINGS printf("ERROR!!!!! I SHOULDN'T BE HERE!!!! subdet = %d, type = %d, side = %d\n", moduleSubdet, moduleType, @@ -1315,7 +1315,7 @@ namespace lst { g = 0.5f * twoG; f = 0.5f * twoF; if (g * g + f * f - c < 0) { -#ifdef Warnings +#ifdef WARNINGS printf("FATAL! r^2 < 0!\n"); #endif chiSquared = -1; @@ -2912,8 +2912,8 @@ namespace lst { innerRadius, outerRadius, bridgeRadius); - TightCutFlag = TightCutFlag and (inference > lst::t5dnn::LSTWP2); // T5-in-TC cut - if (inference <= lst::t5dnn::LSTWP2) // T5-building cut + TightCutFlag = TightCutFlag and (inference > lst::t5dnn::lstwp2); // T5-in-TC cut + if (inference <= lst::t5dnn::lstwp2) // T5-building cut return false; #endif @@ -3038,7 +3038,7 @@ namespace lst { int totOccupancyQuintuplets = alpaka::atomicOp(acc, &quintupletsInGPU.totOccupancyQuintuplets[lowerModule1], 1u); if (totOccupancyQuintuplets >= rangesInGPU.quintupletModuleOccupancy[lowerModule1]) { -#ifdef Warnings +#ifdef WARNINGS printf("Quintuplet excess alert! Module index = %d\n", lowerModule1); #endif } else { @@ -3046,7 +3046,7 @@ namespace lst { alpaka::atomicOp(acc, &quintupletsInGPU.nQuintuplets[lowerModule1], 1u); //this if statement should never get executed! if (rangesInGPU.quintupletModuleIndices[lowerModule1] == -1) { -#ifdef Warnings +#ifdef WARNINGS printf("Quintuplets : no memory for module at module index = %d\n", lowerModule1); #endif } else { @@ -3175,7 +3175,7 @@ namespace lst { occupancy = 106; else { occupancy = 0; -#ifdef Warnings +#ifdef WARNINGS printf("Unhandled case in createEligibleModulesListForQuintupletsGPU! Module index = %i\n", i); #endif } diff --git a/RecoTracker/LSTCore/src/alpaka/Segment.h b/RecoTracker/LSTCore/src/alpaka/Segment.h index 397f426f45f47..7716c9f2ccf5b 100644 --- a/RecoTracker/LSTCore/src/alpaka/Segment.h +++ b/RecoTracker/LSTCore/src/alpaka/Segment.h @@ -800,7 +800,7 @@ namespace lst { for (uint16_t outerLowerModuleArrayIdx = blockThreadIdx[1]; outerLowerModuleArrayIdx < nConnectedModules; outerLowerModuleArrayIdx += blockThreadExtent[1]) { uint16_t outerLowerModuleIndex = - modulesInGPU.moduleMap[innerLowerModuleIndex * MAX_CONNECTED_MODULES + outerLowerModuleArrayIdx]; + modulesInGPU.moduleMap[innerLowerModuleIndex * max_connected_modules + outerLowerModuleArrayIdx]; unsigned int nOuterMDs = mdsInGPU.nMDs[outerLowerModuleIndex]; @@ -859,7 +859,7 @@ namespace lst { unsigned int totOccupancySegments = alpaka::atomicOp( acc, &segmentsInGPU.totOccupancySegments[innerLowerModuleIndex], 1u); if (static_cast(totOccupancySegments) >= rangesInGPU.segmentModuleOccupancy[innerLowerModuleIndex]) { -#ifdef Warnings +#ifdef WARNINGS printf("Segment excess alert! Module index = %d\n", innerLowerModuleIndex); #endif } else { @@ -968,7 +968,7 @@ namespace lst { occupancy = 85; else { occupancy = 0; -#ifdef Warnings +#ifdef WARNINGS printf("Unhandled case in createSegmentArrayRanges! Module index = %i\n", i); #endif } diff --git a/RecoTracker/LSTCore/src/alpaka/TrackCandidate.h b/RecoTracker/LSTCore/src/alpaka/TrackCandidate.h index dbc061dfa7e92..7451f5e47dc80 100644 --- a/RecoTracker/LSTCore/src/alpaka/TrackCandidate.h +++ b/RecoTracker/LSTCore/src/alpaka/TrackCandidate.h @@ -404,9 +404,9 @@ namespace lst { unsigned int trackCandidateIdx = alpaka::atomicOp(acc, trackCandidatesInGPU.nTrackCandidates, 1u); - if (trackCandidateIdx >= N_MAX_PIXEL_TRACK_CANDIDATES) // This is done before any non-pixel TCs are added + if (trackCandidateIdx >= n_max_pixel_track_candidates) // This is done before any non-pixel TCs are added { -#ifdef Warnings +#ifdef WARNINGS printf("Track Candidate excess alert! Type = pT3"); #endif alpaka::atomicOp(acc, trackCandidatesInGPU.nTrackCandidates, 1u); @@ -462,9 +462,9 @@ namespace lst { alpaka::atomicOp(acc, trackCandidatesInGPU.nTrackCandidates, 1u); if (trackCandidateIdx - *trackCandidatesInGPU.nTrackCandidatespT5 - *trackCandidatesInGPU.nTrackCandidatespT3 >= - N_MAX_NONPIXEL_TRACK_CANDIDATES) // pT5 and pT3 TCs have been added, but not pLS TCs + n_max_nonpixel_track_candidates) // pT5 and pT3 TCs have been added, but not pLS TCs { -#ifdef Warnings +#ifdef WARNINGS printf("Track Candidate excess alert! Type = T5"); #endif alpaka::atomicOp(acc, trackCandidatesInGPU.nTrackCandidates, 1u); @@ -509,9 +509,9 @@ namespace lst { unsigned int trackCandidateIdx = alpaka::atomicOp(acc, trackCandidatesInGPU.nTrackCandidates, 1u); if (trackCandidateIdx - *trackCandidatesInGPU.nTrackCandidatesT5 >= - N_MAX_PIXEL_TRACK_CANDIDATES) // T5 TCs have already been added + n_max_pixel_track_candidates) // T5 TCs have already been added { -#ifdef Warnings +#ifdef WARNINGS printf("Track Candidate excess alert! Type = pLS"); #endif alpaka::atomicOp(acc, trackCandidatesInGPU.nTrackCandidates, 1u); @@ -549,9 +549,9 @@ namespace lst { unsigned int trackCandidateIdx = alpaka::atomicOp(acc, trackCandidatesInGPU.nTrackCandidates, 1u); - if (trackCandidateIdx >= N_MAX_PIXEL_TRACK_CANDIDATES) // No other TCs have been added yet + if (trackCandidateIdx >= n_max_pixel_track_candidates) // No other TCs have been added yet { -#ifdef Warnings +#ifdef WARNINGS printf("Track Candidate excess alert! Type = pT5"); #endif alpaka::atomicOp(acc, trackCandidatesInGPU.nTrackCandidates, 1u); diff --git a/RecoTracker/LSTCore/src/alpaka/Triplet.h b/RecoTracker/LSTCore/src/alpaka/Triplet.h index 7375a68db26c8..4b9606b3ca2e7 100644 --- a/RecoTracker/LSTCore/src/alpaka/Triplet.h +++ b/RecoTracker/LSTCore/src/alpaka/Triplet.h @@ -768,7 +768,7 @@ namespace lst { float c = ((x2 * y3 - x3 * y2) * xy1sqr + (x3 * y1 - x1 * y3) * xy2sqr + (x1 * y2 - x2 * y1) * xy3sqr) * denomInv; if (((y1 - y3) * (x2 - x3) - (x1 - x3) * (y2 - y3) == 0) || (g * g + f * f - c < 0)) { -#ifdef Warnings +#ifdef WARNINGS printf("three collinear points or FATAL! r^2 < 0!\n"); #endif radius = -1.f; @@ -927,7 +927,7 @@ namespace lst { acc, &tripletsInGPU.totOccupancyTriplets[innerInnerLowerModuleIndex], 1u); if (static_cast(totOccupancyTriplets) >= rangesInGPU.tripletModuleOccupancy[innerInnerLowerModuleIndex]) { -#ifdef Warnings +#ifdef WARNINGS printf("Triplet excess alert! Module index = %d\n", innerInnerLowerModuleIndex); #endif } else { @@ -1065,7 +1065,7 @@ namespace lst { occupancy = 39; else { occupancy = 0; -#ifdef Warnings +#ifdef WARNINGS printf("Unhandled case in createTripletArrayRanges! Module index = %i\n", i); #endif } diff --git a/RecoTracker/LSTCore/standalone/bin/sdl.h b/RecoTracker/LSTCore/standalone/bin/sdl.h index 78545c3f55269..d4e1ff658945b 100644 --- a/RecoTracker/LSTCore/standalone/bin/sdl.h +++ b/RecoTracker/LSTCore/standalone/bin/sdl.h @@ -10,7 +10,7 @@ #include #include -#include "trktree.h" +#include "Trktree.h" #include "rooutil.h" #include "cxxopts.h" diff --git a/RecoTracker/LSTCore/standalone/bin/sdl_make_tracklooper b/RecoTracker/LSTCore/standalone/bin/sdl_make_tracklooper index ae4678ec18892..2cadee47be49c 100755 --- a/RecoTracker/LSTCore/standalone/bin/sdl_make_tracklooper +++ b/RecoTracker/LSTCore/standalone/bin/sdl_make_tracklooper @@ -170,7 +170,7 @@ fi PRINTWARNINGSOPT= if $PRINTWARNINGS; then - PRINTWARNINGSOPT="LSTWARNINGSFLAG=-DWarnings" + PRINTWARNINGSOPT="LSTWARNINGSFLAG=-DWARNINGS" fi PTCUTOPT="PTCUTFLAG=-DPT_CUT=${PTCUTVALUE}" diff --git a/RecoTracker/LSTCore/standalone/code/core/AnalysisConfig.h b/RecoTracker/LSTCore/standalone/code/core/AnalysisConfig.h index 6decf4bec42c8..e06e5e7af26f4 100644 --- a/RecoTracker/LSTCore/standalone/code/core/AnalysisConfig.h +++ b/RecoTracker/LSTCore/standalone/code/core/AnalysisConfig.h @@ -3,7 +3,7 @@ #include "TString.h" #include "rooutil.h" -#include "trktree.h" +#include "Trktree.h" #include "ModuleConnectionMap.h" class AnalysisConfig { @@ -78,7 +78,7 @@ class AnalysisConfig { int job_index; // Custom Looper object to facilitate looping over many files - RooUtil::Looper looper; + RooUtil::Looper looper; // Custom Cutflow framework RooUtil::Cutflow cutflow; diff --git a/RecoTracker/LSTCore/standalone/code/core/trktree.cc b/RecoTracker/LSTCore/standalone/code/core/Trktree.cc similarity index 92% rename from RecoTracker/LSTCore/standalone/code/core/trktree.cc rename to RecoTracker/LSTCore/standalone/code/core/Trktree.cc index fb3e36c4c315b..8f4a93f6c272a 100644 --- a/RecoTracker/LSTCore/standalone/code/core/trktree.cc +++ b/RecoTracker/LSTCore/standalone/code/core/Trktree.cc @@ -1,7 +1,7 @@ -#include "trktree.h" -trktree trk; +#include "Trktree.h" +Trktree trk; -void trktree::Init(TTree *tree) { +void Trktree::Init(TTree *tree) { tree->SetMakeClass(1); see_stateCcov01_branch = 0; if (tree->GetBranch("see_stateCcov01") != 0) { @@ -2128,7 +2128,7 @@ void trktree::Init(TTree *tree) { } tree->SetMakeClass(0); } -void trktree::GetEntry(unsigned int idx) { +void Trktree::GetEntry(unsigned int idx) { index = idx; see_stateCcov01_isLoaded = false; simhit_rod_isLoaded = false; @@ -2434,7 +2434,7 @@ void trktree::GetEntry(unsigned int idx) { trk_inner_pt_isLoaded = false; see_stateTrajGlbPy_isLoaded = false; } -void trktree::LoadAllBranches() { +void Trktree::LoadAllBranches() { if (see_stateCcov01_branch != 0) see_stateCcov01(); if (simhit_rod_branch != 0) @@ -3042,7 +3042,7 @@ void trktree::LoadAllBranches() { if (see_stateTrajGlbPy_branch != 0) see_stateTrajGlbPy(); } -const std::vector &trktree::see_stateCcov01() { +const std::vector &Trktree::see_stateCcov01() { if (not see_stateCcov01_isLoaded) { if (see_stateCcov01_branch != 0) { see_stateCcov01_branch->GetEntry(index); @@ -3054,7 +3054,7 @@ const std::vector &trktree::see_stateCcov01() { } return *see_stateCcov01_; } -const std::vector &trktree::simhit_rod() { +const std::vector &Trktree::simhit_rod() { if (not simhit_rod_isLoaded) { if (simhit_rod_branch != 0) { simhit_rod_branch->GetEntry(index); @@ -3066,7 +3066,7 @@ const std::vector &trktree::simhit_rod() { } return *simhit_rod_; } -const std::vector &trktree::trk_phi() { +const std::vector &Trktree::trk_phi() { if (not trk_phi_isLoaded) { if (trk_phi_branch != 0) { trk_phi_branch->GetEntry(index); @@ -3078,7 +3078,7 @@ const std::vector &trktree::trk_phi() { } return *trk_phi_; } -const float &trktree::bsp_x() { +const float &Trktree::bsp_x() { if (not bsp_x_isLoaded) { if (bsp_x_branch != 0) { bsp_x_branch->GetEntry(index); @@ -3090,7 +3090,7 @@ const float &trktree::bsp_x() { } return bsp_x_; } -const std::vector &trktree::see_stateCcov05() { +const std::vector &Trktree::see_stateCcov05() { if (not see_stateCcov05_isLoaded) { if (see_stateCcov05_branch != 0) { see_stateCcov05_branch->GetEntry(index); @@ -3102,7 +3102,7 @@ const std::vector &trktree::see_stateCcov05() { } return *see_stateCcov05_; } -const std::vector &trktree::see_stateCcov04() { +const std::vector &Trktree::see_stateCcov04() { if (not see_stateCcov04_isLoaded) { if (see_stateCcov04_branch != 0) { see_stateCcov04_branch->GetEntry(index); @@ -3114,7 +3114,7 @@ const std::vector &trktree::see_stateCcov04() { } return *see_stateCcov04_; } -const std::vector &trktree::trk_dxyPV() { +const std::vector &Trktree::trk_dxyPV() { if (not trk_dxyPV_isLoaded) { if (trk_dxyPV_branch != 0) { trk_dxyPV_branch->GetEntry(index); @@ -3126,7 +3126,7 @@ const std::vector &trktree::trk_dxyPV() { } return *trk_dxyPV_; } -const std::vector &trktree::simhit_tof() { +const std::vector &Trktree::simhit_tof() { if (not simhit_tof_isLoaded) { if (simhit_tof_branch != 0) { simhit_tof_branch->GetEntry(index); @@ -3138,7 +3138,7 @@ const std::vector &trktree::simhit_tof() { } return *simhit_tof_; } -const std::vector &trktree::sim_event() { +const std::vector &Trktree::sim_event() { if (not sim_event_isLoaded) { if (sim_event_branch != 0) { sim_event_branch->GetEntry(index); @@ -3150,7 +3150,7 @@ const std::vector &trktree::sim_event() { } return *sim_event_; } -const std::vector &trktree::simhit_isStack() { +const std::vector &Trktree::simhit_isStack() { if (not simhit_isStack_isLoaded) { if (simhit_isStack_branch != 0) { simhit_isStack_branch->GetEntry(index); @@ -3162,7 +3162,7 @@ const std::vector &trktree::simhit_isStack() { } return *simhit_isStack_; } -const std::vector &trktree::trk_dz() { +const std::vector &Trktree::trk_dz() { if (not trk_dz_isLoaded) { if (trk_dz_branch != 0) { trk_dz_branch->GetEntry(index); @@ -3174,7 +3174,7 @@ const std::vector &trktree::trk_dz() { } return *trk_dz_; } -const std::vector &trktree::see_stateCcov03() { +const std::vector &Trktree::see_stateCcov03() { if (not see_stateCcov03_isLoaded) { if (see_stateCcov03_branch != 0) { see_stateCcov03_branch->GetEntry(index); @@ -3186,7 +3186,7 @@ const std::vector &trktree::see_stateCcov03() { } return *see_stateCcov03_; } -const std::vector &trktree::sim_eta() { +const std::vector &Trktree::sim_eta() { if (not sim_eta_isLoaded) { if (sim_eta_branch != 0) { sim_eta_branch->GetEntry(index); @@ -3198,7 +3198,7 @@ const std::vector &trktree::sim_eta() { } return *sim_eta_; } -const std::vector &trktree::simvtx_processType() { +const std::vector &Trktree::simvtx_processType() { if (not simvtx_processType_isLoaded) { if (simvtx_processType_branch != 0) { simvtx_processType_branch->GetEntry(index); @@ -3210,7 +3210,7 @@ const std::vector &trktree::simvtx_processType() { } return *simvtx_processType_; } -const std::vector &trktree::pix_radL() { +const std::vector &Trktree::pix_radL() { if (not pix_radL_isLoaded) { if (pix_radL_branch != 0) { pix_radL_branch->GetEntry(index); @@ -3222,7 +3222,7 @@ const std::vector &trktree::pix_radL() { } return *pix_radL_; } -const std::vector &trktree::see_stateCcov02() { +const std::vector &Trktree::see_stateCcov02() { if (not see_stateCcov02_isLoaded) { if (see_stateCcov02_branch != 0) { see_stateCcov02_branch->GetEntry(index); @@ -3234,7 +3234,7 @@ const std::vector &trktree::see_stateCcov02() { } return *see_stateCcov02_; } -const std::vector &trktree::see_nGlued() { +const std::vector &Trktree::see_nGlued() { if (not see_nGlued_isLoaded) { if (see_nGlued_branch != 0) { see_nGlued_branch->GetEntry(index); @@ -3246,7 +3246,7 @@ const std::vector &trktree::see_nGlued() { } return *see_nGlued_; } -const std::vector &trktree::trk_bestSimTrkIdx() { +const std::vector &Trktree::trk_bestSimTrkIdx() { if (not trk_bestSimTrkIdx_isLoaded) { if (trk_bestSimTrkIdx_branch != 0) { trk_bestSimTrkIdx_branch->GetEntry(index); @@ -3258,7 +3258,7 @@ const std::vector &trktree::trk_bestSimTrkIdx() { } return *trk_bestSimTrkIdx_; } -const std::vector &trktree::see_stateTrajGlbPz() { +const std::vector &Trktree::see_stateTrajGlbPz() { if (not see_stateTrajGlbPz_isLoaded) { if (see_stateTrajGlbPz_branch != 0) { see_stateTrajGlbPz_branch->GetEntry(index); @@ -3270,7 +3270,7 @@ const std::vector &trktree::see_stateTrajGlbPz() { } return *see_stateTrajGlbPz_; } -const std::vector &trktree::pix_yz() { +const std::vector &Trktree::pix_yz() { if (not pix_yz_isLoaded) { if (pix_yz_branch != 0) { pix_yz_branch->GetEntry(index); @@ -3282,7 +3282,7 @@ const std::vector &trktree::pix_yz() { } return *pix_yz_; } -const std::vector &trktree::pix_yy() { +const std::vector &Trktree::pix_yy() { if (not pix_yy_isLoaded) { if (pix_yy_branch != 0) { pix_yy_branch->GetEntry(index); @@ -3294,7 +3294,7 @@ const std::vector &trktree::pix_yy() { } return *pix_yy_; } -const std::vector &trktree::simhit_process() { +const std::vector &Trktree::simhit_process() { if (not simhit_process_isLoaded) { if (simhit_process_branch != 0) { simhit_process_branch->GetEntry(index); @@ -3306,7 +3306,7 @@ const std::vector &trktree::simhit_process() { } return *simhit_process_; } -const std::vector &trktree::see_stateCcov34() { +const std::vector &Trktree::see_stateCcov34() { if (not see_stateCcov34_isLoaded) { if (see_stateCcov34_branch != 0) { see_stateCcov34_branch->GetEntry(index); @@ -3318,7 +3318,7 @@ const std::vector &trktree::see_stateCcov34() { } return *see_stateCcov34_; } -const std::vector &trktree::trk_nInnerLost() { +const std::vector &Trktree::trk_nInnerLost() { if (not trk_nInnerLost_isLoaded) { if (trk_nInnerLost_branch != 0) { trk_nInnerLost_branch->GetEntry(index); @@ -3330,7 +3330,7 @@ const std::vector &trktree::trk_nInnerLost() { } return *trk_nInnerLost_; } -const std::vector &trktree::see_py() { +const std::vector &Trktree::see_py() { if (not see_py_isLoaded) { if (see_py_branch != 0) { see_py_branch->GetEntry(index); @@ -3342,7 +3342,7 @@ const std::vector &trktree::see_py() { } return *see_py_; } -const std::vector > &trktree::sim_trkIdx() { +const std::vector > &Trktree::sim_trkIdx() { if (not sim_trkIdx_isLoaded) { if (sim_trkIdx_branch != 0) { sim_trkIdx_branch->GetEntry(index); @@ -3354,7 +3354,7 @@ const std::vector > &trktree::sim_trkIdx() { } return *sim_trkIdx_; } -const std::vector &trktree::trk_nLost() { +const std::vector &Trktree::trk_nLost() { if (not trk_nLost_isLoaded) { if (trk_nLost_branch != 0) { trk_nLost_branch->GetEntry(index); @@ -3366,7 +3366,7 @@ const std::vector &trktree::trk_nLost() { } return *trk_nLost_; } -const std::vector &trktree::pix_isBarrel() { +const std::vector &Trktree::pix_isBarrel() { if (not pix_isBarrel_isLoaded) { if (pix_isBarrel_branch != 0) { pix_isBarrel_branch->GetEntry(index); @@ -3378,7 +3378,7 @@ const std::vector &trktree::pix_isBarrel() { } return *pix_isBarrel_; } -const std::vector &trktree::see_dxyErr() { +const std::vector &Trktree::see_dxyErr() { if (not see_dxyErr_isLoaded) { if (see_dxyErr_branch != 0) { see_dxyErr_branch->GetEntry(index); @@ -3390,7 +3390,7 @@ const std::vector &trktree::see_dxyErr() { } return *see_dxyErr_; } -const std::vector &trktree::simhit_detId() { +const std::vector &Trktree::simhit_detId() { if (not simhit_detId_isLoaded) { if (simhit_detId_branch != 0) { simhit_detId_branch->GetEntry(index); @@ -3402,7 +3402,7 @@ const std::vector &trktree::simhit_detId() { } return *simhit_detId_; } -const std::vector &trktree::simhit_subdet() { +const std::vector &Trktree::simhit_subdet() { if (not simhit_subdet_isLoaded) { if (simhit_subdet_branch != 0) { simhit_subdet_branch->GetEntry(index); @@ -3414,7 +3414,7 @@ const std::vector &trktree::simhit_subdet() { } return *simhit_subdet_; } -const std::vector > &trktree::see_hitIdx() { +const std::vector > &Trktree::see_hitIdx() { if (not see_hitIdx_isLoaded) { if (see_hitIdx_branch != 0) { see_hitIdx_branch->GetEntry(index); @@ -3426,7 +3426,7 @@ const std::vector > &trktree::see_hitIdx() { } return *see_hitIdx_; } -const std::vector &trktree::see_pt() { +const std::vector &Trktree::see_pt() { if (not see_pt_isLoaded) { if (see_pt_branch != 0) { see_pt_branch->GetEntry(index); @@ -3438,7 +3438,7 @@ const std::vector &trktree::see_pt() { } return *see_pt_; } -const std::vector &trktree::ph2_detId() { +const std::vector &Trktree::ph2_detId() { if (not ph2_detId_isLoaded) { if (ph2_detId_branch != 0) { ph2_detId_branch->GetEntry(index); @@ -3450,7 +3450,7 @@ const std::vector &trktree::ph2_detId() { } return *ph2_detId_; } -const std::vector &trktree::trk_nStripLay() { +const std::vector &Trktree::trk_nStripLay() { if (not trk_nStripLay_isLoaded) { if (trk_nStripLay_branch != 0) { trk_nStripLay_branch->GetEntry(index); @@ -3462,7 +3462,7 @@ const std::vector &trktree::trk_nStripLay() { } return *trk_nStripLay_; } -const std::vector &trktree::see_bestFromFirstHitSimTrkIdx() { +const std::vector &Trktree::see_bestFromFirstHitSimTrkIdx() { if (not see_bestFromFirstHitSimTrkIdx_isLoaded) { if (see_bestFromFirstHitSimTrkIdx_branch != 0) { see_bestFromFirstHitSimTrkIdx_branch->GetEntry(index); @@ -3474,7 +3474,7 @@ const std::vector &trktree::see_bestFromFirstHitSimTrkIdx() { } return *see_bestFromFirstHitSimTrkIdx_; } -const std::vector &trktree::sim_pca_pt() { +const std::vector &Trktree::sim_pca_pt() { if (not sim_pca_pt_isLoaded) { if (sim_pca_pt_branch != 0) { sim_pca_pt_branch->GetEntry(index); @@ -3486,7 +3486,7 @@ const std::vector &trktree::sim_pca_pt() { } return *sim_pca_pt_; } -const std::vector &trktree::see_trkIdx() { +const std::vector &Trktree::see_trkIdx() { if (not see_trkIdx_isLoaded) { if (see_trkIdx_branch != 0) { see_trkIdx_branch->GetEntry(index); @@ -3498,7 +3498,7 @@ const std::vector &trktree::see_trkIdx() { } return *see_trkIdx_; } -const std::vector &trktree::trk_nCluster() { +const std::vector &Trktree::trk_nCluster() { if (not trk_nCluster_isLoaded) { if (trk_nCluster_branch != 0) { trk_nCluster_branch->GetEntry(index); @@ -3510,7 +3510,7 @@ const std::vector &trktree::trk_nCluster() { } return *trk_nCluster_; } -const std::vector &trktree::trk_bestFromFirstHitSimTrkNChi2() { +const std::vector &Trktree::trk_bestFromFirstHitSimTrkNChi2() { if (not trk_bestFromFirstHitSimTrkNChi2_isLoaded) { if (trk_bestFromFirstHitSimTrkNChi2_branch != 0) { trk_bestFromFirstHitSimTrkNChi2_branch->GetEntry(index); @@ -3522,7 +3522,7 @@ const std::vector &trktree::trk_bestFromFirstHitSimTrkNChi2() { } return *trk_bestFromFirstHitSimTrkNChi2_; } -const std::vector &trktree::trk_isHP() { +const std::vector &Trktree::trk_isHP() { if (not trk_isHP_isLoaded) { if (trk_isHP_branch != 0) { trk_isHP_branch->GetEntry(index); @@ -3534,7 +3534,7 @@ const std::vector &trktree::trk_isHP() { } return *trk_isHP_; } -const std::vector > &trktree::simhit_hitType() { +const std::vector > &Trktree::simhit_hitType() { if (not simhit_hitType_isLoaded) { if (simhit_hitType_branch != 0) { simhit_hitType_branch->GetEntry(index); @@ -3546,7 +3546,7 @@ const std::vector > &trktree::simhit_hitType() { } return *simhit_hitType_; } -const std::vector &trktree::ph2_isUpper() { +const std::vector &Trktree::ph2_isUpper() { if (not ph2_isUpper_isLoaded) { if (ph2_isUpper_branch != 0) { ph2_isUpper_branch->GetEntry(index); @@ -3558,7 +3558,7 @@ const std::vector &trktree::ph2_isUpper() { } return *ph2_isUpper_; } -const std::vector &trktree::see_nStrip() { +const std::vector &Trktree::see_nStrip() { if (not see_nStrip_isLoaded) { if (see_nStrip_branch != 0) { see_nStrip_branch->GetEntry(index); @@ -3570,7 +3570,7 @@ const std::vector &trktree::see_nStrip() { } return *see_nStrip_; } -const std::vector &trktree::trk_bestSimTrkShareFracSimClusterDenom() { +const std::vector &Trktree::trk_bestSimTrkShareFracSimClusterDenom() { if (not trk_bestSimTrkShareFracSimClusterDenom_isLoaded) { if (trk_bestSimTrkShareFracSimClusterDenom_branch != 0) { trk_bestSimTrkShareFracSimClusterDenom_branch->GetEntry(index); @@ -3582,7 +3582,7 @@ const std::vector &trktree::trk_bestSimTrkShareFracSimClusterDenom() { } return *trk_bestSimTrkShareFracSimClusterDenom_; } -const std::vector &trktree::simhit_side() { +const std::vector &Trktree::simhit_side() { if (not simhit_side_isLoaded) { if (simhit_side_branch != 0) { simhit_side_branch->GetEntry(index); @@ -3594,7 +3594,7 @@ const std::vector &trktree::simhit_side() { } return *simhit_side_; } -const std::vector &trktree::simhit_x() { +const std::vector &Trktree::simhit_x() { if (not simhit_x_isLoaded) { if (simhit_x_branch != 0) { simhit_x_branch->GetEntry(index); @@ -3606,7 +3606,7 @@ const std::vector &trktree::simhit_x() { } return *simhit_x_; } -const std::vector &trktree::see_q() { +const std::vector &Trktree::see_q() { if (not see_q_isLoaded) { if (see_q_branch != 0) { see_q_branch->GetEntry(index); @@ -3618,7 +3618,7 @@ const std::vector &trktree::see_q() { } return *see_q_; } -const std::vector &trktree::simhit_z() { +const std::vector &Trktree::simhit_z() { if (not simhit_z_isLoaded) { if (simhit_z_branch != 0) { simhit_z_branch->GetEntry(index); @@ -3630,7 +3630,7 @@ const std::vector &trktree::simhit_z() { } return *simhit_z_; } -const std::vector &trktree::sim_pca_lambda() { +const std::vector &Trktree::sim_pca_lambda() { if (not sim_pca_lambda_isLoaded) { if (sim_pca_lambda_branch != 0) { sim_pca_lambda_branch->GetEntry(index); @@ -3642,7 +3642,7 @@ const std::vector &trktree::sim_pca_lambda() { } return *sim_pca_lambda_; } -const std::vector &trktree::sim_q() { +const std::vector &Trktree::sim_q() { if (not sim_q_isLoaded) { if (sim_q_branch != 0) { sim_q_branch->GetEntry(index); @@ -3654,7 +3654,7 @@ const std::vector &trktree::sim_q() { } return *sim_q_; } -const std::vector &trktree::pix_bbxi() { +const std::vector &Trktree::pix_bbxi() { if (not pix_bbxi_isLoaded) { if (pix_bbxi_branch != 0) { pix_bbxi_branch->GetEntry(index); @@ -3666,7 +3666,7 @@ const std::vector &trktree::pix_bbxi() { } return *pix_bbxi_; } -const std::vector &trktree::ph2_order() { +const std::vector &Trktree::ph2_order() { if (not ph2_order_isLoaded) { if (ph2_order_branch != 0) { ph2_order_branch->GetEntry(index); @@ -3678,7 +3678,7 @@ const std::vector &trktree::ph2_order() { } return *ph2_order_; } -const std::vector &trktree::ph2_module() { +const std::vector &Trktree::ph2_module() { if (not ph2_module_isLoaded) { if (ph2_module_branch != 0) { ph2_module_branch->GetEntry(index); @@ -3690,7 +3690,7 @@ const std::vector &trktree::ph2_module() { } return *ph2_module_; } -const std::vector &trktree::inv_order() { +const std::vector &Trktree::inv_order() { if (not inv_order_isLoaded) { if (inv_order_branch != 0) { inv_order_branch->GetEntry(index); @@ -3702,7 +3702,7 @@ const std::vector &trktree::inv_order() { } return *inv_order_; } -const std::vector &trktree::trk_dzErr() { +const std::vector &Trktree::trk_dzErr() { if (not trk_dzErr_isLoaded) { if (trk_dzErr_branch != 0) { trk_dzErr_branch->GetEntry(index); @@ -3714,7 +3714,7 @@ const std::vector &trktree::trk_dzErr() { } return *trk_dzErr_; } -const std::vector &trktree::trk_nInnerInactive() { +const std::vector &Trktree::trk_nInnerInactive() { if (not trk_nInnerInactive_isLoaded) { if (trk_nInnerInactive_branch != 0) { trk_nInnerInactive_branch->GetEntry(index); @@ -3726,7 +3726,7 @@ const std::vector &trktree::trk_nInnerInactive() { } return *trk_nInnerInactive_; } -const std::vector &trktree::see_fitok() { +const std::vector &Trktree::see_fitok() { if (not see_fitok_isLoaded) { if (see_fitok_branch != 0) { see_fitok_branch->GetEntry(index); @@ -3738,7 +3738,7 @@ const std::vector &trktree::see_fitok() { } return *see_fitok_; } -const std::vector &trktree::simhit_blade() { +const std::vector &Trktree::simhit_blade() { if (not simhit_blade_isLoaded) { if (simhit_blade_branch != 0) { simhit_blade_branch->GetEntry(index); @@ -3750,7 +3750,7 @@ const std::vector &trktree::simhit_blade() { } return *simhit_blade_; } -const std::vector &trktree::inv_subdet() { +const std::vector &Trktree::inv_subdet() { if (not inv_subdet_isLoaded) { if (inv_subdet_branch != 0) { inv_subdet_branch->GetEntry(index); @@ -3762,7 +3762,7 @@ const std::vector &trktree::inv_subdet() { } return *inv_subdet_; } -const std::vector &trktree::pix_blade() { +const std::vector &Trktree::pix_blade() { if (not pix_blade_isLoaded) { if (pix_blade_branch != 0) { pix_blade_branch->GetEntry(index); @@ -3774,7 +3774,7 @@ const std::vector &trktree::pix_blade() { } return *pix_blade_; } -const std::vector &trktree::pix_xx() { +const std::vector &Trktree::pix_xx() { if (not pix_xx_isLoaded) { if (pix_xx_branch != 0) { pix_xx_branch->GetEntry(index); @@ -3786,7 +3786,7 @@ const std::vector &trktree::pix_xx() { } return *pix_xx_; } -const std::vector &trktree::pix_xy() { +const std::vector &Trktree::pix_xy() { if (not pix_xy_isLoaded) { if (pix_xy_branch != 0) { pix_xy_branch->GetEntry(index); @@ -3798,7 +3798,7 @@ const std::vector &trktree::pix_xy() { } return *pix_xy_; } -const std::vector &trktree::simhit_panel() { +const std::vector &Trktree::simhit_panel() { if (not simhit_panel_isLoaded) { if (simhit_panel_branch != 0) { simhit_panel_branch->GetEntry(index); @@ -3810,7 +3810,7 @@ const std::vector &trktree::simhit_panel() { } return *simhit_panel_; } -const std::vector &trktree::sim_pz() { +const std::vector &Trktree::sim_pz() { if (not sim_pz_isLoaded) { if (sim_pz_branch != 0) { sim_pz_branch->GetEntry(index); @@ -3822,7 +3822,7 @@ const std::vector &trktree::sim_pz() { } return *sim_pz_; } -const std::vector &trktree::trk_dxy() { +const std::vector &Trktree::trk_dxy() { if (not trk_dxy_isLoaded) { if (trk_dxy_branch != 0) { trk_dxy_branch->GetEntry(index); @@ -3834,7 +3834,7 @@ const std::vector &trktree::trk_dxy() { } return *trk_dxy_; } -const std::vector &trktree::sim_px() { +const std::vector &Trktree::sim_px() { if (not sim_px_isLoaded) { if (sim_px_branch != 0) { sim_px_branch->GetEntry(index); @@ -3846,7 +3846,7 @@ const std::vector &trktree::sim_px() { } return *sim_px_; } -const std::vector &trktree::trk_lambda() { +const std::vector &Trktree::trk_lambda() { if (not trk_lambda_isLoaded) { if (trk_lambda_branch != 0) { trk_lambda_branch->GetEntry(index); @@ -3858,7 +3858,7 @@ const std::vector &trktree::trk_lambda() { } return *trk_lambda_; } -const std::vector &trktree::see_stateCcov12() { +const std::vector &Trktree::see_stateCcov12() { if (not see_stateCcov12_isLoaded) { if (see_stateCcov12_branch != 0) { see_stateCcov12_branch->GetEntry(index); @@ -3870,7 +3870,7 @@ const std::vector &trktree::see_stateCcov12() { } return *see_stateCcov12_; } -const std::vector &trktree::sim_pt() { +const std::vector &Trktree::sim_pt() { if (not sim_pt_isLoaded) { if (sim_pt_branch != 0) { sim_pt_branch->GetEntry(index); @@ -3882,7 +3882,7 @@ const std::vector &trktree::sim_pt() { } return *sim_pt_; } -const std::vector &trktree::sim_py() { +const std::vector &Trktree::sim_py() { if (not sim_py_isLoaded) { if (sim_py_branch != 0) { sim_py_branch->GetEntry(index); @@ -3894,7 +3894,7 @@ const std::vector &trktree::sim_py() { } return *sim_py_; } -const std::vector > &trktree::sim_decayVtxIdx() { +const std::vector > &Trktree::sim_decayVtxIdx() { if (not sim_decayVtxIdx_isLoaded) { if (sim_decayVtxIdx_branch != 0) { sim_decayVtxIdx_branch->GetEntry(index); @@ -3906,7 +3906,7 @@ const std::vector > &trktree::sim_decayVtxIdx() { } return *sim_decayVtxIdx_; } -const std::vector &trktree::pix_detId() { +const std::vector &Trktree::pix_detId() { if (not pix_detId_isLoaded) { if (pix_detId_branch != 0) { pix_detId_branch->GetEntry(index); @@ -3918,7 +3918,7 @@ const std::vector &trktree::pix_detId() { } return *pix_detId_; } -const std::vector &trktree::trk_eta() { +const std::vector &Trktree::trk_eta() { if (not trk_eta_isLoaded) { if (trk_eta_branch != 0) { trk_eta_branch->GetEntry(index); @@ -3930,7 +3930,7 @@ const std::vector &trktree::trk_eta() { } return *trk_eta_; } -const std::vector &trktree::see_dxy() { +const std::vector &Trktree::see_dxy() { if (not see_dxy_isLoaded) { if (see_dxy_branch != 0) { see_dxy_branch->GetEntry(index); @@ -3942,7 +3942,7 @@ const std::vector &trktree::see_dxy() { } return *see_dxy_; } -const std::vector &trktree::sim_isFromBHadron() { +const std::vector &Trktree::sim_isFromBHadron() { if (not sim_isFromBHadron_isLoaded) { if (sim_isFromBHadron_branch != 0) { sim_isFromBHadron_branch->GetEntry(index); @@ -3954,7 +3954,7 @@ const std::vector &trktree::sim_isFromBHadron() { } return *sim_isFromBHadron_; } -const std::vector &trktree::simhit_eloss() { +const std::vector &Trktree::simhit_eloss() { if (not simhit_eloss_isLoaded) { if (simhit_eloss_branch != 0) { simhit_eloss_branch->GetEntry(index); @@ -3966,7 +3966,7 @@ const std::vector &trktree::simhit_eloss() { } return *simhit_eloss_; } -const std::vector &trktree::see_stateCcov11() { +const std::vector &Trktree::see_stateCcov11() { if (not see_stateCcov11_isLoaded) { if (see_stateCcov11_branch != 0) { see_stateCcov11_branch->GetEntry(index); @@ -3978,7 +3978,7 @@ const std::vector &trktree::see_stateCcov11() { } return *see_stateCcov11_; } -const std::vector &trktree::simhit_pz() { +const std::vector &Trktree::simhit_pz() { if (not simhit_pz_isLoaded) { if (simhit_pz_branch != 0) { simhit_pz_branch->GetEntry(index); @@ -3990,7 +3990,7 @@ const std::vector &trktree::simhit_pz() { } return *simhit_pz_; } -const std::vector &trktree::sim_pdgId() { +const std::vector &Trktree::sim_pdgId() { if (not sim_pdgId_isLoaded) { if (sim_pdgId_branch != 0) { sim_pdgId_branch->GetEntry(index); @@ -4002,7 +4002,7 @@ const std::vector &trktree::sim_pdgId() { } return *sim_pdgId_; } -const std::vector &trktree::trk_stopReason() { +const std::vector &Trktree::trk_stopReason() { if (not trk_stopReason_isLoaded) { if (trk_stopReason_branch != 0) { trk_stopReason_branch->GetEntry(index); @@ -4014,7 +4014,7 @@ const std::vector &trktree::trk_stopReason() { } return *trk_stopReason_; } -const std::vector &trktree::sim_pca_phi() { +const std::vector &Trktree::sim_pca_phi() { if (not sim_pca_phi_isLoaded) { if (sim_pca_phi_branch != 0) { sim_pca_phi_branch->GetEntry(index); @@ -4026,7 +4026,7 @@ const std::vector &trktree::sim_pca_phi() { } return *sim_pca_phi_; } -const std::vector &trktree::simhit_isLower() { +const std::vector &Trktree::simhit_isLower() { if (not simhit_isLower_isLoaded) { if (simhit_isLower_branch != 0) { simhit_isLower_branch->GetEntry(index); @@ -4038,7 +4038,7 @@ const std::vector &trktree::simhit_isLower() { } return *simhit_isLower_; } -const std::vector &trktree::inv_ring() { +const std::vector &Trktree::inv_ring() { if (not inv_ring_isLoaded) { if (inv_ring_branch != 0) { inv_ring_branch->GetEntry(index); @@ -4050,7 +4050,7 @@ const std::vector &trktree::inv_ring() { } return *inv_ring_; } -const std::vector > &trktree::ph2_simHitIdx() { +const std::vector > &Trktree::ph2_simHitIdx() { if (not ph2_simHitIdx_isLoaded) { if (ph2_simHitIdx_branch != 0) { ph2_simHitIdx_branch->GetEntry(index); @@ -4062,7 +4062,7 @@ const std::vector > &trktree::ph2_simHitIdx() { } return *ph2_simHitIdx_; } -const std::vector &trktree::simhit_order() { +const std::vector &Trktree::simhit_order() { if (not simhit_order_isLoaded) { if (simhit_order_branch != 0) { simhit_order_branch->GetEntry(index); @@ -4074,7 +4074,7 @@ const std::vector &trktree::simhit_order() { } return *simhit_order_; } -const std::vector &trktree::trk_dxyClosestPV() { +const std::vector &Trktree::trk_dxyClosestPV() { if (not trk_dxyClosestPV_isLoaded) { if (trk_dxyClosestPV_branch != 0) { trk_dxyClosestPV_branch->GetEntry(index); @@ -4086,7 +4086,7 @@ const std::vector &trktree::trk_dxyClosestPV() { } return *trk_dxyClosestPV_; } -const std::vector &trktree::pix_z() { +const std::vector &Trktree::pix_z() { if (not pix_z_isLoaded) { if (pix_z_branch != 0) { pix_z_branch->GetEntry(index); @@ -4098,7 +4098,7 @@ const std::vector &trktree::pix_z() { } return *pix_z_; } -const std::vector &trktree::pix_y() { +const std::vector &Trktree::pix_y() { if (not pix_y_isLoaded) { if (pix_y_branch != 0) { pix_y_branch->GetEntry(index); @@ -4110,7 +4110,7 @@ const std::vector &trktree::pix_y() { } return *pix_y_; } -const std::vector &trktree::pix_x() { +const std::vector &Trktree::pix_x() { if (not pix_x_isLoaded) { if (pix_x_branch != 0) { pix_x_branch->GetEntry(index); @@ -4122,7 +4122,7 @@ const std::vector &trktree::pix_x() { } return *pix_x_; } -const std::vector > &trktree::see_hitType() { +const std::vector > &Trktree::see_hitType() { if (not see_hitType_isLoaded) { if (see_hitType_branch != 0) { see_hitType_branch->GetEntry(index); @@ -4134,7 +4134,7 @@ const std::vector > &trktree::see_hitType() { } return *see_hitType_; } -const std::vector &trktree::see_statePt() { +const std::vector &Trktree::see_statePt() { if (not see_statePt_isLoaded) { if (see_statePt_branch != 0) { see_statePt_branch->GetEntry(index); @@ -4146,7 +4146,7 @@ const std::vector &trktree::see_statePt() { } return *see_statePt_; } -const std::vector > &trktree::simvtx_sourceSimIdx() { +const std::vector > &Trktree::simvtx_sourceSimIdx() { if (not simvtx_sourceSimIdx_isLoaded) { if (simvtx_sourceSimIdx_branch != 0) { simvtx_sourceSimIdx_branch->GetEntry(index); @@ -4158,7 +4158,7 @@ const std::vector > &trktree::simvtx_sourceSimIdx() { } return *simvtx_sourceSimIdx_; } -const unsigned long long &trktree::event() { +const unsigned long long &Trktree::event() { if (not event_isLoaded) { if (event_branch != 0) { event_branch->GetEntry(index); @@ -4170,7 +4170,7 @@ const unsigned long long &trktree::event() { } return event_; } -const std::vector &trktree::pix_module() { +const std::vector &Trktree::pix_module() { if (not pix_module_isLoaded) { if (pix_module_branch != 0) { pix_module_branch->GetEntry(index); @@ -4182,7 +4182,7 @@ const std::vector &trktree::pix_module() { } return *pix_module_; } -const std::vector &trktree::ph2_side() { +const std::vector &Trktree::ph2_side() { if (not ph2_side_isLoaded) { if (ph2_side_branch != 0) { ph2_side_branch->GetEntry(index); @@ -4194,7 +4194,7 @@ const std::vector &trktree::ph2_side() { } return *ph2_side_; } -const std::vector &trktree::trk_bestSimTrkNChi2() { +const std::vector &Trktree::trk_bestSimTrkNChi2() { if (not trk_bestSimTrkNChi2_isLoaded) { if (trk_bestSimTrkNChi2_branch != 0) { trk_bestSimTrkNChi2_branch->GetEntry(index); @@ -4206,7 +4206,7 @@ const std::vector &trktree::trk_bestSimTrkNChi2() { } return *trk_bestSimTrkNChi2_; } -const std::vector &trktree::see_stateTrajPy() { +const std::vector &Trktree::see_stateTrajPy() { if (not see_stateTrajPy_isLoaded) { if (see_stateTrajPy_branch != 0) { see_stateTrajPy_branch->GetEntry(index); @@ -4218,7 +4218,7 @@ const std::vector &trktree::see_stateTrajPy() { } return *see_stateTrajPy_; } -const std::vector &trktree::inv_type() { +const std::vector &Trktree::inv_type() { if (not inv_type_isLoaded) { if (inv_type_branch != 0) { inv_type_branch->GetEntry(index); @@ -4230,7 +4230,7 @@ const std::vector &trktree::inv_type() { } return *inv_type_; } -const float &trktree::bsp_z() { +const float &Trktree::bsp_z() { if (not bsp_z_isLoaded) { if (bsp_z_branch != 0) { bsp_z_branch->GetEntry(index); @@ -4242,7 +4242,7 @@ const float &trktree::bsp_z() { } return bsp_z_; } -const float &trktree::bsp_y() { +const float &Trktree::bsp_y() { if (not bsp_y_isLoaded) { if (bsp_y_branch != 0) { bsp_y_branch->GetEntry(index); @@ -4254,7 +4254,7 @@ const float &trktree::bsp_y() { } return bsp_y_; } -const std::vector &trktree::simhit_py() { +const std::vector &Trktree::simhit_py() { if (not simhit_py_isLoaded) { if (simhit_py_branch != 0) { simhit_py_branch->GetEntry(index); @@ -4266,7 +4266,7 @@ const std::vector &trktree::simhit_py() { } return *simhit_py_; } -const std::vector > &trktree::see_simTrkIdx() { +const std::vector > &Trktree::see_simTrkIdx() { if (not see_simTrkIdx_isLoaded) { if (see_simTrkIdx_branch != 0) { see_simTrkIdx_branch->GetEntry(index); @@ -4278,7 +4278,7 @@ const std::vector > &trktree::see_simTrkIdx() { } return *see_simTrkIdx_; } -const std::vector &trktree::see_stateTrajGlbZ() { +const std::vector &Trktree::see_stateTrajGlbZ() { if (not see_stateTrajGlbZ_isLoaded) { if (see_stateTrajGlbZ_branch != 0) { see_stateTrajGlbZ_branch->GetEntry(index); @@ -4290,7 +4290,7 @@ const std::vector &trktree::see_stateTrajGlbZ() { } return *see_stateTrajGlbZ_; } -const std::vector &trktree::see_stateTrajGlbX() { +const std::vector &Trktree::see_stateTrajGlbX() { if (not see_stateTrajGlbX_isLoaded) { if (see_stateTrajGlbX_branch != 0) { see_stateTrajGlbX_branch->GetEntry(index); @@ -4302,7 +4302,7 @@ const std::vector &trktree::see_stateTrajGlbX() { } return *see_stateTrajGlbX_; } -const std::vector &trktree::see_stateTrajGlbY() { +const std::vector &Trktree::see_stateTrajGlbY() { if (not see_stateTrajGlbY_isLoaded) { if (see_stateTrajGlbY_branch != 0) { see_stateTrajGlbY_branch->GetEntry(index); @@ -4314,7 +4314,7 @@ const std::vector &trktree::see_stateTrajGlbY() { } return *see_stateTrajGlbY_; } -const std::vector &trktree::trk_originalAlgo() { +const std::vector &Trktree::trk_originalAlgo() { if (not trk_originalAlgo_isLoaded) { if (trk_originalAlgo_branch != 0) { trk_originalAlgo_branch->GetEntry(index); @@ -4326,7 +4326,7 @@ const std::vector &trktree::trk_originalAlgo() { } return *trk_originalAlgo_; } -const std::vector &trktree::trk_nPixel() { +const std::vector &Trktree::trk_nPixel() { if (not trk_nPixel_isLoaded) { if (trk_nPixel_branch != 0) { trk_nPixel_branch->GetEntry(index); @@ -4338,7 +4338,7 @@ const std::vector &trktree::trk_nPixel() { } return *trk_nPixel_; } -const std::vector &trktree::see_stateCcov14() { +const std::vector &Trktree::see_stateCcov14() { if (not see_stateCcov14_isLoaded) { if (see_stateCcov14_branch != 0) { see_stateCcov14_branch->GetEntry(index); @@ -4350,7 +4350,7 @@ const std::vector &trktree::see_stateCcov14() { } return *see_stateCcov14_; } -const std::vector &trktree::see_stateCcov15() { +const std::vector &Trktree::see_stateCcov15() { if (not see_stateCcov15_isLoaded) { if (see_stateCcov15_branch != 0) { see_stateCcov15_branch->GetEntry(index); @@ -4362,7 +4362,7 @@ const std::vector &trktree::see_stateCcov15() { } return *see_stateCcov15_; } -const std::vector &trktree::trk_phiErr() { +const std::vector &Trktree::trk_phiErr() { if (not trk_phiErr_isLoaded) { if (trk_phiErr_branch != 0) { trk_phiErr_branch->GetEntry(index); @@ -4374,7 +4374,7 @@ const std::vector &trktree::trk_phiErr() { } return *trk_phiErr_; } -const std::vector &trktree::see_stateCcov13() { +const std::vector &Trktree::see_stateCcov13() { if (not see_stateCcov13_isLoaded) { if (see_stateCcov13_branch != 0) { see_stateCcov13_branch->GetEntry(index); @@ -4386,7 +4386,7 @@ const std::vector &trktree::see_stateCcov13() { } return *see_stateCcov13_; } -const std::vector > &trktree::pix_chargeFraction() { +const std::vector > &Trktree::pix_chargeFraction() { if (not pix_chargeFraction_isLoaded) { if (pix_chargeFraction_branch != 0) { pix_chargeFraction_branch->GetEntry(index); @@ -4398,7 +4398,7 @@ const std::vector > &trktree::pix_chargeFraction() { } return *pix_chargeFraction_; } -const std::vector &trktree::trk_q() { +const std::vector &Trktree::trk_q() { if (not trk_q_isLoaded) { if (trk_q_branch != 0) { trk_q_branch->GetEntry(index); @@ -4410,7 +4410,7 @@ const std::vector &trktree::trk_q() { } return *trk_q_; } -const std::vector > &trktree::sim_seedIdx() { +const std::vector > &Trktree::sim_seedIdx() { if (not sim_seedIdx_isLoaded) { if (sim_seedIdx_branch != 0) { sim_seedIdx_branch->GetEntry(index); @@ -4422,7 +4422,7 @@ const std::vector > &trktree::sim_seedIdx() { } return *sim_seedIdx_; } -const std::vector &trktree::see_dzErr() { +const std::vector &Trktree::see_dzErr() { if (not see_dzErr_isLoaded) { if (see_dzErr_branch != 0) { see_dzErr_branch->GetEntry(index); @@ -4434,7 +4434,7 @@ const std::vector &trktree::see_dzErr() { } return *see_dzErr_; } -const std::vector &trktree::sim_nRecoClusters() { +const std::vector &Trktree::sim_nRecoClusters() { if (not sim_nRecoClusters_isLoaded) { if (sim_nRecoClusters_branch != 0) { sim_nRecoClusters_branch->GetEntry(index); @@ -4446,7 +4446,7 @@ const std::vector &trktree::sim_nRecoClusters() { } return *sim_nRecoClusters_; } -const unsigned int &trktree::run() { +const unsigned int &Trktree::run() { if (not run_isLoaded) { if (run_branch != 0) { run_branch->GetEntry(index); @@ -4458,7 +4458,7 @@ const unsigned int &trktree::run() { } return run_; } -const std::vector > &trktree::ph2_xySignificance() { +const std::vector > &Trktree::ph2_xySignificance() { if (not ph2_xySignificance_isLoaded) { if (ph2_xySignificance_branch != 0) { ph2_xySignificance_branch->GetEntry(index); @@ -4470,7 +4470,7 @@ const std::vector > &trktree::ph2_xySignificance() { } return *ph2_xySignificance_; } -const std::vector &trktree::trk_nChi2() { +const std::vector &Trktree::trk_nChi2() { if (not trk_nChi2_isLoaded) { if (trk_nChi2_branch != 0) { trk_nChi2_branch->GetEntry(index); @@ -4482,7 +4482,7 @@ const std::vector &trktree::trk_nChi2() { } return *trk_nChi2_; } -const std::vector &trktree::pix_layer() { +const std::vector &Trktree::pix_layer() { if (not pix_layer_isLoaded) { if (pix_layer_branch != 0) { pix_layer_branch->GetEntry(index); @@ -4494,7 +4494,7 @@ const std::vector &trktree::pix_layer() { } return *pix_layer_; } -const std::vector > &trktree::pix_xySignificance() { +const std::vector > &Trktree::pix_xySignificance() { if (not pix_xySignificance_isLoaded) { if (pix_xySignificance_branch != 0) { pix_xySignificance_branch->GetEntry(index); @@ -4506,7 +4506,7 @@ const std::vector > &trktree::pix_xySignificance() { } return *pix_xySignificance_; } -const std::vector &trktree::sim_pca_eta() { +const std::vector &Trktree::sim_pca_eta() { if (not sim_pca_eta_isLoaded) { if (sim_pca_eta_branch != 0) { sim_pca_eta_branch->GetEntry(index); @@ -4518,7 +4518,7 @@ const std::vector &trktree::sim_pca_eta() { } return *sim_pca_eta_; } -const std::vector &trktree::see_bestSimTrkShareFrac() { +const std::vector &Trktree::see_bestSimTrkShareFrac() { if (not see_bestSimTrkShareFrac_isLoaded) { if (see_bestSimTrkShareFrac_branch != 0) { see_bestSimTrkShareFrac_branch->GetEntry(index); @@ -4530,7 +4530,7 @@ const std::vector &trktree::see_bestSimTrkShareFrac() { } return *see_bestSimTrkShareFrac_; } -const std::vector &trktree::see_etaErr() { +const std::vector &Trktree::see_etaErr() { if (not see_etaErr_isLoaded) { if (see_etaErr_branch != 0) { see_etaErr_branch->GetEntry(index); @@ -4542,7 +4542,7 @@ const std::vector &trktree::see_etaErr() { } return *see_etaErr_; } -const std::vector &trktree::trk_bestSimTrkShareFracSimDenom() { +const std::vector &Trktree::trk_bestSimTrkShareFracSimDenom() { if (not trk_bestSimTrkShareFracSimDenom_isLoaded) { if (trk_bestSimTrkShareFracSimDenom_branch != 0) { trk_bestSimTrkShareFracSimDenom_branch->GetEntry(index); @@ -4554,7 +4554,7 @@ const std::vector &trktree::trk_bestSimTrkShareFracSimDenom() { } return *trk_bestSimTrkShareFracSimDenom_; } -const float &trktree::bsp_sigmaz() { +const float &Trktree::bsp_sigmaz() { if (not bsp_sigmaz_isLoaded) { if (bsp_sigmaz_branch != 0) { bsp_sigmaz_branch->GetEntry(index); @@ -4566,7 +4566,7 @@ const float &trktree::bsp_sigmaz() { } return bsp_sigmaz_; } -const float &trktree::bsp_sigmay() { +const float &Trktree::bsp_sigmay() { if (not bsp_sigmay_isLoaded) { if (bsp_sigmay_branch != 0) { bsp_sigmay_branch->GetEntry(index); @@ -4578,7 +4578,7 @@ const float &trktree::bsp_sigmay() { } return bsp_sigmay_; } -const float &trktree::bsp_sigmax() { +const float &Trktree::bsp_sigmax() { if (not bsp_sigmax_isLoaded) { if (bsp_sigmax_branch != 0) { bsp_sigmax_branch->GetEntry(index); @@ -4590,7 +4590,7 @@ const float &trktree::bsp_sigmax() { } return bsp_sigmax_; } -const std::vector &trktree::pix_ladder() { +const std::vector &Trktree::pix_ladder() { if (not pix_ladder_isLoaded) { if (pix_ladder_branch != 0) { pix_ladder_branch->GetEntry(index); @@ -4602,7 +4602,7 @@ const std::vector &trktree::pix_ladder() { } return *pix_ladder_; } -const std::vector &trktree::trk_qualityMask() { +const std::vector &Trktree::trk_qualityMask() { if (not trk_qualityMask_isLoaded) { if (trk_qualityMask_branch != 0) { trk_qualityMask_branch->GetEntry(index); @@ -4614,7 +4614,7 @@ const std::vector &trktree::trk_qualityMask() { } return *trk_qualityMask_; } -const std::vector &trktree::trk_ndof() { +const std::vector &Trktree::trk_ndof() { if (not trk_ndof_isLoaded) { if (trk_ndof_branch != 0) { trk_ndof_branch->GetEntry(index); @@ -4626,7 +4626,7 @@ const std::vector &trktree::trk_ndof() { } return *trk_ndof_; } -const std::vector &trktree::pix_subdet() { +const std::vector &Trktree::pix_subdet() { if (not pix_subdet_isLoaded) { if (pix_subdet_branch != 0) { pix_subdet_branch->GetEntry(index); @@ -4638,7 +4638,7 @@ const std::vector &trktree::pix_subdet() { } return *pix_subdet_; } -const std::vector > &trktree::ph2_seeIdx() { +const std::vector > &Trktree::ph2_seeIdx() { if (not ph2_seeIdx_isLoaded) { if (ph2_seeIdx_branch != 0) { ph2_seeIdx_branch->GetEntry(index); @@ -4650,7 +4650,7 @@ const std::vector > &trktree::ph2_seeIdx() { } return *ph2_seeIdx_; } -const std::vector &trktree::inv_isUpper() { +const std::vector &Trktree::inv_isUpper() { if (not inv_isUpper_isLoaded) { if (inv_isUpper_branch != 0) { inv_isUpper_branch->GetEntry(index); @@ -4662,7 +4662,7 @@ const std::vector &trktree::inv_isUpper() { } return *inv_isUpper_; } -const std::vector &trktree::ph2_zx() { +const std::vector &Trktree::ph2_zx() { if (not ph2_zx_isLoaded) { if (ph2_zx_branch != 0) { ph2_zx_branch->GetEntry(index); @@ -4674,7 +4674,7 @@ const std::vector &trktree::ph2_zx() { } return *ph2_zx_; } -const std::vector > &trktree::pix_trkIdx() { +const std::vector > &Trktree::pix_trkIdx() { if (not pix_trkIdx_isLoaded) { if (pix_trkIdx_branch != 0) { pix_trkIdx_branch->GetEntry(index); @@ -4686,7 +4686,7 @@ const std::vector > &trktree::pix_trkIdx() { } return *pix_trkIdx_; } -const std::vector &trktree::trk_nOuterLost() { +const std::vector &Trktree::trk_nOuterLost() { if (not trk_nOuterLost_isLoaded) { if (trk_nOuterLost_branch != 0) { trk_nOuterLost_branch->GetEntry(index); @@ -4698,7 +4698,7 @@ const std::vector &trktree::trk_nOuterLost() { } return *trk_nOuterLost_; } -const std::vector &trktree::inv_panel() { +const std::vector &Trktree::inv_panel() { if (not inv_panel_isLoaded) { if (inv_panel_branch != 0) { inv_panel_branch->GetEntry(index); @@ -4710,7 +4710,7 @@ const std::vector &trktree::inv_panel() { } return *inv_panel_; } -const std::vector &trktree::vtx_z() { +const std::vector &Trktree::vtx_z() { if (not vtx_z_isLoaded) { if (vtx_z_branch != 0) { vtx_z_branch->GetEntry(index); @@ -4722,7 +4722,7 @@ const std::vector &trktree::vtx_z() { } return *vtx_z_; } -const std::vector &trktree::simhit_layer() { +const std::vector &Trktree::simhit_layer() { if (not simhit_layer_isLoaded) { if (simhit_layer_branch != 0) { simhit_layer_branch->GetEntry(index); @@ -4734,7 +4734,7 @@ const std::vector &trktree::simhit_layer() { } return *simhit_layer_; } -const std::vector &trktree::vtx_y() { +const std::vector &Trktree::vtx_y() { if (not vtx_y_isLoaded) { if (vtx_y_branch != 0) { vtx_y_branch->GetEntry(index); @@ -4746,7 +4746,7 @@ const std::vector &trktree::vtx_y() { } return *vtx_y_; } -const std::vector &trktree::ph2_isBarrel() { +const std::vector &Trktree::ph2_isBarrel() { if (not ph2_isBarrel_isLoaded) { if (ph2_isBarrel_branch != 0) { ph2_isBarrel_branch->GetEntry(index); @@ -4758,7 +4758,7 @@ const std::vector &trktree::ph2_isBarrel() { } return *ph2_isBarrel_; } -const std::vector > &trktree::pix_seeIdx() { +const std::vector > &Trktree::pix_seeIdx() { if (not pix_seeIdx_isLoaded) { if (pix_seeIdx_branch != 0) { pix_seeIdx_branch->GetEntry(index); @@ -4770,7 +4770,7 @@ const std::vector > &trktree::pix_seeIdx() { } return *pix_seeIdx_; } -const std::vector &trktree::trk_bestFromFirstHitSimTrkIdx() { +const std::vector &Trktree::trk_bestFromFirstHitSimTrkIdx() { if (not trk_bestFromFirstHitSimTrkIdx_isLoaded) { if (trk_bestFromFirstHitSimTrkIdx_branch != 0) { trk_bestFromFirstHitSimTrkIdx_branch->GetEntry(index); @@ -4782,7 +4782,7 @@ const std::vector &trktree::trk_bestFromFirstHitSimTrkIdx() { } return *trk_bestFromFirstHitSimTrkIdx_; } -const std::vector &trktree::simhit_px() { +const std::vector &Trktree::simhit_px() { if (not simhit_px_isLoaded) { if (simhit_px_branch != 0) { simhit_px_branch->GetEntry(index); @@ -4794,7 +4794,7 @@ const std::vector &trktree::simhit_px() { } return *simhit_px_; } -const std::vector &trktree::see_stateTrajX() { +const std::vector &Trktree::see_stateTrajX() { if (not see_stateTrajX_isLoaded) { if (see_stateTrajX_branch != 0) { see_stateTrajX_branch->GetEntry(index); @@ -4806,7 +4806,7 @@ const std::vector &trktree::see_stateTrajX() { } return *see_stateTrajX_; } -const std::vector &trktree::see_stateTrajY() { +const std::vector &Trktree::see_stateTrajY() { if (not see_stateTrajY_isLoaded) { if (see_stateTrajY_branch != 0) { see_stateTrajY_branch->GetEntry(index); @@ -4818,7 +4818,7 @@ const std::vector &trktree::see_stateTrajY() { } return *see_stateTrajY_; } -const std::vector &trktree::trk_nOuterInactive() { +const std::vector &Trktree::trk_nOuterInactive() { if (not trk_nOuterInactive_isLoaded) { if (trk_nOuterInactive_branch != 0) { trk_nOuterInactive_branch->GetEntry(index); @@ -4830,7 +4830,7 @@ const std::vector &trktree::trk_nOuterInactive() { } return *trk_nOuterInactive_; } -const std::vector &trktree::sim_pca_dxy() { +const std::vector &Trktree::sim_pca_dxy() { if (not sim_pca_dxy_isLoaded) { if (sim_pca_dxy_branch != 0) { sim_pca_dxy_branch->GetEntry(index); @@ -4842,7 +4842,7 @@ const std::vector &trktree::sim_pca_dxy() { } return *sim_pca_dxy_; } -const std::vector &trktree::trk_algo() { +const std::vector &Trktree::trk_algo() { if (not trk_algo_isLoaded) { if (trk_algo_branch != 0) { trk_algo_branch->GetEntry(index); @@ -4854,7 +4854,7 @@ const std::vector &trktree::trk_algo() { } return *trk_algo_; } -const std::vector > &trktree::trk_hitType() { +const std::vector > &Trktree::trk_hitType() { if (not trk_hitType_isLoaded) { if (trk_hitType_branch != 0) { trk_hitType_branch->GetEntry(index); @@ -4866,7 +4866,7 @@ const std::vector > &trktree::trk_hitType() { } return *trk_hitType_; } -const std::vector &trktree::trk_bestFromFirstHitSimTrkShareFrac() { +const std::vector &Trktree::trk_bestFromFirstHitSimTrkShareFrac() { if (not trk_bestFromFirstHitSimTrkShareFrac_isLoaded) { if (trk_bestFromFirstHitSimTrkShareFrac_branch != 0) { trk_bestFromFirstHitSimTrkShareFrac_branch->GetEntry(index); @@ -4878,7 +4878,7 @@ const std::vector &trktree::trk_bestFromFirstHitSimTrkShareFrac() { } return *trk_bestFromFirstHitSimTrkShareFrac_; } -const std::vector &trktree::inv_isBarrel() { +const std::vector &Trktree::inv_isBarrel() { if (not inv_isBarrel_isLoaded) { if (inv_isBarrel_branch != 0) { inv_isBarrel_branch->GetEntry(index); @@ -4890,7 +4890,7 @@ const std::vector &trktree::inv_isBarrel() { } return *inv_isBarrel_; } -const std::vector &trktree::simvtx_event() { +const std::vector &Trktree::simvtx_event() { if (not simvtx_event_isLoaded) { if (simvtx_event_branch != 0) { simvtx_event_branch->GetEntry(index); @@ -4902,7 +4902,7 @@ const std::vector &trktree::simvtx_event() { } return *simvtx_event_; } -const std::vector &trktree::ph2_z() { +const std::vector &Trktree::ph2_z() { if (not ph2_z_isLoaded) { if (ph2_z_branch != 0) { ph2_z_branch->GetEntry(index); @@ -4914,7 +4914,7 @@ const std::vector &trktree::ph2_z() { } return *ph2_z_; } -const std::vector &trktree::ph2_x() { +const std::vector &Trktree::ph2_x() { if (not ph2_x_isLoaded) { if (ph2_x_branch != 0) { ph2_x_branch->GetEntry(index); @@ -4926,7 +4926,7 @@ const std::vector &trktree::ph2_x() { } return *ph2_x_; } -const std::vector &trktree::ph2_y() { +const std::vector &Trktree::ph2_y() { if (not ph2_y_isLoaded) { if (ph2_y_branch != 0) { ph2_y_branch->GetEntry(index); @@ -4938,7 +4938,7 @@ const std::vector &trktree::ph2_y() { } return *ph2_y_; } -const std::vector > &trktree::sim_genPdgIds() { +const std::vector > &Trktree::sim_genPdgIds() { if (not sim_genPdgIds_isLoaded) { if (sim_genPdgIds_branch != 0) { sim_genPdgIds_branch->GetEntry(index); @@ -4950,7 +4950,7 @@ const std::vector > &trktree::sim_genPdgIds() { } return *sim_genPdgIds_; } -const std::vector &trktree::trk_mva() { +const std::vector &Trktree::trk_mva() { if (not trk_mva_isLoaded) { if (trk_mva_branch != 0) { trk_mva_branch->GetEntry(index); @@ -4962,7 +4962,7 @@ const std::vector &trktree::trk_mva() { } return *trk_mva_; } -const std::vector &trktree::see_stateCcov24() { +const std::vector &Trktree::see_stateCcov24() { if (not see_stateCcov24_isLoaded) { if (see_stateCcov24_branch != 0) { see_stateCcov24_branch->GetEntry(index); @@ -4974,7 +4974,7 @@ const std::vector &trktree::see_stateCcov24() { } return *see_stateCcov24_; } -const std::vector &trktree::trk_dzClosestPV() { +const std::vector &Trktree::trk_dzClosestPV() { if (not trk_dzClosestPV_isLoaded) { if (trk_dzClosestPV_branch != 0) { trk_dzClosestPV_branch->GetEntry(index); @@ -4986,7 +4986,7 @@ const std::vector &trktree::trk_dzClosestPV() { } return *trk_dzClosestPV_; } -const std::vector &trktree::see_nCluster() { +const std::vector &Trktree::see_nCluster() { if (not see_nCluster_isLoaded) { if (see_nCluster_branch != 0) { see_nCluster_branch->GetEntry(index); @@ -4998,7 +4998,7 @@ const std::vector &trktree::see_nCluster() { } return *see_nCluster_; } -const std::vector &trktree::inv_rod() { +const std::vector &Trktree::inv_rod() { if (not inv_rod_isLoaded) { if (inv_rod_branch != 0) { inv_rod_branch->GetEntry(index); @@ -5010,7 +5010,7 @@ const std::vector &trktree::inv_rod() { } return *inv_rod_; } -const std::vector > &trktree::trk_hitIdx() { +const std::vector > &Trktree::trk_hitIdx() { if (not trk_hitIdx_isLoaded) { if (trk_hitIdx_branch != 0) { trk_hitIdx_branch->GetEntry(index); @@ -5022,7 +5022,7 @@ const std::vector > &trktree::trk_hitIdx() { } return *trk_hitIdx_; } -const std::vector &trktree::see_stateCcov22() { +const std::vector &Trktree::see_stateCcov22() { if (not see_stateCcov22_isLoaded) { if (see_stateCcov22_branch != 0) { see_stateCcov22_branch->GetEntry(index); @@ -5034,7 +5034,7 @@ const std::vector &trktree::see_stateCcov22() { } return *see_stateCcov22_; } -const std::vector &trktree::pix_simType() { +const std::vector &Trktree::pix_simType() { if (not pix_simType_isLoaded) { if (pix_simType_branch != 0) { pix_simType_branch->GetEntry(index); @@ -5046,7 +5046,7 @@ const std::vector &trktree::pix_simType() { } return *pix_simType_; } -const std::vector &trktree::simhit_ring() { +const std::vector &Trktree::simhit_ring() { if (not simhit_ring_isLoaded) { if (simhit_ring_branch != 0) { simhit_ring_branch->GetEntry(index); @@ -5058,7 +5058,7 @@ const std::vector &trktree::simhit_ring() { } return *simhit_ring_; } -const std::vector &trktree::trk_outer_px() { +const std::vector &Trktree::trk_outer_px() { if (not trk_outer_px_isLoaded) { if (trk_outer_px_branch != 0) { trk_outer_px_branch->GetEntry(index); @@ -5070,7 +5070,7 @@ const std::vector &trktree::trk_outer_px() { } return *trk_outer_px_; } -const std::vector &trktree::trk_outer_py() { +const std::vector &Trktree::trk_outer_py() { if (not trk_outer_py_isLoaded) { if (trk_outer_py_branch != 0) { trk_outer_py_branch->GetEntry(index); @@ -5082,7 +5082,7 @@ const std::vector &trktree::trk_outer_py() { } return *trk_outer_py_; } -const std::vector &trktree::trk_outer_pz() { +const std::vector &Trktree::trk_outer_pz() { if (not trk_outer_pz_isLoaded) { if (trk_outer_pz_branch != 0) { trk_outer_pz_branch->GetEntry(index); @@ -5094,7 +5094,7 @@ const std::vector &trktree::trk_outer_pz() { } return *trk_outer_pz_; } -const std::vector &trktree::ph2_zz() { +const std::vector &Trktree::ph2_zz() { if (not ph2_zz_isLoaded) { if (ph2_zz_branch != 0) { ph2_zz_branch->GetEntry(index); @@ -5106,7 +5106,7 @@ const std::vector &trktree::ph2_zz() { } return *ph2_zz_; } -const std::vector &trktree::trk_outer_pt() { +const std::vector &Trktree::trk_outer_pt() { if (not trk_outer_pt_isLoaded) { if (trk_outer_pt_branch != 0) { trk_outer_pt_branch->GetEntry(index); @@ -5118,7 +5118,7 @@ const std::vector &trktree::trk_outer_pt() { } return *trk_outer_pt_; } -const std::vector &trktree::trk_n3DLay() { +const std::vector &Trktree::trk_n3DLay() { if (not trk_n3DLay_isLoaded) { if (trk_n3DLay_branch != 0) { trk_n3DLay_branch->GetEntry(index); @@ -5130,7 +5130,7 @@ const std::vector &trktree::trk_n3DLay() { } return *trk_n3DLay_; } -const std::vector &trktree::trk_nValid() { +const std::vector &Trktree::trk_nValid() { if (not trk_nValid_isLoaded) { if (trk_nValid_branch != 0) { trk_nValid_branch->GetEntry(index); @@ -5142,7 +5142,7 @@ const std::vector &trktree::trk_nValid() { } return *trk_nValid_; } -const std::vector &trktree::see_ptErr() { +const std::vector &Trktree::see_ptErr() { if (not see_ptErr_isLoaded) { if (see_ptErr_branch != 0) { see_ptErr_branch->GetEntry(index); @@ -5154,7 +5154,7 @@ const std::vector &trktree::see_ptErr() { } return *see_ptErr_; } -const std::vector &trktree::see_stateTrajGlbPx() { +const std::vector &Trktree::see_stateTrajGlbPx() { if (not see_stateTrajGlbPx_isLoaded) { if (see_stateTrajGlbPx_branch != 0) { see_stateTrajGlbPx_branch->GetEntry(index); @@ -5166,7 +5166,7 @@ const std::vector &trktree::see_stateTrajGlbPx() { } return *see_stateTrajGlbPx_; } -const std::vector &trktree::ph2_simType() { +const std::vector &Trktree::ph2_simType() { if (not ph2_simType_isLoaded) { if (ph2_simType_branch != 0) { ph2_simType_branch->GetEntry(index); @@ -5178,7 +5178,7 @@ const std::vector &trktree::ph2_simType() { } return *ph2_simType_; } -const std::vector &trktree::trk_bestFromFirstHitSimTrkShareFracSimClusterDenom() { +const std::vector &Trktree::trk_bestFromFirstHitSimTrkShareFracSimClusterDenom() { if (not trk_bestFromFirstHitSimTrkShareFracSimClusterDenom_isLoaded) { if (trk_bestFromFirstHitSimTrkShareFracSimClusterDenom_branch != 0) { trk_bestFromFirstHitSimTrkShareFracSimClusterDenom_branch->GetEntry(index); @@ -5190,7 +5190,7 @@ const std::vector &trktree::trk_bestFromFirstHitSimTrkShareFracSimCluster } return *trk_bestFromFirstHitSimTrkShareFracSimClusterDenom_; } -const std::vector &trktree::sim_hits() { +const std::vector &Trktree::sim_hits() { if (not sim_hits_isLoaded) { if (sim_hits_branch != 0) { sim_hits_branch->GetEntry(index); @@ -5202,7 +5202,7 @@ const std::vector &trktree::sim_hits() { } return *sim_hits_; } -const std::vector &trktree::sim_len() { +const std::vector &Trktree::sim_len() { if (not sim_len_isLoaded) { if (sim_len_branch != 0) { sim_len_branch->GetEntry(index); @@ -5214,7 +5214,7 @@ const std::vector &trktree::sim_len() { } return *sim_len_; } -const std::vector &trktree::sim_lengap() { +const std::vector &Trktree::sim_lengap() { if (not sim_lengap_isLoaded) { if (sim_lengap_branch != 0) { sim_lengap_branch->GetEntry(index); @@ -5226,7 +5226,7 @@ const std::vector &trktree::sim_lengap() { } return *sim_lengap_; } -const std::vector &trktree::simvtx_x() { +const std::vector &Trktree::simvtx_x() { if (not simvtx_x_isLoaded) { if (simvtx_x_branch != 0) { simvtx_x_branch->GetEntry(index); @@ -5238,7 +5238,7 @@ const std::vector &trktree::simvtx_x() { } return *simvtx_x_; } -const std::vector &trktree::trk_pz() { +const std::vector &Trktree::trk_pz() { if (not trk_pz_isLoaded) { if (trk_pz_branch != 0) { trk_pz_branch->GetEntry(index); @@ -5250,7 +5250,7 @@ const std::vector &trktree::trk_pz() { } return *trk_pz_; } -const std::vector &trktree::see_bestFromFirstHitSimTrkShareFrac() { +const std::vector &Trktree::see_bestFromFirstHitSimTrkShareFrac() { if (not see_bestFromFirstHitSimTrkShareFrac_isLoaded) { if (see_bestFromFirstHitSimTrkShareFrac_branch != 0) { see_bestFromFirstHitSimTrkShareFrac_branch->GetEntry(index); @@ -5262,7 +5262,7 @@ const std::vector &trktree::see_bestFromFirstHitSimTrkShareFrac() { } return *see_bestFromFirstHitSimTrkShareFrac_; } -const std::vector &trktree::trk_px() { +const std::vector &Trktree::trk_px() { if (not trk_px_isLoaded) { if (trk_px_branch != 0) { trk_px_branch->GetEntry(index); @@ -5274,7 +5274,7 @@ const std::vector &trktree::trk_px() { } return *trk_px_; } -const std::vector &trktree::trk_py() { +const std::vector &Trktree::trk_py() { if (not trk_py_isLoaded) { if (trk_py_branch != 0) { trk_py_branch->GetEntry(index); @@ -5286,7 +5286,7 @@ const std::vector &trktree::trk_py() { } return *trk_py_; } -const std::vector &trktree::trk_vtxIdx() { +const std::vector &Trktree::trk_vtxIdx() { if (not trk_vtxIdx_isLoaded) { if (trk_vtxIdx_branch != 0) { trk_vtxIdx_branch->GetEntry(index); @@ -5298,7 +5298,7 @@ const std::vector &trktree::trk_vtxIdx() { } return *trk_vtxIdx_; } -const std::vector &trktree::sim_nPixel() { +const std::vector &Trktree::sim_nPixel() { if (not sim_nPixel_isLoaded) { if (sim_nPixel_branch != 0) { sim_nPixel_branch->GetEntry(index); @@ -5310,7 +5310,7 @@ const std::vector &trktree::sim_nPixel() { } return *sim_nPixel_; } -const std::vector &trktree::vtx_chi2() { +const std::vector &Trktree::vtx_chi2() { if (not vtx_chi2_isLoaded) { if (vtx_chi2_branch != 0) { vtx_chi2_branch->GetEntry(index); @@ -5322,7 +5322,7 @@ const std::vector &trktree::vtx_chi2() { } return *vtx_chi2_; } -const std::vector &trktree::ph2_ring() { +const std::vector &Trktree::ph2_ring() { if (not ph2_ring_isLoaded) { if (ph2_ring_branch != 0) { ph2_ring_branch->GetEntry(index); @@ -5334,7 +5334,7 @@ const std::vector &trktree::ph2_ring() { } return *ph2_ring_; } -const std::vector &trktree::trk_pt() { +const std::vector &Trktree::trk_pt() { if (not trk_pt_isLoaded) { if (trk_pt_branch != 0) { trk_pt_branch->GetEntry(index); @@ -5346,7 +5346,7 @@ const std::vector &trktree::trk_pt() { } return *trk_pt_; } -const std::vector &trktree::see_stateCcov44() { +const std::vector &Trktree::see_stateCcov44() { if (not see_stateCcov44_isLoaded) { if (see_stateCcov44_branch != 0) { see_stateCcov44_branch->GetEntry(index); @@ -5358,7 +5358,7 @@ const std::vector &trktree::see_stateCcov44() { } return *see_stateCcov44_; } -const std::vector &trktree::ph2_radL() { +const std::vector &Trktree::ph2_radL() { if (not ph2_radL_isLoaded) { if (ph2_radL_branch != 0) { ph2_radL_branch->GetEntry(index); @@ -5370,7 +5370,7 @@ const std::vector &trktree::ph2_radL() { } return *ph2_radL_; } -const std::vector &trktree::vtx_zErr() { +const std::vector &Trktree::vtx_zErr() { if (not vtx_zErr_isLoaded) { if (vtx_zErr_branch != 0) { vtx_zErr_branch->GetEntry(index); @@ -5382,7 +5382,7 @@ const std::vector &trktree::vtx_zErr() { } return *vtx_zErr_; } -const std::vector &trktree::see_px() { +const std::vector &Trktree::see_px() { if (not see_px_isLoaded) { if (see_px_branch != 0) { see_px_branch->GetEntry(index); @@ -5394,7 +5394,7 @@ const std::vector &trktree::see_px() { } return *see_px_; } -const std::vector &trktree::see_pz() { +const std::vector &Trktree::see_pz() { if (not see_pz_isLoaded) { if (see_pz_branch != 0) { see_pz_branch->GetEntry(index); @@ -5406,7 +5406,7 @@ const std::vector &trktree::see_pz() { } return *see_pz_; } -const std::vector &trktree::see_eta() { +const std::vector &Trktree::see_eta() { if (not see_eta_isLoaded) { if (see_eta_branch != 0) { see_eta_branch->GetEntry(index); @@ -5418,7 +5418,7 @@ const std::vector &trktree::see_eta() { } return *see_eta_; } -const std::vector &trktree::simvtx_bunchCrossing() { +const std::vector &Trktree::simvtx_bunchCrossing() { if (not simvtx_bunchCrossing_isLoaded) { if (simvtx_bunchCrossing_branch != 0) { simvtx_bunchCrossing_branch->GetEntry(index); @@ -5430,7 +5430,7 @@ const std::vector &trktree::simvtx_bunchCrossing() { } return *simvtx_bunchCrossing_; } -const std::vector &trktree::sim_pca_dz() { +const std::vector &Trktree::sim_pca_dz() { if (not sim_pca_dz_isLoaded) { if (sim_pca_dz_branch != 0) { sim_pca_dz_branch->GetEntry(index); @@ -5442,7 +5442,7 @@ const std::vector &trktree::sim_pca_dz() { } return *sim_pca_dz_; } -const std::vector &trktree::simvtx_y() { +const std::vector &Trktree::simvtx_y() { if (not simvtx_y_isLoaded) { if (simvtx_y_branch != 0) { simvtx_y_branch->GetEntry(index); @@ -5454,7 +5454,7 @@ const std::vector &trktree::simvtx_y() { } return *simvtx_y_; } -const std::vector &trktree::inv_isStack() { +const std::vector &Trktree::inv_isStack() { if (not inv_isStack_isLoaded) { if (inv_isStack_branch != 0) { inv_isStack_branch->GetEntry(index); @@ -5466,7 +5466,7 @@ const std::vector &trktree::inv_isStack() { } return *inv_isStack_; } -const std::vector &trktree::trk_nStrip() { +const std::vector &Trktree::trk_nStrip() { if (not trk_nStrip_isLoaded) { if (trk_nStrip_branch != 0) { trk_nStrip_branch->GetEntry(index); @@ -5478,7 +5478,7 @@ const std::vector &trktree::trk_nStrip() { } return *trk_nStrip_; } -const std::vector &trktree::trk_etaErr() { +const std::vector &Trktree::trk_etaErr() { if (not trk_etaErr_isLoaded) { if (trk_etaErr_branch != 0) { trk_etaErr_branch->GetEntry(index); @@ -5490,7 +5490,7 @@ const std::vector &trktree::trk_etaErr() { } return *trk_etaErr_; } -const std::vector > &trktree::trk_simTrkNChi2() { +const std::vector > &Trktree::trk_simTrkNChi2() { if (not trk_simTrkNChi2_isLoaded) { if (trk_simTrkNChi2_branch != 0) { trk_simTrkNChi2_branch->GetEntry(index); @@ -5502,7 +5502,7 @@ const std::vector > &trktree::trk_simTrkNChi2() { } return *trk_simTrkNChi2_; } -const std::vector &trktree::pix_zz() { +const std::vector &Trktree::pix_zz() { if (not pix_zz_isLoaded) { if (pix_zz_branch != 0) { pix_zz_branch->GetEntry(index); @@ -5514,7 +5514,7 @@ const std::vector &trktree::pix_zz() { } return *pix_zz_; } -const std::vector &trktree::simhit_particle() { +const std::vector &Trktree::simhit_particle() { if (not simhit_particle_isLoaded) { if (simhit_particle_branch != 0) { simhit_particle_branch->GetEntry(index); @@ -5526,7 +5526,7 @@ const std::vector &trktree::simhit_particle() { } return *simhit_particle_; } -const std::vector &trktree::see_dz() { +const std::vector &Trktree::see_dz() { if (not see_dz_isLoaded) { if (see_dz_branch != 0) { see_dz_branch->GetEntry(index); @@ -5538,7 +5538,7 @@ const std::vector &trktree::see_dz() { } return *see_dz_; } -const std::vector &trktree::see_stateTrajPz() { +const std::vector &Trktree::see_stateTrajPz() { if (not see_stateTrajPz_isLoaded) { if (see_stateTrajPz_branch != 0) { see_stateTrajPz_branch->GetEntry(index); @@ -5550,7 +5550,7 @@ const std::vector &trktree::see_stateTrajPz() { } return *see_stateTrajPz_; } -const std::vector &trktree::trk_bestSimTrkShareFrac() { +const std::vector &Trktree::trk_bestSimTrkShareFrac() { if (not trk_bestSimTrkShareFrac_isLoaded) { if (trk_bestSimTrkShareFrac_branch != 0) { trk_bestSimTrkShareFrac_branch->GetEntry(index); @@ -5562,7 +5562,7 @@ const std::vector &trktree::trk_bestSimTrkShareFrac() { } return *trk_bestSimTrkShareFrac_; } -const std::vector &trktree::trk_lambdaErr() { +const std::vector &Trktree::trk_lambdaErr() { if (not trk_lambdaErr_isLoaded) { if (trk_lambdaErr_branch != 0) { trk_lambdaErr_branch->GetEntry(index); @@ -5574,7 +5574,7 @@ const std::vector &trktree::trk_lambdaErr() { } return *trk_lambdaErr_; } -const std::vector > &trktree::see_simTrkShareFrac() { +const std::vector > &Trktree::see_simTrkShareFrac() { if (not see_simTrkShareFrac_isLoaded) { if (see_simTrkShareFrac_branch != 0) { see_simTrkShareFrac_branch->GetEntry(index); @@ -5586,7 +5586,7 @@ const std::vector > &trktree::see_simTrkShareFrac() { } return *see_simTrkShareFrac_; } -const std::vector > &trktree::pix_simHitIdx() { +const std::vector > &Trktree::pix_simHitIdx() { if (not pix_simHitIdx_isLoaded) { if (pix_simHitIdx_branch != 0) { pix_simHitIdx_branch->GetEntry(index); @@ -5598,7 +5598,7 @@ const std::vector > &trktree::pix_simHitIdx() { } return *pix_simHitIdx_; } -const std::vector > &trktree::vtx_trkIdx() { +const std::vector > &Trktree::vtx_trkIdx() { if (not vtx_trkIdx_isLoaded) { if (vtx_trkIdx_branch != 0) { vtx_trkIdx_branch->GetEntry(index); @@ -5610,7 +5610,7 @@ const std::vector > &trktree::vtx_trkIdx() { } return *vtx_trkIdx_; } -const std::vector &trktree::ph2_rod() { +const std::vector &Trktree::ph2_rod() { if (not ph2_rod_isLoaded) { if (ph2_rod_branch != 0) { ph2_rod_branch->GetEntry(index); @@ -5622,7 +5622,7 @@ const std::vector &trktree::ph2_rod() { } return *ph2_rod_; } -const std::vector &trktree::vtx_ndof() { +const std::vector &Trktree::vtx_ndof() { if (not vtx_ndof_isLoaded) { if (vtx_ndof_branch != 0) { vtx_ndof_branch->GetEntry(index); @@ -5634,7 +5634,7 @@ const std::vector &trktree::vtx_ndof() { } return *vtx_ndof_; } -const std::vector &trktree::see_nPixel() { +const std::vector &Trktree::see_nPixel() { if (not see_nPixel_isLoaded) { if (see_nPixel_branch != 0) { see_nPixel_branch->GetEntry(index); @@ -5646,7 +5646,7 @@ const std::vector &trktree::see_nPixel() { } return *see_nPixel_; } -const std::vector &trktree::sim_nStrip() { +const std::vector &Trktree::sim_nStrip() { if (not sim_nStrip_isLoaded) { if (sim_nStrip_branch != 0) { sim_nStrip_branch->GetEntry(index); @@ -5658,7 +5658,7 @@ const std::vector &trktree::sim_nStrip() { } return *sim_nStrip_; } -const std::vector &trktree::sim_bunchCrossing() { +const std::vector &Trktree::sim_bunchCrossing() { if (not sim_bunchCrossing_isLoaded) { if (sim_bunchCrossing_branch != 0) { sim_bunchCrossing_branch->GetEntry(index); @@ -5670,7 +5670,7 @@ const std::vector &trktree::sim_bunchCrossing() { } return *sim_bunchCrossing_; } -const std::vector &trktree::see_stateCcov45() { +const std::vector &Trktree::see_stateCcov45() { if (not see_stateCcov45_isLoaded) { if (see_stateCcov45_branch != 0) { see_stateCcov45_branch->GetEntry(index); @@ -5682,7 +5682,7 @@ const std::vector &trktree::see_stateCcov45() { } return *see_stateCcov45_; } -const std::vector &trktree::ph2_isStack() { +const std::vector &Trktree::ph2_isStack() { if (not ph2_isStack_isLoaded) { if (ph2_isStack_branch != 0) { ph2_isStack_branch->GetEntry(index); @@ -5694,7 +5694,7 @@ const std::vector &trktree::ph2_isStack() { } return *ph2_isStack_; } -const std::vector > &trktree::sim_trkShareFrac() { +const std::vector > &Trktree::sim_trkShareFrac() { if (not sim_trkShareFrac_isLoaded) { if (sim_trkShareFrac_branch != 0) { sim_trkShareFrac_branch->GetEntry(index); @@ -5706,7 +5706,7 @@ const std::vector > &trktree::sim_trkShareFrac() { } return *sim_trkShareFrac_; } -const std::vector > &trktree::trk_simTrkShareFrac() { +const std::vector > &Trktree::trk_simTrkShareFrac() { if (not trk_simTrkShareFrac_isLoaded) { if (trk_simTrkShareFrac_branch != 0) { trk_simTrkShareFrac_branch->GetEntry(index); @@ -5718,7 +5718,7 @@ const std::vector > &trktree::trk_simTrkShareFrac() { } return *trk_simTrkShareFrac_; } -const std::vector &trktree::sim_phi() { +const std::vector &Trktree::sim_phi() { if (not sim_phi_isLoaded) { if (sim_phi_branch != 0) { sim_phi_branch->GetEntry(index); @@ -5730,7 +5730,7 @@ const std::vector &trktree::sim_phi() { } return *sim_phi_; } -const std::vector &trktree::inv_side() { +const std::vector &Trktree::inv_side() { if (not inv_side_isLoaded) { if (inv_side_branch != 0) { inv_side_branch->GetEntry(index); @@ -5742,7 +5742,7 @@ const std::vector &trktree::inv_side() { } return *inv_side_; } -const std::vector &trktree::vtx_fake() { +const std::vector &Trktree::vtx_fake() { if (not vtx_fake_isLoaded) { if (vtx_fake_branch != 0) { vtx_fake_branch->GetEntry(index); @@ -5754,7 +5754,7 @@ const std::vector &trktree::vtx_fake() { } return *vtx_fake_; } -const std::vector &trktree::trk_nInactive() { +const std::vector &Trktree::trk_nInactive() { if (not trk_nInactive_isLoaded) { if (trk_nInactive_branch != 0) { trk_nInactive_branch->GetEntry(index); @@ -5766,7 +5766,7 @@ const std::vector &trktree::trk_nInactive() { } return *trk_nInactive_; } -const std::vector &trktree::trk_nPixelLay() { +const std::vector &Trktree::trk_nPixelLay() { if (not trk_nPixelLay_isLoaded) { if (trk_nPixelLay_branch != 0) { trk_nPixelLay_branch->GetEntry(index); @@ -5778,7 +5778,7 @@ const std::vector &trktree::trk_nPixelLay() { } return *trk_nPixelLay_; } -const std::vector &trktree::ph2_bbxi() { +const std::vector &Trktree::ph2_bbxi() { if (not ph2_bbxi_isLoaded) { if (ph2_bbxi_branch != 0) { ph2_bbxi_branch->GetEntry(index); @@ -5790,7 +5790,7 @@ const std::vector &trktree::ph2_bbxi() { } return *ph2_bbxi_; } -const std::vector &trktree::vtx_xErr() { +const std::vector &Trktree::vtx_xErr() { if (not vtx_xErr_isLoaded) { if (vtx_xErr_branch != 0) { vtx_xErr_branch->GetEntry(index); @@ -5802,7 +5802,7 @@ const std::vector &trktree::vtx_xErr() { } return *vtx_xErr_; } -const std::vector &trktree::see_stateCcov25() { +const std::vector &Trktree::see_stateCcov25() { if (not see_stateCcov25_isLoaded) { if (see_stateCcov25_branch != 0) { see_stateCcov25_branch->GetEntry(index); @@ -5814,7 +5814,7 @@ const std::vector &trktree::see_stateCcov25() { } return *see_stateCcov25_; } -const std::vector &trktree::sim_parentVtxIdx() { +const std::vector &Trktree::sim_parentVtxIdx() { if (not sim_parentVtxIdx_isLoaded) { if (sim_parentVtxIdx_branch != 0) { sim_parentVtxIdx_branch->GetEntry(index); @@ -5826,7 +5826,7 @@ const std::vector &trktree::sim_parentVtxIdx() { } return *sim_parentVtxIdx_; } -const std::vector &trktree::see_stateCcov23() { +const std::vector &Trktree::see_stateCcov23() { if (not see_stateCcov23_isLoaded) { if (see_stateCcov23_branch != 0) { see_stateCcov23_branch->GetEntry(index); @@ -5838,7 +5838,7 @@ const std::vector &trktree::see_stateCcov23() { } return *see_stateCcov23_; } -const std::vector &trktree::trk_algoMask() { +const std::vector &Trktree::trk_algoMask() { if (not trk_algoMask_isLoaded) { if (trk_algoMask_branch != 0) { trk_algoMask_branch->GetEntry(index); @@ -5850,7 +5850,7 @@ const std::vector &trktree::trk_algoMask() { } return *trk_algoMask_; } -const std::vector > &trktree::trk_simTrkIdx() { +const std::vector > &Trktree::trk_simTrkIdx() { if (not trk_simTrkIdx_isLoaded) { if (trk_simTrkIdx_branch != 0) { trk_simTrkIdx_branch->GetEntry(index); @@ -5862,7 +5862,7 @@ const std::vector > &trktree::trk_simTrkIdx() { } return *trk_simTrkIdx_; } -const std::vector &trktree::see_phiErr() { +const std::vector &Trktree::see_phiErr() { if (not see_phiErr_isLoaded) { if (see_phiErr_branch != 0) { see_phiErr_branch->GetEntry(index); @@ -5874,7 +5874,7 @@ const std::vector &trktree::see_phiErr() { } return *see_phiErr_; } -const std::vector &trktree::trk_cotTheta() { +const std::vector &Trktree::trk_cotTheta() { if (not trk_cotTheta_isLoaded) { if (trk_cotTheta_branch != 0) { trk_cotTheta_branch->GetEntry(index); @@ -5886,7 +5886,7 @@ const std::vector &trktree::trk_cotTheta() { } return *trk_cotTheta_; } -const std::vector &trktree::see_algo() { +const std::vector &Trktree::see_algo() { if (not see_algo_isLoaded) { if (see_algo_branch != 0) { see_algo_branch->GetEntry(index); @@ -5898,7 +5898,7 @@ const std::vector &trktree::see_algo() { } return *see_algo_; } -const std::vector &trktree::simhit_module() { +const std::vector &Trktree::simhit_module() { if (not simhit_module_isLoaded) { if (simhit_module_branch != 0) { simhit_module_branch->GetEntry(index); @@ -5910,7 +5910,7 @@ const std::vector &trktree::simhit_module() { } return *simhit_module_; } -const std::vector > &trktree::simvtx_daughterSimIdx() { +const std::vector > &Trktree::simvtx_daughterSimIdx() { if (not simvtx_daughterSimIdx_isLoaded) { if (simvtx_daughterSimIdx_branch != 0) { simvtx_daughterSimIdx_branch->GetEntry(index); @@ -5922,7 +5922,7 @@ const std::vector > &trktree::simvtx_daughterSimIdx() { } return *simvtx_daughterSimIdx_; } -const std::vector &trktree::vtx_x() { +const std::vector &Trktree::vtx_x() { if (not vtx_x_isLoaded) { if (vtx_x_branch != 0) { vtx_x_branch->GetEntry(index); @@ -5934,7 +5934,7 @@ const std::vector &trktree::vtx_x() { } return *vtx_x_; } -const std::vector &trktree::trk_seedIdx() { +const std::vector &Trktree::trk_seedIdx() { if (not trk_seedIdx_isLoaded) { if (trk_seedIdx_branch != 0) { trk_seedIdx_branch->GetEntry(index); @@ -5946,7 +5946,7 @@ const std::vector &trktree::trk_seedIdx() { } return *trk_seedIdx_; } -const std::vector &trktree::simhit_y() { +const std::vector &Trktree::simhit_y() { if (not simhit_y_isLoaded) { if (simhit_y_branch != 0) { simhit_y_branch->GetEntry(index); @@ -5958,7 +5958,7 @@ const std::vector &trktree::simhit_y() { } return *simhit_y_; } -const std::vector &trktree::inv_layer() { +const std::vector &Trktree::inv_layer() { if (not inv_layer_isLoaded) { if (inv_layer_branch != 0) { inv_layer_branch->GetEntry(index); @@ -5970,7 +5970,7 @@ const std::vector &trktree::inv_layer() { } return *inv_layer_; } -const std::vector &trktree::trk_nLostLay() { +const std::vector &Trktree::trk_nLostLay() { if (not trk_nLostLay_isLoaded) { if (trk_nLostLay_branch != 0) { trk_nLostLay_branch->GetEntry(index); @@ -5982,7 +5982,7 @@ const std::vector &trktree::trk_nLostLay() { } return *trk_nLostLay_; } -const std::vector &trktree::ph2_isLower() { +const std::vector &Trktree::ph2_isLower() { if (not ph2_isLower_isLoaded) { if (ph2_isLower_branch != 0) { ph2_isLower_branch->GetEntry(index); @@ -5994,7 +5994,7 @@ const std::vector &trktree::ph2_isLower() { } return *ph2_isLower_; } -const std::vector &trktree::pix_side() { +const std::vector &Trktree::pix_side() { if (not pix_side_isLoaded) { if (pix_side_branch != 0) { pix_side_branch->GetEntry(index); @@ -6006,7 +6006,7 @@ const std::vector &trktree::pix_side() { } return *pix_side_; } -const std::vector &trktree::inv_isLower() { +const std::vector &Trktree::inv_isLower() { if (not inv_isLower_isLoaded) { if (inv_isLower_branch != 0) { inv_isLower_branch->GetEntry(index); @@ -6018,7 +6018,7 @@ const std::vector &trktree::inv_isLower() { } return *inv_isLower_; } -const std::vector > &trktree::ph2_trkIdx() { +const std::vector > &Trktree::ph2_trkIdx() { if (not ph2_trkIdx_isLoaded) { if (ph2_trkIdx_branch != 0) { ph2_trkIdx_branch->GetEntry(index); @@ -6030,7 +6030,7 @@ const std::vector > &trktree::ph2_trkIdx() { } return *ph2_trkIdx_; } -const std::vector &trktree::sim_nValid() { +const std::vector &Trktree::sim_nValid() { if (not sim_nValid_isLoaded) { if (sim_nValid_branch != 0) { sim_nValid_branch->GetEntry(index); @@ -6042,7 +6042,7 @@ const std::vector &trktree::sim_nValid() { } return *sim_nValid_; } -const std::vector &trktree::simhit_simTrkIdx() { +const std::vector &Trktree::simhit_simTrkIdx() { if (not simhit_simTrkIdx_isLoaded) { if (simhit_simTrkIdx_branch != 0) { simhit_simTrkIdx_branch->GetEntry(index); @@ -6054,7 +6054,7 @@ const std::vector &trktree::simhit_simTrkIdx() { } return *simhit_simTrkIdx_; } -const std::vector &trktree::see_nCands() { +const std::vector &Trktree::see_nCands() { if (not see_nCands_isLoaded) { if (see_nCands_branch != 0) { see_nCands_branch->GetEntry(index); @@ -6066,7 +6066,7 @@ const std::vector &trktree::see_nCands() { } return *see_nCands_; } -const std::vector &trktree::see_bestSimTrkIdx() { +const std::vector &Trktree::see_bestSimTrkIdx() { if (not see_bestSimTrkIdx_isLoaded) { if (see_bestSimTrkIdx_branch != 0) { see_bestSimTrkIdx_branch->GetEntry(index); @@ -6078,7 +6078,7 @@ const std::vector &trktree::see_bestSimTrkIdx() { } return *see_bestSimTrkIdx_; } -const std::vector &trktree::vtx_yErr() { +const std::vector &Trktree::vtx_yErr() { if (not vtx_yErr_isLoaded) { if (vtx_yErr_branch != 0) { vtx_yErr_branch->GetEntry(index); @@ -6090,7 +6090,7 @@ const std::vector &trktree::vtx_yErr() { } return *vtx_yErr_; } -const std::vector &trktree::trk_dzPV() { +const std::vector &Trktree::trk_dzPV() { if (not trk_dzPV_isLoaded) { if (trk_dzPV_branch != 0) { trk_dzPV_branch->GetEntry(index); @@ -6102,7 +6102,7 @@ const std::vector &trktree::trk_dzPV() { } return *trk_dzPV_; } -const std::vector &trktree::ph2_xy() { +const std::vector &Trktree::ph2_xy() { if (not ph2_xy_isLoaded) { if (ph2_xy_branch != 0) { ph2_xy_branch->GetEntry(index); @@ -6114,7 +6114,7 @@ const std::vector &trktree::ph2_xy() { } return *ph2_xy_; } -const std::vector &trktree::inv_module() { +const std::vector &Trktree::inv_module() { if (not inv_module_isLoaded) { if (inv_module_branch != 0) { inv_module_branch->GetEntry(index); @@ -6126,7 +6126,7 @@ const std::vector &trktree::inv_module() { } return *inv_module_; } -const std::vector &trktree::see_stateCcov55() { +const std::vector &Trktree::see_stateCcov55() { if (not see_stateCcov55_isLoaded) { if (see_stateCcov55_branch != 0) { see_stateCcov55_branch->GetEntry(index); @@ -6138,7 +6138,7 @@ const std::vector &trktree::see_stateCcov55() { } return *see_stateCcov55_; } -const std::vector &trktree::pix_panel() { +const std::vector &Trktree::pix_panel() { if (not pix_panel_isLoaded) { if (pix_panel_branch != 0) { pix_panel_branch->GetEntry(index); @@ -6150,7 +6150,7 @@ const std::vector &trktree::pix_panel() { } return *pix_panel_; } -const std::vector &trktree::inv_ladder() { +const std::vector &Trktree::inv_ladder() { if (not inv_ladder_isLoaded) { if (inv_ladder_branch != 0) { inv_ladder_branch->GetEntry(index); @@ -6162,7 +6162,7 @@ const std::vector &trktree::inv_ladder() { } return *inv_ladder_; } -const std::vector &trktree::ph2_xx() { +const std::vector &Trktree::ph2_xx() { if (not ph2_xx_isLoaded) { if (ph2_xx_branch != 0) { ph2_xx_branch->GetEntry(index); @@ -6174,7 +6174,7 @@ const std::vector &trktree::ph2_xx() { } return *ph2_xx_; } -const std::vector &trktree::sim_pca_cotTheta() { +const std::vector &Trktree::sim_pca_cotTheta() { if (not sim_pca_cotTheta_isLoaded) { if (sim_pca_cotTheta_branch != 0) { sim_pca_cotTheta_branch->GetEntry(index); @@ -6186,7 +6186,7 @@ const std::vector &trktree::sim_pca_cotTheta() { } return *sim_pca_cotTheta_; } -const std::vector &trktree::simpv_idx() { +const std::vector &Trktree::simpv_idx() { if (not simpv_idx_isLoaded) { if (simpv_idx_branch != 0) { simpv_idx_branch->GetEntry(index); @@ -6198,7 +6198,7 @@ const std::vector &trktree::simpv_idx() { } return *simpv_idx_; } -const std::vector &trktree::trk_inner_pz() { +const std::vector &Trktree::trk_inner_pz() { if (not trk_inner_pz_isLoaded) { if (trk_inner_pz_branch != 0) { trk_inner_pz_branch->GetEntry(index); @@ -6210,7 +6210,7 @@ const std::vector &trktree::trk_inner_pz() { } return *trk_inner_pz_; } -const std::vector &trktree::see_chi2() { +const std::vector &Trktree::see_chi2() { if (not see_chi2_isLoaded) { if (see_chi2_branch != 0) { see_chi2_branch->GetEntry(index); @@ -6222,7 +6222,7 @@ const std::vector &trktree::see_chi2() { } return *see_chi2_; } -const std::vector &trktree::see_stateCcov35() { +const std::vector &Trktree::see_stateCcov35() { if (not see_stateCcov35_isLoaded) { if (see_stateCcov35_branch != 0) { see_stateCcov35_branch->GetEntry(index); @@ -6234,7 +6234,7 @@ const std::vector &trktree::see_stateCcov35() { } return *see_stateCcov35_; } -const std::vector &trktree::see_stateCcov33() { +const std::vector &Trktree::see_stateCcov33() { if (not see_stateCcov33_isLoaded) { if (see_stateCcov33_branch != 0) { see_stateCcov33_branch->GetEntry(index); @@ -6246,7 +6246,7 @@ const std::vector &trktree::see_stateCcov33() { } return *see_stateCcov33_; } -const std::vector &trktree::inv_detId() { +const std::vector &Trktree::inv_detId() { if (not inv_detId_isLoaded) { if (inv_detId_branch != 0) { inv_detId_branch->GetEntry(index); @@ -6258,7 +6258,7 @@ const std::vector &trktree::inv_detId() { } return *inv_detId_; } -const std::vector &trktree::see_offset() { +const std::vector &Trktree::see_offset() { if (not see_offset_isLoaded) { if (see_offset_branch != 0) { see_offset_branch->GetEntry(index); @@ -6270,7 +6270,7 @@ const std::vector &trktree::see_offset() { } return *see_offset_; } -const std::vector &trktree::sim_nLay() { +const std::vector &Trktree::sim_nLay() { if (not sim_nLay_isLoaded) { if (sim_nLay_branch != 0) { sim_nLay_branch->GetEntry(index); @@ -6282,7 +6282,7 @@ const std::vector &trktree::sim_nLay() { } return *sim_nLay_; } -const std::vector > &trktree::sim_simHitIdx() { +const std::vector > &Trktree::sim_simHitIdx() { if (not sim_simHitIdx_isLoaded) { if (sim_simHitIdx_branch != 0) { sim_simHitIdx_branch->GetEntry(index); @@ -6294,7 +6294,7 @@ const std::vector > &trktree::sim_simHitIdx() { } return *sim_simHitIdx_; } -const std::vector &trktree::simhit_isUpper() { +const std::vector &Trktree::simhit_isUpper() { if (not simhit_isUpper_isLoaded) { if (simhit_isUpper_branch != 0) { simhit_isUpper_branch->GetEntry(index); @@ -6306,7 +6306,7 @@ const std::vector &trktree::simhit_isUpper() { } return *simhit_isUpper_; } -const std::vector &trktree::see_stateCcov00() { +const std::vector &Trktree::see_stateCcov00() { if (not see_stateCcov00_isLoaded) { if (see_stateCcov00_branch != 0) { see_stateCcov00_branch->GetEntry(index); @@ -6318,7 +6318,7 @@ const std::vector &trktree::see_stateCcov00() { } return *see_stateCcov00_; } -const std::vector &trktree::see_stopReason() { +const std::vector &Trktree::see_stopReason() { if (not see_stopReason_isLoaded) { if (see_stopReason_branch != 0) { see_stopReason_branch->GetEntry(index); @@ -6330,7 +6330,7 @@ const std::vector &trktree::see_stopReason() { } return *see_stopReason_; } -const std::vector &trktree::vtx_valid() { +const std::vector &Trktree::vtx_valid() { if (not vtx_valid_isLoaded) { if (vtx_valid_branch != 0) { vtx_valid_branch->GetEntry(index); @@ -6342,7 +6342,7 @@ const std::vector &trktree::vtx_valid() { } return *vtx_valid_; } -const unsigned int &trktree::lumi() { +const unsigned int &Trktree::lumi() { if (not lumi_isLoaded) { if (lumi_branch != 0) { lumi_branch->GetEntry(index); @@ -6354,7 +6354,7 @@ const unsigned int &trktree::lumi() { } return lumi_; } -const std::vector &trktree::trk_refpoint_x() { +const std::vector &Trktree::trk_refpoint_x() { if (not trk_refpoint_x_isLoaded) { if (trk_refpoint_x_branch != 0) { trk_refpoint_x_branch->GetEntry(index); @@ -6366,7 +6366,7 @@ const std::vector &trktree::trk_refpoint_x() { } return *trk_refpoint_x_; } -const std::vector &trktree::trk_refpoint_y() { +const std::vector &Trktree::trk_refpoint_y() { if (not trk_refpoint_y_isLoaded) { if (trk_refpoint_y_branch != 0) { trk_refpoint_y_branch->GetEntry(index); @@ -6378,7 +6378,7 @@ const std::vector &trktree::trk_refpoint_y() { } return *trk_refpoint_y_; } -const std::vector &trktree::trk_refpoint_z() { +const std::vector &Trktree::trk_refpoint_z() { if (not trk_refpoint_z_isLoaded) { if (trk_refpoint_z_branch != 0) { trk_refpoint_z_branch->GetEntry(index); @@ -6390,7 +6390,7 @@ const std::vector &trktree::trk_refpoint_z() { } return *trk_refpoint_z_; } -const std::vector &trktree::sim_n3DLay() { +const std::vector &Trktree::sim_n3DLay() { if (not sim_n3DLay_isLoaded) { if (sim_n3DLay_branch != 0) { sim_n3DLay_branch->GetEntry(index); @@ -6402,7 +6402,7 @@ const std::vector &trktree::sim_n3DLay() { } return *sim_n3DLay_; } -const std::vector &trktree::see_nPhase2OT() { +const std::vector &Trktree::see_nPhase2OT() { if (not see_nPhase2OT_isLoaded) { if (see_nPhase2OT_branch != 0) { see_nPhase2OT_branch->GetEntry(index); @@ -6414,7 +6414,7 @@ const std::vector &trktree::see_nPhase2OT() { } return *see_nPhase2OT_; } -const std::vector &trktree::trk_bestFromFirstHitSimTrkShareFracSimDenom() { +const std::vector &Trktree::trk_bestFromFirstHitSimTrkShareFracSimDenom() { if (not trk_bestFromFirstHitSimTrkShareFracSimDenom_isLoaded) { if (trk_bestFromFirstHitSimTrkShareFracSimDenom_branch != 0) { trk_bestFromFirstHitSimTrkShareFracSimDenom_branch->GetEntry(index); @@ -6426,7 +6426,7 @@ const std::vector &trktree::trk_bestFromFirstHitSimTrkShareFracSimDenom() } return *trk_bestFromFirstHitSimTrkShareFracSimDenom_; } -const std::vector &trktree::ph2_yy() { +const std::vector &Trktree::ph2_yy() { if (not ph2_yy_isLoaded) { if (ph2_yy_branch != 0) { ph2_yy_branch->GetEntry(index); @@ -6438,7 +6438,7 @@ const std::vector &trktree::ph2_yy() { } return *ph2_yy_; } -const std::vector &trktree::ph2_yz() { +const std::vector &Trktree::ph2_yz() { if (not ph2_yz_isLoaded) { if (ph2_yz_branch != 0) { ph2_yz_branch->GetEntry(index); @@ -6450,7 +6450,7 @@ const std::vector &trktree::ph2_yz() { } return *ph2_yz_; } -const std::vector &trktree::inv_blade() { +const std::vector &Trktree::inv_blade() { if (not inv_blade_isLoaded) { if (inv_blade_branch != 0) { inv_blade_branch->GetEntry(index); @@ -6462,7 +6462,7 @@ const std::vector &trktree::inv_blade() { } return *inv_blade_; } -const std::vector &trktree::trk_ptErr() { +const std::vector &Trktree::trk_ptErr() { if (not trk_ptErr_isLoaded) { if (trk_ptErr_branch != 0) { trk_ptErr_branch->GetEntry(index); @@ -6474,7 +6474,7 @@ const std::vector &trktree::trk_ptErr() { } return *trk_ptErr_; } -const std::vector &trktree::pix_zx() { +const std::vector &Trktree::pix_zx() { if (not pix_zx_isLoaded) { if (pix_zx_branch != 0) { pix_zx_branch->GetEntry(index); @@ -6486,7 +6486,7 @@ const std::vector &trktree::pix_zx() { } return *pix_zx_; } -const std::vector &trktree::simvtx_z() { +const std::vector &Trktree::simvtx_z() { if (not simvtx_z_isLoaded) { if (simvtx_z_branch != 0) { simvtx_z_branch->GetEntry(index); @@ -6498,7 +6498,7 @@ const std::vector &trktree::simvtx_z() { } return *simvtx_z_; } -const std::vector &trktree::sim_nTrackerHits() { +const std::vector &Trktree::sim_nTrackerHits() { if (not sim_nTrackerHits_isLoaded) { if (sim_nTrackerHits_branch != 0) { sim_nTrackerHits_branch->GetEntry(index); @@ -6510,7 +6510,7 @@ const std::vector &trktree::sim_nTrackerHits() { } return *sim_nTrackerHits_; } -const std::vector &trktree::ph2_subdet() { +const std::vector &Trktree::ph2_subdet() { if (not ph2_subdet_isLoaded) { if (ph2_subdet_branch != 0) { ph2_subdet_branch->GetEntry(index); @@ -6522,7 +6522,7 @@ const std::vector &trktree::ph2_subdet() { } return *ph2_subdet_; } -const std::vector &trktree::see_stateTrajPx() { +const std::vector &Trktree::see_stateTrajPx() { if (not see_stateTrajPx_isLoaded) { if (see_stateTrajPx_branch != 0) { see_stateTrajPx_branch->GetEntry(index); @@ -6534,7 +6534,7 @@ const std::vector &trktree::see_stateTrajPx() { } return *see_stateTrajPx_; } -const std::vector > &trktree::simhit_hitIdx() { +const std::vector > &Trktree::simhit_hitIdx() { if (not simhit_hitIdx_isLoaded) { if (simhit_hitIdx_branch != 0) { simhit_hitIdx_branch->GetEntry(index); @@ -6546,7 +6546,7 @@ const std::vector > &trktree::simhit_hitIdx() { } return *simhit_hitIdx_; } -const std::vector &trktree::simhit_ladder() { +const std::vector &Trktree::simhit_ladder() { if (not simhit_ladder_isLoaded) { if (simhit_ladder_branch != 0) { simhit_ladder_branch->GetEntry(index); @@ -6558,7 +6558,7 @@ const std::vector &trktree::simhit_ladder() { } return *simhit_ladder_; } -const std::vector &trktree::ph2_layer() { +const std::vector &Trktree::ph2_layer() { if (not ph2_layer_isLoaded) { if (ph2_layer_branch != 0) { ph2_layer_branch->GetEntry(index); @@ -6570,7 +6570,7 @@ const std::vector &trktree::ph2_layer() { } return *ph2_layer_; } -const std::vector &trktree::see_phi() { +const std::vector &Trktree::see_phi() { if (not see_phi_isLoaded) { if (see_phi_branch != 0) { see_phi_branch->GetEntry(index); @@ -6582,7 +6582,7 @@ const std::vector &trktree::see_phi() { } return *see_phi_; } -const std::vector &trktree::trk_nChi2_1Dmod() { +const std::vector &Trktree::trk_nChi2_1Dmod() { if (not trk_nChi2_1Dmod_isLoaded) { if (trk_nChi2_1Dmod_branch != 0) { trk_nChi2_1Dmod_branch->GetEntry(index); @@ -6594,7 +6594,7 @@ const std::vector &trktree::trk_nChi2_1Dmod() { } return *trk_nChi2_1Dmod_; } -const std::vector &trktree::trk_inner_py() { +const std::vector &Trktree::trk_inner_py() { if (not trk_inner_py_isLoaded) { if (trk_inner_py_branch != 0) { trk_inner_py_branch->GetEntry(index); @@ -6606,7 +6606,7 @@ const std::vector &trktree::trk_inner_py() { } return *trk_inner_py_; } -const std::vector &trktree::trk_inner_px() { +const std::vector &Trktree::trk_inner_px() { if (not trk_inner_px_isLoaded) { if (trk_inner_px_branch != 0) { trk_inner_px_branch->GetEntry(index); @@ -6618,7 +6618,7 @@ const std::vector &trktree::trk_inner_px() { } return *trk_inner_px_; } -const std::vector &trktree::trk_dxyErr() { +const std::vector &Trktree::trk_dxyErr() { if (not trk_dxyErr_isLoaded) { if (trk_dxyErr_branch != 0) { trk_dxyErr_branch->GetEntry(index); @@ -6630,7 +6630,7 @@ const std::vector &trktree::trk_dxyErr() { } return *trk_dxyErr_; } -const std::vector &trktree::sim_nPixelLay() { +const std::vector &Trktree::sim_nPixelLay() { if (not sim_nPixelLay_isLoaded) { if (sim_nPixelLay_branch != 0) { sim_nPixelLay_branch->GetEntry(index); @@ -6642,7 +6642,7 @@ const std::vector &trktree::sim_nPixelLay() { } return *sim_nPixelLay_; } -const std::vector &trktree::see_nValid() { +const std::vector &Trktree::see_nValid() { if (not see_nValid_isLoaded) { if (see_nValid_branch != 0) { see_nValid_branch->GetEntry(index); @@ -6654,7 +6654,7 @@ const std::vector &trktree::see_nValid() { } return *see_nValid_; } -const std::vector &trktree::trk_inner_pt() { +const std::vector &Trktree::trk_inner_pt() { if (not trk_inner_pt_isLoaded) { if (trk_inner_pt_branch != 0) { trk_inner_pt_branch->GetEntry(index); @@ -6666,7 +6666,7 @@ const std::vector &trktree::trk_inner_pt() { } return *trk_inner_pt_; } -const std::vector &trktree::see_stateTrajGlbPy() { +const std::vector &Trktree::see_stateTrajGlbPy() { if (not see_stateTrajGlbPy_isLoaded) { if (see_stateTrajGlbPy_branch != 0) { see_stateTrajGlbPy_branch->GetEntry(index); @@ -6678,7 +6678,7 @@ const std::vector &trktree::see_stateTrajGlbPy() { } return *see_stateTrajGlbPy_; } -void trktree::progress(int nEventsTotal, int nEventsChain) { +void Trktree::progress(int nEventsTotal, int nEventsChain) { int period = 1000; if (nEventsTotal % 1000 == 0) { if (isatty(1)) { diff --git a/RecoTracker/LSTCore/standalone/code/core/trktree.h b/RecoTracker/LSTCore/standalone/code/core/Trktree.h similarity index 99% rename from RecoTracker/LSTCore/standalone/code/core/trktree.h rename to RecoTracker/LSTCore/standalone/code/core/Trktree.h index 0ede2ddd105d4..fcb61aababb9f 100644 --- a/RecoTracker/LSTCore/standalone/code/core/trktree.h +++ b/RecoTracker/LSTCore/standalone/code/core/Trktree.h @@ -1,6 +1,6 @@ // -*- C++ -*- -#ifndef trktree_H -#define trktree_H +#ifndef Trktree_H +#define Trktree_H #include "Math/LorentzVector.h" #include "Math/Point3D.h" #include "TMath.h" @@ -13,7 +13,7 @@ #include typedef ROOT::Math::LorentzVector > LorentzVector; -class trktree { +class Trktree { private: protected: unsigned int index; @@ -1238,7 +1238,7 @@ class trktree { }; #ifndef __CINT__ -extern trktree trk; +extern Trktree trk; #endif namespace tas { diff --git a/RecoTracker/LSTCore/standalone/code/core/trkCore.h b/RecoTracker/LSTCore/standalone/code/core/trkCore.h index 57c8e31886585..0a2fddaba9d5c 100644 --- a/RecoTracker/LSTCore/standalone/code/core/trkCore.h +++ b/RecoTracker/LSTCore/standalone/code/core/trkCore.h @@ -1,7 +1,7 @@ #ifndef trkCore_h #define trkCore_h -#include "trktree.h" +#include "Trktree.h" #include "TCanvas.h" #include "TSystem.h" #include "AnalysisConfig.h" diff --git a/RecoTracker/LSTCore/standalone/code/rooutil/cxxopts.h b/RecoTracker/LSTCore/standalone/code/rooutil/cxxopts.h index f723f6bdcba7f..b799708f0f39f 100644 --- a/RecoTracker/LSTCore/standalone/code/rooutil/cxxopts.h +++ b/RecoTracker/LSTCore/standalone/code/rooutil/cxxopts.h @@ -223,65 +223,65 @@ namespace cxxopts { OptionParseException(const std::string& message) : OptionException(message) {} }; - class option_exists_error : public OptionSpecException { + class Option_exists_error : public OptionSpecException { public: - option_exists_error(const std::string& option) + Option_exists_error(const std::string& option) : OptionSpecException(u8"Option " + LQUOTE + option + RQUOTE + u8" already exists") {} }; - class invalid_option_format_error : public OptionSpecException { + class Invalid_option_format_error : public OptionSpecException { public: - invalid_option_format_error(const std::string& format) + Invalid_option_format_error(const std::string& format) : OptionSpecException(u8"Invalid option format " + LQUOTE + format + RQUOTE) {} }; - class option_syntax_exception : public OptionParseException { + class Option_syntax_exception : public OptionParseException { public: - option_syntax_exception(const std::string& text) + Option_syntax_exception(const std::string& text) : OptionParseException(u8"Argument " + LQUOTE + text + RQUOTE + u8" starts with a - but has incorrect syntax") { } }; - class option_not_exists_exception : public OptionParseException { + class Option_not_exists_exception : public OptionParseException { public: - option_not_exists_exception(const std::string& option) + Option_not_exists_exception(const std::string& option) : OptionParseException(u8"Option " + LQUOTE + option + RQUOTE + u8" does not exist") {} }; - class missing_argument_exception : public OptionParseException { + class Missing_argument_exception : public OptionParseException { public: - missing_argument_exception(const std::string& option) + Missing_argument_exception(const std::string& option) : OptionParseException(u8"Option " + LQUOTE + option + RQUOTE + u8" is missing an argument") {} }; - class option_requires_argument_exception : public OptionParseException { + class Option_requires_argument_exception : public OptionParseException { public: - option_requires_argument_exception(const std::string& option) + Option_requires_argument_exception(const std::string& option) : OptionParseException(u8"Option " + LQUOTE + option + RQUOTE + u8" requires an argument") {} }; - class option_not_has_argument_exception : public OptionParseException { + class Option_not_has_argument_exception : public OptionParseException { public: - option_not_has_argument_exception(const std::string& option, const std::string& arg) + Option_not_has_argument_exception(const std::string& option, const std::string& arg) : OptionParseException(u8"Option " + LQUOTE + option + RQUOTE + u8" does not take an argument, but argument " + LQUOTE + arg + RQUOTE + " given") {} }; - class option_not_present_exception : public OptionParseException { + class Option_not_present_exception : public OptionParseException { public: - option_not_present_exception(const std::string& option) + Option_not_present_exception(const std::string& option) : OptionParseException(u8"Option " + LQUOTE + option + RQUOTE + u8" not present") {} }; - class argument_incorrect_type : public OptionParseException { + class Argument_incorrect_type : public OptionParseException { public: - argument_incorrect_type(const std::string& arg) + Argument_incorrect_type(const std::string& arg) : OptionParseException(u8"Argument " + LQUOTE + arg + RQUOTE + u8" failed to parse") {} }; - class option_required_exception : public OptionParseException { + class Option_required_exception : public OptionParseException { public: - option_required_exception(const std::string& option) + Option_required_exception(const std::string& option) : OptionParseException(u8"Option " + LQUOTE + option + RQUOTE + u8" is required but not present") {} }; @@ -302,11 +302,11 @@ namespace cxxopts { void operator()(bool negative, U u, const std::string& text) { if (negative) { if (u > static_cast(-(std::numeric_limits::min)())) { - throw argument_incorrect_type(text); + throw Argument_incorrect_type(text); } } else { if (u > static_cast((std::numeric_limits::max)())) { - throw argument_incorrect_type(text); + throw Argument_incorrect_type(text); } } } @@ -334,7 +334,7 @@ namespace cxxopts { template T checked_negate(T&&, const std::string& text, std::false_type) { - throw argument_incorrect_type(text); + throw Argument_incorrect_type(text); } template @@ -343,7 +343,7 @@ namespace cxxopts { std::regex_match(text, match, integer_pattern); if (match.length() == 0) { - throw argument_incorrect_type(text); + throw Argument_incorrect_type(text); } if (match.length(4) > 0) { @@ -372,11 +372,11 @@ namespace cxxopts { } else if (base == 16 && *iter >= 'A' && *iter <= 'F') { digit = *iter - 'A' + 10; } else { - throw argument_incorrect_type(text); + throw Argument_incorrect_type(text); } if (umax - digit < result * base) { - throw argument_incorrect_type(text); + throw Argument_incorrect_type(text); } result = result * base + digit; @@ -396,7 +396,7 @@ namespace cxxopts { std::stringstream in(text); in >> value; if (!in) { - throw argument_incorrect_type(text); + throw Argument_incorrect_type(text); } } @@ -431,7 +431,7 @@ namespace cxxopts { return; } - throw argument_incorrect_type(text); + throw Argument_incorrect_type(text); } inline void parse_value(const std::string& text, std::string& value) { value = text; } @@ -461,27 +461,27 @@ namespace cxxopts { #endif template - struct type_is_container { + struct Type_is_container { static constexpr bool value = false; }; template - struct type_is_container> { + struct Type_is_container> { static constexpr bool value = true; }; template - class abstract_value : public Value { - using Self = abstract_value; + class Abstract_value : public Value { + using Self = Abstract_value; public: - abstract_value() : m_result(std::make_shared()), m_store(m_result.get()) {} + Abstract_value() : m_result(std::make_shared()), m_store(m_result.get()) {} - abstract_value(T* t) : m_store(t) {} + Abstract_value(T* t) : m_store(t) {} - virtual ~abstract_value() = default; + virtual ~Abstract_value() = default; - abstract_value(const abstract_value& rhs) { + Abstract_value(const Abstract_value& rhs) { if (rhs.m_result) { m_result = std::make_shared(); m_store = m_result.get(); @@ -497,7 +497,7 @@ namespace cxxopts { void parse(const std::string& text) const { parse_value(text, *m_store); } - bool is_container() const { return type_is_container::value; } + bool is_container() const { return Type_is_container::value; } void parse() const { parse_value(m_default_value, *m_store); } @@ -543,23 +543,23 @@ namespace cxxopts { }; template - class standard_value : public abstract_value { + class Standard_value : public Abstract_value { public: - using abstract_value::abstract_value; + using Abstract_value::Abstract_value; - std::shared_ptr clone() const { return std::make_shared>(*this); } + std::shared_ptr clone() const { return std::make_shared>(*this); } }; template <> - class standard_value : public abstract_value { + class Standard_value : public Abstract_value { public: - ~standard_value() = default; + ~Standard_value() = default; - standard_value() { set_default_and_implicit(); } + Standard_value() { set_default_and_implicit(); } - standard_value(bool* b) : abstract_value(b) { set_default_and_implicit(); } + Standard_value(bool* b) : Abstract_value(b) { set_default_and_implicit(); } - std::shared_ptr clone() const { return std::make_shared>(*this); } + std::shared_ptr clone() const { return std::make_shared>(*this); } private: void set_default_and_implicit() { @@ -573,12 +573,12 @@ namespace cxxopts { template std::shared_ptr value() { - return std::make_shared>(); + return std::make_shared>(); } template std::shared_ptr value(T& t) { - return std::make_shared>(&t); + return std::make_shared>(&t); } class OptionAdder; @@ -656,9 +656,9 @@ namespace cxxopts { } #ifdef CXXOPTS_NO_RTTI - return static_cast&>(*m_value).get(); + return static_cast&>(*m_value).get(); #else - return dynamic_cast&>(*m_value).get(); + return dynamic_cast&>(*m_value).get(); #endif } @@ -716,7 +716,7 @@ namespace cxxopts { auto iter = m_options->find(option); if (iter == m_options->end()) { - throw option_not_present_exception(option); + throw Option_not_present_exception(option); } auto riter = m_results.find(iter->second); @@ -964,16 +964,16 @@ namespace cxxopts { std::regex_match(opts.c_str(), result, option_specifier); if (result.empty()) { - throw invalid_option_format_error(opts); + throw Invalid_option_format_error(opts); } const auto& short_match = result[2]; const auto& long_match = result[3]; if (!short_match.length() && !long_match.length()) { - throw invalid_option_format_error(opts); + throw Invalid_option_format_error(opts); } else if (long_match.length() == 1 && short_match.length()) { - throw invalid_option_format_error(opts); + throw Invalid_option_format_error(opts); } auto option_names = [](const std::sub_match& short_, const std::sub_match& long_) { @@ -1009,7 +1009,7 @@ namespace cxxopts { if (value->value().has_implicit()) { parse_option(value, name, value->value().get_implicit_value()); } else { - throw missing_argument_exception(name); + throw Missing_argument_exception(name); } } else { if (value->value().has_implicit()) { @@ -1025,7 +1025,7 @@ namespace cxxopts { auto iter = m_options->find(option); if (iter == m_options->end()) { - throw option_not_exists_exception(option); + throw Option_not_exists_exception(option); } parse_option(iter->second, option, arg); @@ -1098,7 +1098,7 @@ namespace cxxopts { // but if it starts with a `-`, then it's an error if (argv[current][0] == '-' && argv[current][1] != '\0') { - throw option_syntax_exception(argv[current]); + throw Option_syntax_exception(argv[current]); } //if true is returned here then it was consumed, otherwise it is @@ -1123,7 +1123,7 @@ namespace cxxopts { continue; } else { //error - throw option_not_exists_exception(name); + throw Option_not_exists_exception(name); } } @@ -1136,7 +1136,7 @@ namespace cxxopts { parse_option(value, name, value->value().get_implicit_value()); } else { //error - throw option_requires_argument_exception(name); + throw Option_requires_argument_exception(name); } } } else if (result[1].length() != 0) { @@ -1153,7 +1153,7 @@ namespace cxxopts { continue; } else { //error - throw option_not_exists_exception(name); + throw Option_not_exists_exception(name); } } @@ -1240,7 +1240,7 @@ namespace cxxopts { auto in = m_options->emplace(option, details); if (!in.second) { - throw option_exists_error(option); + throw Option_exists_error(option); } }