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, int ieta, int iphi, const CaloGeometry* geo, const CaloTopology* caloTopology, std::vector<DetId>& vdets, bool debug=false, bool igNoreTransition=true);
19 
20  std::vector<DetId> matrixECALIds(const DetId& det, int ieta, int iphi, const CaloGeometry* geo, const CaloTopology* caloTopology, bool debug=false, bool igNoreTransition=true);
21 
22  std::vector<DetId> matrixECALIds(const DetId& det, double dR, const GlobalVector& trackMom, const CaloGeometry* geo, const CaloTopology* caloTopology, bool debug=false, bool igNoreTransition=true);
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, bool igNoreTransition=true);
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, bool igNoreTransition=true);
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, bool igNoreTransition=true);
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, bool igNoreTransition=true);
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, bool igNoreTransition=true);
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, bool igNoreTransition=true);
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, bool igNoreTransition=true);
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 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)
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)
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)
Definition: DetId.h:18
#define debug
Definition: HDRShower.cc:19
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)
dbl *** dir
Definition: mlp_gen.cc:35
CaloDirection
Codes the local directions in the cell lattice.
Definition: CaloDirection.h:9