CMS 3D CMS Logo

MatrixECALDetIds.h
Go to the documentation of this file.
1 #ifndef CalibrationIsolatedParticlesMatrizECALDetIds_h
2 #define CalibrationIsolatedParticlesMatrizECALDetIds_h
3 
4 #include <vector>
5 
15 
16 namespace spr {
17 
18  void matrixECALIds(const DetId& det,
19  int ieta,
20  int iphi,
21  const CaloGeometry* geo,
22  const CaloTopology* caloTopology,
23  std::vector<DetId>& vdets,
24  bool debug = false,
25  bool igNoreTransition = true);
26 
27  std::vector<DetId> matrixECALIds(const DetId& det,
28  int ieta,
29  int iphi,
30  const CaloGeometry* geo,
31  const CaloTopology* caloTopology,
32  bool debug = false,
33  bool igNoreTransition = true);
34 
35  std::vector<DetId> matrixECALIds(const DetId& det,
36  double dR,
37  const GlobalVector& trackMom,
38  const CaloGeometry* geo,
39  const CaloTopology* caloTopology,
40  bool debug = false,
41  bool igNoreTransition = true);
42 
43  void matrixECALIds(const DetId& det,
44  int ietaE,
45  int ietaW,
46  int iphiN,
47  int iphiS,
48  const CaloGeometry* geo,
49  const CaloTopology* caloTopology,
50  std::vector<DetId>& vdets,
51  bool debug = false,
52  bool igNoreTransition = true);
53 
54  std::vector<DetId> matrixECALIds(const DetId& det,
55  int ietaE,
56  int ietaW,
57  int iphiN,
58  int iphiS,
59  const CaloGeometry* geo,
60  const CaloTopology* caloTopology,
61  bool debug = false,
62  bool igNoreTransition = true);
63 
64  std::vector<DetId> newECALIdNS(std::vector<DetId>& dets,
65  unsigned int last,
66  int ieta,
67  int iphi,
68  std::vector<CaloDirection>& dir,
69  const CaloSubdetectorTopology* barrelTopo,
70  const CaloSubdetectorTopology* endcapTopo,
71  const EcalBarrelGeometry* barrelGeom,
72  const EcalEndcapGeometry* endcapGeom,
73  bool debug = false,
74  bool igNoreTransition = true);
75 
76  std::vector<DetId> newECALIdNS(std::vector<DetId>& dets,
77  unsigned int last,
78  std::vector<int>& ietaE,
79  std::vector<int>& ietaW,
80  std::vector<int>& iphiN,
81  std::vector<int>& iphiS,
82  std::vector<CaloDirection>& dir,
83  const CaloSubdetectorTopology* barrelTopo,
84  const CaloSubdetectorTopology* endcapTopo,
85  const EcalBarrelGeometry* barrelGeom,
86  const EcalEndcapGeometry* endcapGeom,
87  bool debug = false,
88  bool igNoreTransition = true);
89 
90  std::vector<DetId> newECALIdEW(std::vector<DetId>& dets,
91  unsigned int last,
92  int ieta,
93  std::vector<CaloDirection>& dir,
94  const CaloSubdetectorTopology* barrelTopo,
95  const CaloSubdetectorTopology* endcapTopo,
96  const EcalBarrelGeometry* barrelGeom,
97  const EcalEndcapGeometry* endcapGeom,
98  bool debug = false,
99  bool igNoreTransition = true);
100 
101  std::vector<DetId> newECALIdEW(std::vector<DetId>& dets,
102  unsigned int last,
103  std::vector<int>& ietaE,
104  std::vector<int>& ietaW,
105  std::vector<CaloDirection>& dir,
106  const CaloSubdetectorTopology* barrelTopo,
107  const CaloSubdetectorTopology* endcapTopo,
108  const EcalBarrelGeometry* barrelGeom,
109  const EcalEndcapGeometry* endcapGeom,
110  bool debug = false,
111  bool igNoreTransition = true);
112 
113  void simpleMove(DetId& det,
114  const CaloDirection& dir,
115  const CaloSubdetectorTopology* barrelTopo,
116  const CaloSubdetectorTopology* endcapTopo,
117  const EcalBarrelGeometry* barrelGeom,
118  const EcalEndcapGeometry* endcapGeom,
119  std::vector<DetId>& cells,
120  int& flag,
121  bool debug = false,
122  bool igNoreTransition = true);
123 
124  void extraIds(const DetId& det,
125  std::vector<DetId>& dets,
126  int ietaE,
127  int ietaW,
128  int iphiN,
129  int iphiS,
130  const EcalBarrelGeometry* barrelGeom,
131  const EcalEndcapGeometry* endcapGeom,
132  std::vector<DetId>& cells,
133  bool debug = false);
134 
135 } // namespace spr
136 #endif
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 > 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 > 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)
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)
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ cells
Definition: DetId.h:17
#define debug
Definition: HDRShower.cc:19
CaloDirection
Codes the local directions in the cell lattice.
Definition: CaloDirection.h:9
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)