CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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, int ieta, int iphi, const CaloGeometry* geo, const CaloTopology* caloTopology, std::vector<DetId>& vdets, bool debug=false);
19 
20  std::vector<DetId> matrixECALIds(const DetId& det, int ieta, int iphi, const CaloGeometry* geo, const CaloTopology* caloTopology, bool debug=false);
21 
22  std::vector<DetId> matrixECALIds(const DetId& det, double dR, const GlobalVector& trackMom, const CaloGeometry* geo, const CaloTopology* caloTopology, bool debug=false);
23 
24  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);
25 
26  std::vector<DetId> matrixECALIds(const DetId& det, int ietaE, int ietaW, int iphiN, int iphiS, const CaloGeometry* geo, const CaloTopology* caloTopology, bool debug=false);
27 
28  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);
29 
30  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);
31 
32  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);
33 
34  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);
35 
36  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);
37 
38  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);
39 
40 }
41 #endif
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)
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)
Definition: DetId.h:18
#define debug
Definition: HDRShower.cc:19
void matrixECALIds(const DetId &det, int ieta, int iphi, const CaloGeometry *geo, const CaloTopology *caloTopology, std::vector< DetId > &vdets, bool debug=false)
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)
dbl *** dir
Definition: mlp_gen.cc:35
CaloDirection
Codes the local directions in the cell lattice.
Definition: CaloDirection.h:9
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)