/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Calibration/IsolatedParticles/interface/MatrixECALDetIds.h
136 строк
6 KB
Cms Build
Clang-Format
16 май 2019, 00:01
16 май 2019, 00:01
92500ad
Код
Авторство
О чём код?
#ifndef CalibrationIsolatedParticlesMatrizECALDetIds_h #define CalibrationIsolatedParticlesMatrizECALDetIds_h #include <vector> #include "DataFormats/DetId/interface/DetId.h" #include "DataFormats/GeometryVector/interface/GlobalPoint.h" #include "DataFormats/GeometryVector/interface/GlobalVector.h" #include "Geometry/CaloTopology/interface/CaloDirection.h" #include "Geometry/CaloGeometry/interface/CaloGeometry.h" #include "Geometry/CaloTopology/interface/CaloTopology.h" #include "Geometry/CaloTopology/interface/CaloSubdetectorTopology.h" #include "Geometry/EcalAlgo/interface/EcalBarrelGeometry.h" #include "Geometry/EcalAlgo/interface/EcalEndcapGeometry.h" namespace spr { void matrixECALIds(const DetId& det, int ieta, int iphi, const CaloGeometry* geo, const CaloTopology* caloTopology, std::vector<DetId>& vdets, bool debug = false, bool igNoreTransition = true); std::vector<DetId> matrixECALIds(const DetId& det, int ieta, int iphi, const CaloGeometry* geo, const CaloTopology* caloTopology, bool debug = false, bool igNoreTransition = true); std::vector<DetId> matrixECALIds(const DetId& det, double dR, const GlobalVector& trackMom, const CaloGeometry* geo, const CaloTopology* caloTopology, bool debug = false, bool igNoreTransition = true); void matrixECALIds(const DetId& det, int ietaE, int ietaW, int iphiN, int iphiS, const CaloGeometry* geo, const CaloTopology* caloTopology, std::vector<DetId>& vdets, bool debug = false, bool igNoreTransition = true); std::vector<DetId> matrixECALIds(const DetId& det, int ietaE, int ietaW, int iphiN, int iphiS, const CaloGeometry* geo, const CaloTopology* caloTopology, bool debug = false, bool igNoreTransition = true); std::vector<DetId> newECALIdNS(std::vector<DetId>& dets, unsigned int last, int ieta, int iphi, std::vector<CaloDirection>& dir, const CaloSubdetectorTopology* barrelTopo, const CaloSubdetectorTopology* endcapTopo, const EcalBarrelGeometry* barrelGeom, const EcalEndcapGeometry* endcapGeom, bool debug = false, bool igNoreTransition = true); std::vector<DetId> newECALIdNS(std::vector<DetId>& dets, unsigned int last, std::vector<int>& ietaE, std::vector<int>& ietaW, std::vector<int>& iphiN, std::vector<int>& iphiS, std::vector<CaloDirection>& dir, const CaloSubdetectorTopology* barrelTopo, const CaloSubdetectorTopology* endcapTopo, const EcalBarrelGeometry* barrelGeom, const EcalEndcapGeometry* endcapGeom, bool debug = false, bool igNoreTransition = true); std::vector<DetId> newECALIdEW(std::vector<DetId>& dets, unsigned int last, int ieta, std::vector<CaloDirection>& dir, const CaloSubdetectorTopology* barrelTopo, const CaloSubdetectorTopology* endcapTopo, const EcalBarrelGeometry* barrelGeom, const EcalEndcapGeometry* endcapGeom, bool debug = false, bool igNoreTransition = true); std::vector<DetId> newECALIdEW(std::vector<DetId>& dets, unsigned int last, std::vector<int>& ietaE, std::vector<int>& ietaW, std::vector<CaloDirection>& dir, const CaloSubdetectorTopology* barrelTopo, const CaloSubdetectorTopology* endcapTopo, const EcalBarrelGeometry* barrelGeom, const EcalEndcapGeometry* endcapGeom, bool debug = false, bool igNoreTransition = true); void simpleMove(DetId& det, const CaloDirection& dir, const CaloSubdetectorTopology* barrelTopo, const CaloSubdetectorTopology* endcapTopo, const EcalBarrelGeometry* barrelGeom, const EcalEndcapGeometry* endcapGeom, std::vector<DetId>& cells, int& flag, bool debug = false, bool igNoreTransition = true); void extraIds(const DetId& det, std::vector<DetId>& dets, int ietaE, int ietaW, int iphiN, int iphiS, const EcalBarrelGeometry* barrelGeom, const EcalEndcapGeometry* endcapGeom, std::vector<DetId>& cells, bool debug = false); } // namespace spr #endif