1 #ifndef CalibrationIsolatedParticlesMatrizECALDetIds_h 2 #define CalibrationIsolatedParticlesMatrizECALDetIds_h 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);
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);
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);
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)
CaloDirection
Codes the local directions in the cell lattice.
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)