CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
VoronoiSubtractor Class Reference

#include <VoronoiSubtractor.h>

Inheritance diagram for VoronoiSubtractor:
PileUpSubtractor

Public Member Functions

virtual void calculateOrphanInput (std::vector< fastjet::PseudoJet > &orphanInput)
 
virtual void calculatePedestal (std::vector< fastjet::PseudoJet > const &coll)
 
bool match (fastjet::PseudoJet, fastjet::PseudoJet)
 
virtual void offsetCorrectJets ()
 
virtual void setupGeometryMap (edm::Event &iEvent, const edm::EventSetup &iSetup)
 
virtual void subtractPedestal (std::vector< fastjet::PseudoJet > &coll)
 
 VoronoiSubtractor (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
 
 ~VoronoiSubtractor ()
 
- Public Member Functions inherited from PileUpSubtractor
virtual double getCone (double cone, double eta, double phi, double &et, double &pu)
 
virtual double getMeanAtTower (const reco::CandidatePtr &in) const
 
int getN (const reco::CandidatePtr &in) const
 
int getNwithJets (const reco::CandidatePtr &in) const
 
virtual double getPileUpAtTower (const reco::CandidatePtr &in) const
 
virtual double getPileUpEnergy (int ijet) const
 
virtual double getSigmaAtTower (const reco::CandidatePtr &in) const
 
int ieta (const reco::CandidatePtr &in) const
 
int iphi (const reco::CandidatePtr &in) const
 
 PileUpSubtractor (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
 
virtual void reset (std::vector< edm::Ptr< reco::Candidate > > &input, std::vector< fastjet::PseudoJet > &towers, std::vector< fastjet::PseudoJet > &output)
 
virtual void setDefinition (JetDefPtr const &jetDef)
 
virtual ~PileUpSubtractor ()
 

Private Attributes

bool addNegative_
 
bool addNegativesFromCone_
 
edm::Handle< reco::VoronoiMapbackgrounds_
 
edm::Handle< reco::CandidateViewcandidates_
 
std::vector< int > droppedCandidates_
 
bool dropZeroTowers_
 
double infinitesimalPt_
 
double rParam_
 
edm::EDGetTokenT
< reco::CandidateView
srcCand_
 
edm::EDGetTokenT
< edm::ValueMap
< reco::VoronoiBackground > > 
srcVor_
 

Additional Inherited Members

- Public Types inherited from PileUpSubtractor
typedef boost::shared_ptr
< fastjet::GhostedAreaSpec > 
ActiveAreaSpecPtr
 
typedef boost::shared_ptr
< fastjet::ClusterSequence > 
ClusterSequencePtr
 
typedef boost::shared_ptr
< fastjet::JetDefinition > 
JetDefPtr
 
typedef boost::shared_ptr
< fastjet::RangeDefinition > 
RangeDefPtr
 
- Protected Attributes inherited from PileUpSubtractor
std::vector< HcalDetIdallgeomid_
 
bool doAreaFastjet_
 
bool doRhoFastjet_
 
std::map< int, double > emean_
 
std::map< int, double > esigma_
 
ActiveAreaSpecPtr fjActiveArea_
 
ClusterSequencePtr fjClusterSeq_
 
std::vector< fastjet::PseudoJet > * fjInputs_
 
JetDefPtr fjJetDefinition_
 
std::vector< fastjet::PseudoJet > * fjJets_
 
std::vector< fastjet::PseudoJet > fjOriginalInputs_
 
RangeDefPtr fjRangeDef_
 
CaloGeometry const * geo_
 
std::map< int, int > geomtowers_
 
int ietamax_
 
int ietamin_
 
std::vector< edm::Ptr
< reco::Candidate > > * 
inputs_
 
std::vector< double > jetOffset_
 
double jetPtMin_
 
double nSigmaPU_
 
std::map< int, int > ntowersWithJets_
 
double puPtMin_
 
double radiusPU_
 
bool reRunAlgo_
 

Detailed Description

Definition at line 8 of file VoronoiSubtractor.h.

Constructor & Destructor Documentation

VoronoiSubtractor::VoronoiSubtractor ( const edm::ParameterSet iConfig,
edm::ConsumesCollector &&  iC 
)

Definition at line 13 of file VoronoiSubtractor.cc.

VoronoiSubtractor::~VoronoiSubtractor ( )
inline

Definition at line 19 of file VoronoiSubtractor.h.

19 {;}

Member Function Documentation

void VoronoiSubtractor::calculateOrphanInput ( std::vector< fastjet::PseudoJet > &  orphanInput)
virtual

Reimplemented from PileUpSubtractor.

Definition at line 184 of file VoronoiSubtractor.cc.

void VoronoiSubtractor::calculatePedestal ( std::vector< fastjet::PseudoJet > const &  coll)
virtual

Reimplemented from PileUpSubtractor.

Definition at line 178 of file VoronoiSubtractor.cc.

bool VoronoiSubtractor::match ( fastjet::PseudoJet  cand1,
fastjet::PseudoJet  cand2 
)

Definition at line 8 of file VoronoiSubtractor.cc.

void VoronoiSubtractor::offsetCorrectJets ( )
virtual

Reimplemented from PileUpSubtractor.

Definition at line 41 of file VoronoiSubtractor.cc.

void VoronoiSubtractor::setupGeometryMap ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from PileUpSubtractor.

Definition at line 28 of file VoronoiSubtractor.cc.

void VoronoiSubtractor::subtractPedestal ( std::vector< fastjet::PseudoJet > &  coll)
virtual

Reimplemented from PileUpSubtractor.

Definition at line 121 of file VoronoiSubtractor.cc.

Member Data Documentation

bool VoronoiSubtractor::addNegative_
private

Definition at line 28 of file VoronoiSubtractor.h.

bool VoronoiSubtractor::addNegativesFromCone_
private

Definition at line 29 of file VoronoiSubtractor.h.

edm::Handle<reco::VoronoiMap> VoronoiSubtractor::backgrounds_
private

Definition at line 23 of file VoronoiSubtractor.h.

edm::Handle<reco::CandidateView> VoronoiSubtractor::candidates_
private

Definition at line 22 of file VoronoiSubtractor.h.

std::vector<int> VoronoiSubtractor::droppedCandidates_
private

Definition at line 26 of file VoronoiSubtractor.h.

bool VoronoiSubtractor::dropZeroTowers_
private

Definition at line 27 of file VoronoiSubtractor.h.

double VoronoiSubtractor::infinitesimalPt_
private

Definition at line 30 of file VoronoiSubtractor.h.

double VoronoiSubtractor::rParam_
private

Definition at line 31 of file VoronoiSubtractor.h.

edm::EDGetTokenT<reco::CandidateView> VoronoiSubtractor::srcCand_
private

Definition at line 24 of file VoronoiSubtractor.h.

edm::EDGetTokenT<edm::ValueMap<reco::VoronoiBackground> > VoronoiSubtractor::srcVor_
private

Definition at line 25 of file VoronoiSubtractor.h.