CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
ParametrizedSubtractor Class Reference

#include <ParametrizedSubtractor.h>

Inheritance diagram for ParametrizedSubtractor:
PileUpSubtractor

Public Member Functions

void calculateOrphanInput (std::vector< fastjet::PseudoJet > &orphanInput) override
 
void calculatePedestal (std::vector< fastjet::PseudoJet > const &coll) override
 
double getEt (const reco::CandidatePtr &in) const
 
double getEta (const reco::CandidatePtr &in) const
 
double getMeanAtTower (const reco::CandidatePtr &in) const override
 
double getPileUpAtTower (const reco::CandidatePtr &in) const override
 
double getPU (int ieta, bool addMean, bool addSigma) const
 
double getSigmaAtTower (const reco::CandidatePtr &in) const override
 
void offsetCorrectJets () override
 
 ParametrizedSubtractor (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
 
void rescaleRMS (double s)
 
void setupGeometryMap (edm::Event &iEvent, const edm::EventSetup &iSetup) override
 
void subtractPedestal (std::vector< fastjet::PseudoJet > &coll) override
 
 ~ParametrizedSubtractor () override
 
- Public Member Functions inherited from PileUpSubtractor
virtual double getCone (double cone, double eta, double phi, double &et, double &pu)
 
int getN (const reco::CandidatePtr &in) const
 
int getNwithJets (const reco::CandidatePtr &in) const
 
virtual double getPileUpEnergy (int ijet) 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 ()
 

Public Attributes

int bin_
 
const CentralityBinscbins_
 
double centrality_
 
edm::EDGetTokenT< reco::CentralitycentTag_
 
bool dropZeroTowers_
 
TF1 * fMean
 
TF1 * fPU
 
TF1 * fRMS
 
TH1D * hC
 
std::vector< TH1D * > hEta
 
std::vector< TH1D * > hEtaMean
 
std::vector< TH1D * > hEtaRMS
 
bool interpolate_
 
bool sumRecHits_
 

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
int activeAreaRepeats
 
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_
 
CaloGeometry const * geo_
 
std::map< int, int > geomtowers_
 
double ghostArea
 
double ghostEtaMax
 
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 14 of file ParametrizedSubtractor.h.

Constructor & Destructor Documentation

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

Definition at line 25 of file ParametrizedSubtractor.cc.

References centTag_, data, fMean, fPU, fRMS, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hC, hEta, hEtaMean, hEtaRMS, mps_fire::i, spu::inf(), interpolate_, AlCaHLTBitMon_QueryRunRegistry::string, and sumRecHits_.

25  :
26  PileUpSubtractor(iConfig, std::move(iC)),
27  dropZeroTowers_(iConfig.getUntrackedParameter<bool>("dropZeroTowers",true)),
28  cbins_(nullptr)
29 {
30 
31  centTag_ = iC.consumes<reco::Centrality>(iConfig.getUntrackedParameter<edm::InputTag>("centTag",edm::InputTag("hiCentrality","","RECO")));
32 
33  interpolate_ = iConfig.getParameter<bool>("interpolate");
34  sumRecHits_ = iConfig.getParameter<bool>("sumRecHits");
35 
36  std::string ifname = "RecoHI/HiJetAlgos/data/PU_DATA.root";
37  TFile* inf = new TFile(edm::FileInPath(ifname).fullPath().data());
38  fPU = (TF1*)inf->Get("fPU");
39  fMean = (TF1*)inf->Get("fMean");
40  fRMS = (TF1*)inf->Get("fRMS");
41  hC = (TH1D*)inf->Get("hC");
42 
43  for(int i = 0; i < 40; ++i){
44  hEta.push_back((TH1D*)inf->Get(Form("hEta_%d",i)));
45  hEtaMean.push_back((TH1D*)inf->Get(Form("hEtaMean_%d",i)));
46  hEtaRMS.push_back((TH1D*)inf->Get(Form("hEtaRMS_%d",i)));
47  }
48 
49 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::vector< TH1D * > hEtaRMS
std::vector< TH1D * > hEtaMean
const CentralityBins * cbins_
std::vector< TH1D * > hEta
edm::EDGetTokenT< reco::Centrality > centTag_
int inf(FILE *, FILE *)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
PileUpSubtractor(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
def move(src, dest)
Definition: eostools.py:511
ParametrizedSubtractor::~ParametrizedSubtractor ( )
inlineoverride

Definition at line 30 of file ParametrizedSubtractor.h.

30 {;}

Member Function Documentation

void ParametrizedSubtractor::calculateOrphanInput ( std::vector< fastjet::PseudoJet > &  orphanInput)
overridevirtual

Reimplemented from PileUpSubtractor.

Definition at line 154 of file ParametrizedSubtractor.cc.

References PileUpSubtractor::fjInputs_.

155 {
156  orphanInput = *fjInputs_;
157 }
std::vector< fastjet::PseudoJet > * fjInputs_
void ParametrizedSubtractor::calculatePedestal ( std::vector< fastjet::PseudoJet > const &  coll)
overridevirtual

Reimplemented from PileUpSubtractor.

Definition at line 105 of file ParametrizedSubtractor.cc.

105  {
106  return;
107 }
double ParametrizedSubtractor::getEt ( const reco::CandidatePtr in) const

Definition at line 230 of file ParametrizedSubtractor.cc.

References CaloTower::constituents(), CaloTower::emEnergy(), stringResolutionProvider_cfi::et, PileUpSubtractor::geo_, edm::Ptr< T >::get(), CaloGeometry::getPosition(), CaloTower::hadEnergy(), mps_fire::i, CaloTower::id(), funct::sin(), and PV3DBase< T, PVType, FrameType >::theta().

Referenced by offsetCorrectJets(), and subtractPedestal().

230  {
231  const CaloTower* ctc = dynamic_cast<const CaloTower*>(in.get());
232  const GlobalPoint& pos=geo_->getPosition(ctc->id());
233  double energy = ctc->emEnergy() + ctc->hadEnergy();
234 
235  if(false){
236  energy = 0;
237  const std::vector<DetId>& hitids = ctc->constituents();
238  for(unsigned int i = 0; i< hitids.size(); ++i){
239 
240  }
241  }
242 
243  double et = energy*sin(pos.theta());
244  return et;
245 }
T const * get() const
Returns C++ pointer to the item.
Definition: Ptr.h:159
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
Geom::Theta< T > theta() const
Definition: PV3DBase.h:75
double emEnergy() const
Definition: CaloTower.h:110
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
Definition: CaloGeometry.cc:74
const std::vector< DetId > & constituents() const
Definition: CaloTower.h:104
double hadEnergy() const
Definition: CaloTower.h:111
CaloTowerDetId id() const
Definition: CaloTower.h:103
et
define resolution functions of each parameter
CaloGeometry const * geo_
double ParametrizedSubtractor::getEta ( const reco::CandidatePtr in) const

Definition at line 247 of file ParametrizedSubtractor.cc.

References PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), PileUpSubtractor::geo_, edm::Ptr< T >::get(), CaloGeometry::getPosition(), and CaloTower::id().

247  {
248  const CaloTower* ctc = dynamic_cast<const CaloTower*>(in.get());
249  const GlobalPoint& pos=geo_->getPosition(ctc->id());
250  double eta = pos.eta();
251  return eta;
252 }
T const * get() const
Returns C++ pointer to the item.
Definition: Ptr.h:159
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
Definition: CaloGeometry.cc:74
CaloTowerDetId id() const
Definition: CaloTower.h:103
T eta() const
Definition: PV3DBase.h:76
CaloGeometry const * geo_
double ParametrizedSubtractor::getMeanAtTower ( const reco::CandidatePtr in) const
overridevirtual

Reimplemented from PileUpSubtractor.

Definition at line 254 of file ParametrizedSubtractor.cc.

References getPU(), and PileUpSubtractor::ieta().

254  {
255  int it = ieta(in);
256  return getPU(it,true,false);
257 }
int ieta(const reco::CandidatePtr &in) const
double getPU(int ieta, bool addMean, bool addSigma) const
double ParametrizedSubtractor::getPileUpAtTower ( const reco::CandidatePtr in) const
overridevirtual

Reimplemented from PileUpSubtractor.

Definition at line 264 of file ParametrizedSubtractor.cc.

References getPU(), and PileUpSubtractor::ieta().

264  {
265  int it = ieta(in);
266  return getPU(it,true,true);
267 }
int ieta(const reco::CandidatePtr &in) const
double getPU(int ieta, bool addMean, bool addSigma) const
double ParametrizedSubtractor::getPU ( int  ieta,
bool  addMean,
bool  addSigma 
) const

Definition at line 269 of file ParametrizedSubtractor.cc.

References bin_, centrality_, fMean, fRMS, hC, hEtaMean, hEtaRMS, interpolate_, gen::n, and PileUpSubtractor::nSigmaPU_.

Referenced by getMeanAtTower(), getPileUpAtTower(), getSigmaAtTower(), offsetCorrectJets(), and subtractPedestal().

269  {
270 
271  //double e = hEta[bin_]->GetBinContent(hEta[bin_]->FindBin(ieta));
272  //double c = fPU->Eval(centrality_);
273 
274  double em = hEtaMean[bin_]->GetBinContent(hEtaMean[bin_]->FindBin(ieta));
275  double cm = fMean->Eval(centrality_);
276 
277  double er = hEtaRMS[bin_]->GetBinContent(hEtaRMS[bin_]->FindBin(ieta));
278  double cr = fRMS->Eval(centrality_);
279 
280  if(interpolate_){
281  double n = 0;
282  int hbin = 40-bin_;
283  double centerweight = (centrality_ - hC->GetBinCenter(hbin));
284  double lowerweight = (centrality_ - hC->GetBinLowEdge(hbin));
285  double upperweight = (centrality_ - hC->GetBinLowEdge(hbin+1));
286 
287  em *= lowerweight*upperweight;
288  er *= lowerweight*upperweight;
289  n += lowerweight*upperweight;
290 
291  if(bin_ > 0){
292  em += upperweight*centerweight*hEtaMean[bin_]->GetBinContent(hEtaMean[bin_-1]->FindBin(ieta));
293  er += upperweight*centerweight*hEtaRMS[bin_]->GetBinContent(hEtaRMS[bin_-1]->FindBin(ieta));
294  n += upperweight*centerweight;
295  }
296 
297  if(bin_ < 39){
298  em += lowerweight*centerweight*hEtaMean[bin_]->GetBinContent(hEtaMean[bin_+1]->FindBin(ieta));
299  er += lowerweight*centerweight*hEtaRMS[bin_]->GetBinContent(hEtaRMS[bin_+1]->FindBin(ieta));
300  n += lowerweight*centerweight;
301  }
302  em /= n;
303  er /= n;
304  }
305 
306  // return e*c;
307  return addMean*em*cm + addSigma*nSigmaPU_*er*cr;
308 }
std::vector< TH1D * > hEtaRMS
std::vector< TH1D * > hEtaMean
int ieta(const reco::CandidatePtr &in) const
double ParametrizedSubtractor::getSigmaAtTower ( const reco::CandidatePtr in) const
overridevirtual

Reimplemented from PileUpSubtractor.

Definition at line 259 of file ParametrizedSubtractor.cc.

References getPU(), and PileUpSubtractor::ieta().

259  {
260  int it = ieta(in);
261  return getPU(it,false,true);
262 }
int ieta(const reco::CandidatePtr &in) const
double getPU(int ieta, bool addMean, bool addSigma) const
void ParametrizedSubtractor::offsetCorrectJets ( )
overridevirtual

Reimplemented from PileUpSubtractor.

Definition at line 161 of file ParametrizedSubtractor.cc.

References def, PileUpSubtractor::doAreaFastjet_, PileUpSubtractor::doRhoFastjet_, PileUpSubtractor::fjActiveArea_, PileUpSubtractor::fjClusterSeq_, PileUpSubtractor::fjInputs_, PileUpSubtractor::fjJets_, PileUpSubtractor::fjOriginalInputs_, getEt(), getPU(), PileUpSubtractor::ieta(), PileUpSubtractor::jetOffset_, PileUpSubtractor::jetPtMin_, LogDebug, PileUpSubtractor::nSigmaPU_, rescaleRMS(), subtractPedestal(), and sumRecHits_.

162 {
163 
164  LogDebug("PileUpSubtractor")<<"The subtractor correcting jets...\n";
165  jetOffset_.clear();
166 
167  using namespace reco;
168 
169  (*fjInputs_) = fjOriginalInputs_;
172 
173  if(false){
174  const fastjet::JetDefinition& def = fjClusterSeq_->jet_def();
175  if ( !doAreaFastjet_ && !doRhoFastjet_) {
176  fastjet::ClusterSequence newseq( *fjInputs_, def );
177  (*fjClusterSeq_) = newseq;
178  } else {
179  fastjet::ClusterSequenceArea newseq( *fjInputs_, def , *fjActiveArea_ );
180  (*fjClusterSeq_) = newseq;
181  }
182 
183  (*fjJets_) = fastjet::sorted_by_pt(fjClusterSeq_->inclusive_jets(jetPtMin_));
184  }
185 
186  jetOffset_.reserve(fjJets_->size());
187 
188  vector<fastjet::PseudoJet>::iterator pseudojetTMP = fjJets_->begin (),
189  jetsEnd = fjJets_->end();
190  for (; pseudojetTMP != jetsEnd; ++pseudojetTMP) {
191 
192  int ijet = pseudojetTMP - fjJets_->begin();
193  jetOffset_[ijet] = 0;
194 
195  std::vector<fastjet::PseudoJet> towers =
196  sorted_by_pt(fjClusterSeq_->constituents(*pseudojetTMP));
197 
198  double newjetet = 0.;
199  for(vector<fastjet::PseudoJet>::const_iterator ito = towers.begin(),
200  towEnd = towers.end();
201  ito != towEnd;
202  ++ito)
203  {
204  const reco::CandidatePtr& originalTower = (*inputs_)[ito->user_index()];
205  int it = ieta( originalTower );
206  double Original_Et = originalTower->et();
207 
208  if(sumRecHits_){
209  Original_Et = getEt(originalTower);
210  }
211 
212  double etnew = Original_Et - getPU(it,true,true);
213  if(etnew < 0.) etnew = 0;
214  newjetet = newjetet + etnew;
215  jetOffset_[ijet] += Original_Et - etnew;
216  }
217 
218  if(sumRecHits_){
219  double mScale = newjetet/pseudojetTMP->Et();
220  int cshist = pseudojetTMP->cluster_hist_index();
221  pseudojetTMP->reset(pseudojetTMP->px()*mScale, pseudojetTMP->py()*mScale,
222  pseudojetTMP->pz()*mScale, pseudojetTMP->e()*mScale);
223  pseudojetTMP->set_cluster_hist_index(cshist);
224  }
225 
226  }
227 }
#define LogDebug(id)
double getEt(const reco::CandidatePtr &in) const
std::vector< double > jetOffset_
std::vector< fastjet::PseudoJet > * fjJets_
std::vector< fastjet::PseudoJet > fjOriginalInputs_
int ieta(const reco::CandidatePtr &in) const
std::vector< fastjet::PseudoJet > * fjInputs_
double getPU(int ieta, bool addMean, bool addSigma) const
ActiveAreaSpecPtr fjActiveArea_
ClusterSequencePtr fjClusterSeq_
void subtractPedestal(std::vector< fastjet::PseudoJet > &coll) override
fixed size matrix
JetCorrectorParameters::Definitions def
Definition: classes.h:6
void ParametrizedSubtractor::rescaleRMS ( double  s)

Definition at line 17 of file ParametrizedSubtractor.cc.

Referenced by offsetCorrectJets().

17  {
18  for ( std::map<int, double>::iterator iter = esigma_.begin();
19  iter != esigma_.end(); ++iter ){
20  iter->second = s*(iter->second);
21  }
22 }
std::map< int, double > esigma_
void ParametrizedSubtractor::setupGeometryMap ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from PileUpSubtractor.

Definition at line 52 of file ParametrizedSubtractor.cc.

References PileUpSubtractor::allgeomid_, bin_, centrality_, centTag_, egammaForCoreTracking_cff::depth, PileUpSubtractor::emean_, PileUpSubtractor::esigma_, reco::Centrality::EtHFhitSum(), PileUpSubtractor::geo_, PileUpSubtractor::geomtowers_, edm::EventSetup::get(), edm::Event::getByToken(), CaloGeometry::getValidDetIds(), hC, DetId::Hcal, mps_fire::i, PileUpSubtractor::ieta(), PileUpSubtractor::ietamax_, PileUpSubtractor::ietamin_, LogDebug, PileUpSubtractor::ntowersWithJets_, and edm::ESHandle< T >::product().

52  {
53  LogDebug("PileUpSubtractor")<<"The subtractor setting up geometry...\n";
54 
55  // The function below that is commented out was deleted from
56  // DataFormats/HeavyIonEvent/src/Centrality.cc
57  // in June 2015. See comments associated with that commit.
58  // if(!cbins_) getCentralityBinsFromDB(iSetup);
59 
61  iEvent.getByToken(centTag_,cent);
62 
63  centrality_ = cent->EtHFhitSum();
64  bin_ = 40-hC->FindBin(centrality_);
65  if(bin_ > 39) bin_ = 39;
66  if(bin_ < 0) bin_ = 0;
67 
68  if(!geo_) {
70  iSetup.get<CaloGeometryRecord>().get(pG);
71  geo_ = pG.product();
72  std::vector<DetId> alldid = geo_->getValidDetIds();
73 
74  int ietaold = -10000;
75  ietamax_ = -10000;
76  ietamin_ = 10000;
77  for(std::vector<DetId>::const_iterator did=alldid.begin(); did != alldid.end(); did++){
78  if( (*did).det() == DetId::Hcal ){
79  HcalDetId hid = HcalDetId(*did);
80  if( (hid).depth() == 1 ) {
81  allgeomid_.push_back(*did);
82 
83  if((hid).ieta() != ietaold){
84  ietaold = (hid).ieta();
85  geomtowers_[(hid).ieta()] = 1;
86  if((hid).ieta() > ietamax_) ietamax_ = (hid).ieta();
87  if((hid).ieta() < ietamin_) ietamin_ = (hid).ieta();
88  }
89  else{
90  geomtowers_[(hid).ieta()]++;
91  }
92  }
93  }
94  }
95  }
96 
97  for (int i = ietamin_; i<ietamax_+1; i++) {
98  emean_[i] = 0.;
99  esigma_[i] = 0.;
100  ntowersWithJets_[i] = 0;
101  }
102 }
#define LogDebug(id)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:579
std::map< int, double > esigma_
std::map< int, int > geomtowers_
int ieta(const reco::CandidatePtr &in) const
std::map< int, int > ntowersWithJets_
edm::EDGetTokenT< reco::Centrality > centTag_
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
double EtHFhitSum() const
Definition: Centrality.h:20
T get() const
Definition: EventSetup.h:62
CaloGeometry const * geo_
std::map< int, double > emean_
T const * product() const
Definition: ESHandle.h:86
std::vector< HcalDetId > allgeomid_
void ParametrizedSubtractor::subtractPedestal ( std::vector< fastjet::PseudoJet > &  coll)
overridevirtual

Reimplemented from PileUpSubtractor.

Definition at line 109 of file ParametrizedSubtractor.cc.

References dropZeroTowers_, getEt(), getPU(), PileUpSubtractor::ieta(), PileUpSubtractor::iphi(), LogDebug, and sumRecHits_.

Referenced by offsetCorrectJets().

110 {
111  if(false){
112  return;
113  }else{
114  LogDebug("PileUpSubtractor")<<"The subtractor subtracting pedestals...\n";
115 
116  int it = -100;
117  vector<fastjet::PseudoJet> newcoll;
118 
119  for (vector<fastjet::PseudoJet>::iterator input_object = coll.begin (),
120  fjInputsEnd = coll.end();
121  input_object != fjInputsEnd; ++input_object) {
122 
123  reco::CandidatePtr const & itow = (*inputs_)[ input_object->user_index() ];
124 
125  it = ieta( itow );
126  iphi( itow );
127 
128  double Original_Et = itow->et();
129  if(sumRecHits_){
130  Original_Et = getEt(itow);
131  }
132 
133  double etnew = Original_Et - getPU(it,true,true);
134  float mScale = etnew/input_object->Et();
135  if(etnew < 0.) mScale = 0.;
136 
137  math::XYZTLorentzVectorD towP4(input_object->px()*mScale, input_object->py()*mScale,
138  input_object->pz()*mScale, input_object->e()*mScale);
139 
140  int index = input_object->user_index();
141  input_object->reset ( towP4.px(),
142  towP4.py(),
143  towP4.pz(),
144  towP4.energy() );
145  input_object->set_user_index(index);
146  if(etnew > 0. && dropZeroTowers_) newcoll.push_back(*input_object);
147  }
148  if(dropZeroTowers_) coll = newcoll;
149 
150  }
151 }
#define LogDebug(id)
double getEt(const reco::CandidatePtr &in) const
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
int ieta(const reco::CandidatePtr &in) const
double getPU(int ieta, bool addMean, bool addSigma) const
int iphi(const reco::CandidatePtr &in) const
JetCorrectorParametersCollection coll
Definition: classes.h:10

Member Data Documentation

int ParametrizedSubtractor::bin_

Definition at line 35 of file ParametrizedSubtractor.h.

Referenced by getPU(), and setupGeometryMap().

const CentralityBins* ParametrizedSubtractor::cbins_

Definition at line 37 of file ParametrizedSubtractor.h.

double ParametrizedSubtractor::centrality_

Definition at line 36 of file ParametrizedSubtractor.h.

Referenced by getPU(), and setupGeometryMap().

edm::EDGetTokenT<reco::Centrality> ParametrizedSubtractor::centTag_

Definition at line 38 of file ParametrizedSubtractor.h.

Referenced by ParametrizedSubtractor(), and setupGeometryMap().

bool ParametrizedSubtractor::dropZeroTowers_

Definition at line 34 of file ParametrizedSubtractor.h.

Referenced by subtractPedestal().

TF1* ParametrizedSubtractor::fMean

Definition at line 44 of file ParametrizedSubtractor.h.

Referenced by getPU(), and ParametrizedSubtractor().

TF1* ParametrizedSubtractor::fPU

Definition at line 43 of file ParametrizedSubtractor.h.

Referenced by ParametrizedSubtractor().

TF1* ParametrizedSubtractor::fRMS

Definition at line 45 of file ParametrizedSubtractor.h.

Referenced by getPU(), and ParametrizedSubtractor().

TH1D* ParametrizedSubtractor::hC

Definition at line 46 of file ParametrizedSubtractor.h.

Referenced by getPU(), ParametrizedSubtractor(), and setupGeometryMap().

std::vector<TH1D*> ParametrizedSubtractor::hEta

Definition at line 39 of file ParametrizedSubtractor.h.

Referenced by ParametrizedSubtractor().

std::vector<TH1D*> ParametrizedSubtractor::hEtaMean

Definition at line 40 of file ParametrizedSubtractor.h.

Referenced by getPU(), and ParametrizedSubtractor().

std::vector<TH1D*> ParametrizedSubtractor::hEtaRMS

Definition at line 41 of file ParametrizedSubtractor.h.

Referenced by getPU(), and ParametrizedSubtractor().

bool ParametrizedSubtractor::interpolate_

Definition at line 33 of file ParametrizedSubtractor.h.

Referenced by getPU(), and ParametrizedSubtractor().

bool ParametrizedSubtractor::sumRecHits_