CMS 3D CMS Logo

Namespaces | Functions
FindDistCone.h File Reference
#include <memory>
#include <cmath>
#include <string>
#include <map>
#include <vector>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/Candidate/interface/Candidate.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/EcalDetId/interface/EBDetId.h"
#include "DataFormats/EcalDetId/interface/EEDetId.h"
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
#include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
#include "Geometry/CaloGeometry/interface/CaloGeometry.h"

Go to the source code of this file.

Namespaces

 spr
 

Functions

double spr::getDistInCMatEcal (double eta1, double phi1, double eta2, double phi2, bool debug=false)
 
double spr::getDistInCMatHcal (double eta1, double phi1, double eta2, double phi2, bool debug=false)
 
double spr::getDistInPlaneTrackDir (const GlobalPoint &caloPoint, const GlobalVector &caloVector, const GlobalPoint &rechitPoint, bool debug=false)
 
double spr::getEnergy (edm::PCaloHitContainer::const_iterator hit, int useRaw=0, bool debug=false)
 
double spr::getEnergy (HBHERecHitCollection::const_iterator hit, int useRaw=0, bool debug=false)
 
void spr::getEtaPhi (edm::PCaloHitContainer::const_iterator hit, int &ieta, int &iphi, bool debug=false)
 
void spr::getEtaPhi (edm::PCaloHitContainer::const_iterator hit, std::vector< int > &RH_ieta, std::vector< int > &RH_iphi, std::vector< double > &RH_ene, bool debug=false)
 
void spr::getEtaPhi (HBHERecHitCollection::const_iterator hit, int &ieta, int &iphi, bool debug=false)
 
void spr::getEtaPhi (HBHERecHitCollection::const_iterator hit, std::vector< int > &RH_ieta, std::vector< int > &RH_iphi, std::vector< double > &RH_ene, bool debug=false)
 
GlobalPoint spr::getGpos (const CaloGeometry *geo, edm::PCaloHitContainer::const_iterator hit, bool debug=false)
 
GlobalPoint spr::getGpos (const CaloGeometry *geo, HBHERecHitCollection::const_iterator hit, bool debug=false)
 
double spr::getRawEnergy (edm::PCaloHitContainer::const_iterator hit, int useRaw=0)
 
double spr::getRawEnergy (HBHERecHitCollection::const_iterator hit, int useRaw=0)