CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
EvtPlaneProducer Class Reference

#include <RecoHI/EvtPlaneProducer/src/EvtPlaneProducer.cc>

Inheritance diagram for EvtPlaneProducer:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 EvtPlaneProducer (const edm::ParameterSet &)
 
 ~EvtPlaneProducer ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel)
 
virtual ~ProducerBase () noexcept(false)
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

virtual void produce (edm::Event &, const edm::EventSetup &) override
 

Private Attributes

double caloCentRef_
 
double caloCentRefWidth_
 
edm::Handle< CaloTowerCollectioncaloCollection_
 
edm::InputTag caloTag_
 
edm::EDGetTokenT< CaloTowerCollectioncaloToken
 
edm::Handle< std::vector< reco::CastorTower > > castorCollection_
 
edm::InputTag castorTag_
 
edm::EDGetTokenT< std::vector< reco::CastorTower > > castorToken
 
int CentBinCompression_
 
edm::InputTag centralityBinTag_
 
edm::EDGetTokenT< int > centralityBinToken
 
std::string centralityLabel_
 
std::string centralityMC_
 
std::string centralityVariable_
 
double chi2_
 
double dzerr_
 
HiEvtPlaneFlattenflat [NumEPNames]
 
int FlatOrder_
 
edm::ESWatcher< HeavyIonRPRcdhirpWatcher
 
edm::ESWatcher< HeavyIonRcdhiWatcher
 
bool loadDB_
 
double maxet_
 
double maxpt_
 
double maxvtx_
 
double minet_
 
double minpt_
 
double minvtx_
 
double nCentBins_
 
int NumFlatBins_
 
GenPlanerp [NumEPNames]
 
edm::Handle< reco::TrackCollectiontrackCollection_
 
edm::InputTag trackTag_
 
edm::EDGetTokenT< reco::TrackCollectiontrackToken
 
edm::Handle< std::vector< reco::Vertex > > vertex_
 
edm::InputTag vertexTag_
 
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 158 of file EvtPlaneProducer.cc.

Constructor & Destructor Documentation

EvtPlaneProducer::EvtPlaneProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 215 of file EvtPlaneProducer.cc.

References caloTag_, caloToken, castorTag_, castorToken, centralityBinTag_, centralityBinToken, centralityLabel_, centralityMC_, centralityVariable_, data, hi::EPEtaMax1, hi::EPEtaMax2, hi::EPEtaMin1, hi::EPEtaMin2, hi::EPNames, hi::EPOrder, edm::ParameterSet::exists(), flat, FlatOrder_, edm::ParameterSet::getParameter(), mps_fire::i, HiEvtPlaneFlatten::init(), nCentBins_, hi::NumEPNames, NumFlatBins_, rp, AlCaHLTBitMon_QueryRunRegistry::string, trackTag_, trackToken, vertexTag_, and vertexToken.

215  :
216  centralityVariable_ ( iConfig.getParameter<std::string>("centralityVariable") ),
217  centralityBinTag_ ( iConfig.getParameter<edm::InputTag>("centralityBinTag") ),
218  vertexTag_ ( iConfig.getParameter<edm::InputTag>("vertexTag") ),
219  caloTag_ ( iConfig.getParameter<edm::InputTag>("caloTag") ),
220  castorTag_ ( iConfig.getParameter<edm::InputTag>("castorTag") ),
221  trackTag_ ( iConfig.getParameter<edm::InputTag>("trackTag") ),
222  loadDB_ ( iConfig.getParameter<bool>("loadDB") ),
223  minet_ ( iConfig.getParameter<double>("minet") ),
224  maxet_ ( iConfig.getParameter<double>("maxet") ),
225  minpt_ ( iConfig.getParameter<double>("minpt") ),
226  maxpt_ ( iConfig.getParameter<double>("maxpt") ),
227  minvtx_ ( iConfig.getParameter<double>("minvtx") ),
228  maxvtx_ ( iConfig.getParameter<double>("maxvtx") ),
229  dzerr_ ( iConfig.getParameter<double>("dzerr") ),
230  chi2_ ( iConfig.getParameter<double>("chi2") ),
231  FlatOrder_ ( iConfig.getParameter<int>("FlatOrder") ),
232  NumFlatBins_ ( iConfig.getParameter<int>("NumFlatBins") ),
233  caloCentRef_ ( iConfig.getParameter<double>("caloCentRef") ),
234  caloCentRefWidth_ ( iConfig.getParameter<double>("caloCentRefWidth") ),
235  CentBinCompression_ ( iConfig.getParameter<int>("CentBinCompression") )
236 {
237 
238  nCentBins_ = 200.;
239 
240  if(iConfig.exists("nonDefaultGlauberModel")){
241  centralityMC_ = iConfig.getParameter<std::string>("nonDefaultGlauberModel");
242  }
244 
245  centralityBinToken = consumes<int>(centralityBinTag_);
246 
247  vertexToken = consumes<std::vector<reco::Vertex>>(vertexTag_);
248 
249  caloToken = consumes<CaloTowerCollection>(caloTag_);
250 
251  castorToken = consumes<std::vector<reco::CastorTower>>(castorTag_);
252 
253  trackToken = consumes<reco::TrackCollection>(trackTag_);
254 
255  produces<reco::EvtPlaneCollection>();
256  for(int i = 0; i<NumEPNames; i++ ) {
258  }
259  for(int i = 0; i<NumEPNames; i++) {
260  flat[i] = new HiEvtPlaneFlatten();
262  }
263 
264 }
void init(int order, int nbins, std::string tag, int vord)
edm::InputTag centralityBinTag_
std::string centralityLabel_
T getParameter(std::string const &) const
const int EPOrder[]
const double EPEtaMin2[]
edm::InputTag caloTag_
std::string centralityMC_
bool exists(std::string const &parameterName) const
checks if a parameter exists
edm::EDGetTokenT< int > centralityBinToken
edm::EDGetTokenT< std::vector< reco::CastorTower > > castorToken
const std::string EPNames[]
const double EPEtaMin1[]
GenPlane * rp[NumEPNames]
HiEvtPlaneFlatten * flat[NumEPNames]
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken
edm::InputTag vertexTag_
edm::EDGetTokenT< reco::TrackCollection > trackToken
std::string centralityVariable_
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
const double EPEtaMax2[]
static const int NumEPNames
edm::EDGetTokenT< CaloTowerCollection > caloToken
edm::InputTag castorTag_
const double EPEtaMax1[]
edm::InputTag trackTag_
EvtPlaneProducer::~EvtPlaneProducer ( )

Definition at line 267 of file EvtPlaneProducer.cc.

References flat, mps_fire::i, and hi::NumEPNames.

268 {
269 
270  // do anything here that needs to be done at desctruction time
271  // (e.g. close files, deallocate resources etc.)
272  for(int i = 0; i<NumEPNames; i++) {
273  delete flat[i];
274  }
275 
276 }
HiEvtPlaneFlatten * flat[NumEPNames]
static const int NumEPNames

Member Function Documentation

void EvtPlaneProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Definition at line 285 of file EvtPlaneProducer.cc.

References hi::GenPlane::addParticle(), stringResolutionProvider_cfi::bin, caloCentRef_, caloCentRefWidth_, caloCollection_, caloToken, castorCollection_, castorToken, CentBinCompression_, centralityBinToken, centralityLabel_, edm::ESWatcher< T >::check(), chi2_, funct::cos(), cuy::cv, allConversions_cfi::d0, DEFINE_FWK_MODULE, PVValHelper::dz, dzerr_, hi::EPDet, hi::EPOrder, flat, edm::EventSetup::get(), hi::GenPlane::getAngle(), edm::Event::getByToken(), HiEvtPlaneFlatten::getEtScale(), HiEvtPlaneFlatten::getW(), hcaldqm::constants::HF, hirpWatcher, hiWatcher, mps_fire::i, fastTrackerRecHitType::isPixel(), LoadEPDB::IsSuccess(), edm::HandleBase::isValid(), loadDB_, CentralityTable::m_table, HiEvtPlane_cfi::maxet, maxet_, HiEvtPlane_cfi::maxpt, maxpt_, hi::maxTransverse, maxvtx_, HiEvtPlane_cfi::minet, minet_, HiEvtPlane_cfi::minpt, minpt_, hi::minTransverse, hi::MomConsWeight, eostools::move(), nCentBins_, hi::NumEPNames, edm::Handle< T >::product(), edm::Event::put(), reset(), rp, HiEvtPlaneFlatten::setCaloCentRefBins(), funct::sin(), mathSSE::sqrt(), trackCollection_, align::Tracker, trackToken, vertex_, vertexToken, and w.

286 {
287  using namespace edm;
288  using namespace std;
289  using namespace reco;
290 
291  if( loadDB_ && (hiWatcher.check(iSetup) || hirpWatcher.check(iSetup)) ) {
292  //
293  //Get Size of Centrality Table
294  //
296  iSetup.get<HeavyIonRcd>().get(centralityLabel_,centDB_);
297  nCentBins_ = centDB_->m_table.size();
298  for(int i = 0; i<NumEPNames; i++) {
299  if(caloCentRef_>0) {
300  int minbin = (caloCentRef_-caloCentRefWidth_/2.)*nCentBins_/100.;
301  int maxbin = (caloCentRef_+caloCentRefWidth_/2.)*nCentBins_/100.;
302  minbin/=CentBinCompression_;
303  maxbin/=CentBinCompression_;
304  if(minbin>0 && maxbin>=minbin) {
305  if(EPDet[i]==HF || EPDet[i]==Castor) flat[i]->setCaloCentRefBins(minbin,maxbin);
306  }
307  }
308  }
309 
310  //
311  //Get flattening parameter file.
312  //
313  if ( loadDB_ ) {
314  edm::ESHandle<RPFlatParams> flatparmsDB_;
315  iSetup.get<HeavyIonRPRcd>().get(flatparmsDB_);
316  LoadEPDB db(flatparmsDB_,flat);
317  if(!db.IsSuccess()) {
318  loadDB_ = kFALSE;
319  }
320  }
321 
322  } //rp record change
323 
324  //
325  //Get Centrality
326  //
327  int bin = 0;
328  if(loadDB_) {
329  edm::Handle<int> cbin_;
330  iEvent.getByToken(centralityBinToken, cbin_);
331  int cbin = *cbin_;
332  bin = cbin/CentBinCompression_;
333  }
334  //
335  //Get Vertex
336  //
337  int vs_sell = 0.;
338  float vzr_sell;
340  const reco::VertexCollection * vertices3 = nullptr;
341  if ( vertex_.isValid() ) {
342  vertices3 = vertex_.product();
343  vs_sell = vertices3->size();
344  }
345  if(vs_sell>0) {
346  vzr_sell = vertices3->begin()->z();
347  } else
348  vzr_sell = -999.9;
349  //
350  for(int i = 0; i<NumEPNames; i++) rp[i]->reset();
351  if(vzr_sell<minvtx_ or vzr_sell>maxvtx_) return;
352 
353  //calorimetry part
354 
355  double tower_eta, tower_phi;
356  double tower_energyet, tower_energyet_e, tower_energyet_h;
357 
359 
360  if(caloCollection_.isValid()){
361  for (CaloTowerCollection::const_iterator j = caloCollection_->begin();j !=caloCollection_->end(); j++) {
362  tower_eta = j->eta();
363  tower_phi = j->phi();
364  tower_energyet_e = j->emEt();
365  tower_energyet_h = j->hadEt();
366  tower_energyet = tower_energyet_e + tower_energyet_h;
367  double minet = minet_;
368  double maxet = maxet_;
369  for(int i = 0; i<NumEPNames; i++) {
370  if(minet_<0) minet = minTransverse[i];
371  if(maxet_<0) maxet = maxTransverse[i];
372  if(tower_energyet<minet) continue;
373  if(tower_energyet>maxet) continue;
374  if(EPDet[i]==HF) {
375  double w = tower_energyet;
376  if(loadDB_) w = tower_energyet*flat[i]->getEtScale(vzr_sell,bin);
377  if(EPOrder[i]==1 ) {
378  if(MomConsWeight[i][0]=='y' && loadDB_ ) {
379  w = flat[i]->getW(tower_energyet, vzr_sell, bin);
380  }
381  if(tower_eta<0 ) w=-w;
382  }
383  rp[i]->addParticle(w,tower_energyet,sin(EPOrder[i]*tower_phi),cos(EPOrder[i]*tower_phi),tower_eta);
384  }
385  }
386  }
387  }
388 
389  //Castor part
390 
391 
393 
395  for (std::vector<reco::CastorTower>::const_iterator j = castorCollection_->begin();j !=castorCollection_->end(); j++) {
396  tower_eta = j->eta();
397  tower_phi = j->phi();
398  tower_energyet = j->et();
399  double minet = minet_;
400  double maxet = maxet_;
401  for(int i = 0; i<NumEPNames; i++) {
402  if(EPDet[i]==Castor) {
403  if(minet_<0) minet = minTransverse[i];
404  if(maxet_<0) maxet = maxTransverse[i];
405  if(tower_energyet<minet) continue;
406  if(tower_energyet>maxet) continue;
407  double w = tower_energyet;
408  if(EPOrder[i]==1 ) {
409  if(MomConsWeight[i][0]=='y' && loadDB_ ) {
410  w = flat[i]->getW(tower_energyet, vzr_sell, bin);
411  }
412  if(tower_eta<0 ) w=-w;
413  }
414  rp[i]->addParticle(w,tower_energyet,sin(EPOrder[i]*tower_phi),cos(EPOrder[i]*tower_phi),tower_eta);
415  }
416  }
417  }
418  }
419 
420  //Tracking part
421 
422  double track_eta;
423  double track_phi;
424  double track_pt;
425 
426  double vzErr2 =0.0, vxyErr=0.0;
427  math::XYZPoint vtxPoint(0.0,0.0,0.0);
428  if(vertex_.isValid() && vertex_->size()>0) {
429  vtxPoint=vertex_->begin()->position();
430  vzErr2= (vertex_->begin()->zError())*(vertex_->begin()->zError());
431  vxyErr=vertex_->begin()->xError() * vertex_->begin()->yError();
432  }
433 
436  for(reco::TrackCollection::const_iterator j = trackCollection_->begin(); j != trackCollection_->end(); j++){
437  bool accepted = true;
438  bool isPixel = false;
439  // determine if the track is a pixel track
440  if ( j->numberOfValidHits() < 7 ) isPixel = true;
441 
442  // determine the vertex significance
443  double d0=0.0, dz=0.0, d0sigma=0.0, dzsigma=0.0;
444  d0 = -1.*j->dxy(vtxPoint);
445  dz = j->dz(vtxPoint);
446  d0sigma = sqrt(j->d0Error()*j->d0Error()+vxyErr);
447  dzsigma = sqrt(j->dzError()*j->dzError()+vzErr2);
448 
449  // cuts for pixel tracks
450  if( isPixel ){
451  // dz significance cut
452  if ( fabs(dz/dzsigma) > dzerr_ ) accepted = false;
453  // chi2/ndof cut
454  if ( j->normalizedChi2() > chi2_ ) accepted = false;
455  }
456  // cuts for full tracks
457  if ( ! isPixel) {
458  // dz and d0 significance cuts
459  if ( fabs(dz/dzsigma) > 3 ) accepted = false;
460  if ( fabs(d0/d0sigma) > 3 ) accepted = false;
461  // pt resolution cut
462  if ( j->ptError()/j->pt() > 0.1 ) accepted = false;
463  // number of valid hits cut
464  if ( j->numberOfValidHits() < 12 ) accepted = false;
465  }
466  if( accepted ) {
467  track_eta = j->eta();
468  track_phi = j->phi();
469  track_pt = j->pt();
470  double minpt = minpt_;
471  double maxpt = maxpt_;
472  for(int i = 0; i<NumEPNames; i++) {
473  if(minpt_<0) minpt = minTransverse[i];
474  if(maxpt_<0) maxpt = maxTransverse[i];
475  if(track_pt<minpt) continue;
476  if(track_pt>maxpt) continue;
477  if(EPDet[i]==Tracker) {
478  double w = track_pt;
479  if(w>2.5) w=2.0; //v2 starts decreasing above ~2.5 GeV/c
480  if(EPOrder[i]==1) {
481  if(MomConsWeight[i][0]=='y' && loadDB_) {
482  w = flat[i]->getW(track_pt, vzr_sell, bin);
483  }
484  if(track_eta<0) w=-w;
485  }
486  rp[i]->addParticle(w,track_pt,sin(EPOrder[i]*track_phi),cos(EPOrder[i]*track_phi),track_eta);
487  }
488  }
489  }
490  } //end for
491  }
492 
493  auto evtplaneOutput = std::make_unique<EvtPlaneCollection>();
494 
495  double ang=-10;
496  double sv = 0;
497  double cv = 0;
498  double svNoWgt = 0;
499  double cvNoWgt = 0;
500 
501  double wv = 0;
502  double wv2 = 0;
503  double pe = 0;
504  double pe2 = 0;
505  uint epmult = 0;
506 
507  for(int i = 0; i<NumEPNames; i++) {
508  rp[i]->getAngle(ang,sv,cv,svNoWgt, cvNoWgt, wv,wv2,pe,pe2,epmult);
509  evtplaneOutput->push_back( EvtPlane(i,0,ang,sv,cv,wv,wv2,pe,pe2,epmult) );
510  evtplaneOutput->back().addLevel(3, 0., svNoWgt, cvNoWgt);
511  }
512 
513  iEvent.put(std::move(evtplaneOutput));
514 }
std::string centralityLabel_
const int EPOrder[]
edm::Handle< CaloTowerCollection > caloCollection_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
std::vector< CBin > m_table
const int EPDet[]
edm::Handle< reco::TrackCollection > trackCollection_
const double w
Definition: UKUtility.cc:23
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:460
edm::ESWatcher< HeavyIonRcd > hiWatcher
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
std::vector< CaloTower >::const_iterator const_iterator
void setCaloCentRefBins(const int caloCentRefMinBin, const int caloCentRefMaxBin)
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
cv
Definition: cuy.py:362
edm::EDGetTokenT< int > centralityBinToken
edm::EDGetTokenT< std::vector< reco::CastorTower > > castorToken
const double maxTransverse[]
double getEtScale(double vtx, int centbin) const
edm::ESWatcher< HeavyIonRPRcd > hirpWatcher
const std::string MomConsWeight[]
GenPlane * rp[NumEPNames]
T sqrt(T t)
Definition: SSEVec.h:18
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
HiEvtPlaneFlatten * flat[NumEPNames]
void addParticle(double w, double PtOrEt, double s, double c, double eta)
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken
bool isValid() const
Definition: HandleBase.h:74
edm::EDGetTokenT< reco::TrackCollection > trackToken
edm::Handle< std::vector< reco::CastorTower > > castorCollection_
bin
set the eta bin as selection string.
double getW(double pt, double vtx, int centbin) const
T const * product() const
Definition: Handle.h:81
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
const T & get() const
Definition: EventSetup.h:56
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:57
fixed size matrix
HLT enums.
bool isPixel(HitType hitType)
static const int NumEPNames
edm::EDGetTokenT< CaloTowerCollection > caloToken
double getAngle(double &ang, double &sv, double &cv, double &svNoWgt, double &cvNoWgt, double &w, double &w2, double &PtOrEt, double &PtOrEt2, uint &epmult)
void reset(double vett[256])
Definition: TPedValues.cc:11
def move(src, dest)
Definition: eostools.py:510
edm::Handle< std::vector< reco::Vertex > > vertex_
const double minTransverse[]

Member Data Documentation

double EvtPlaneProducer::caloCentRef_
private

Definition at line 209 of file EvtPlaneProducer.cc.

Referenced by produce().

double EvtPlaneProducer::caloCentRefWidth_
private

Definition at line 210 of file EvtPlaneProducer.cc.

Referenced by produce().

edm::Handle<CaloTowerCollection> EvtPlaneProducer::caloCollection_
private

Definition at line 184 of file EvtPlaneProducer.cc.

Referenced by produce().

edm::InputTag EvtPlaneProducer::caloTag_
private

Definition at line 182 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer().

edm::EDGetTokenT<CaloTowerCollection> EvtPlaneProducer::caloToken
private

Definition at line 183 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer(), and produce().

edm::Handle<std::vector<reco::CastorTower> > EvtPlaneProducer::castorCollection_
private

Definition at line 188 of file EvtPlaneProducer.cc.

Referenced by produce().

edm::InputTag EvtPlaneProducer::castorTag_
private

Definition at line 186 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer().

edm::EDGetTokenT<std::vector<reco::CastorTower> > EvtPlaneProducer::castorToken
private

Definition at line 187 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer(), and produce().

int EvtPlaneProducer::CentBinCompression_
private

Definition at line 211 of file EvtPlaneProducer.cc.

Referenced by produce().

edm::InputTag EvtPlaneProducer::centralityBinTag_
private

Definition at line 174 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer().

edm::EDGetTokenT<int> EvtPlaneProducer::centralityBinToken
private

Definition at line 175 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer(), and produce().

std::string EvtPlaneProducer::centralityLabel_
private

Definition at line 171 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer(), and produce().

std::string EvtPlaneProducer::centralityMC_
private

Definition at line 172 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer().

std::string EvtPlaneProducer::centralityVariable_
private

Definition at line 170 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer().

double EvtPlaneProducer::chi2_
private

Definition at line 205 of file EvtPlaneProducer.cc.

Referenced by produce().

double EvtPlaneProducer::dzerr_
private

Definition at line 204 of file EvtPlaneProducer.cc.

Referenced by produce().

HiEvtPlaneFlatten* EvtPlaneProducer::flat[NumEPNames]
private

Definition at line 212 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer(), produce(), and ~EvtPlaneProducer().

int EvtPlaneProducer::FlatOrder_
private

Definition at line 206 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer().

edm::ESWatcher<HeavyIonRPRcd> EvtPlaneProducer::hirpWatcher
private

Definition at line 195 of file EvtPlaneProducer.cc.

Referenced by produce().

edm::ESWatcher<HeavyIonRcd> EvtPlaneProducer::hiWatcher
private

Definition at line 194 of file EvtPlaneProducer.cc.

Referenced by produce().

bool EvtPlaneProducer::loadDB_
private

Definition at line 197 of file EvtPlaneProducer.cc.

Referenced by produce().

double EvtPlaneProducer::maxet_
private

Definition at line 199 of file EvtPlaneProducer.cc.

Referenced by produce().

double EvtPlaneProducer::maxpt_
private

Definition at line 201 of file EvtPlaneProducer.cc.

Referenced by produce().

double EvtPlaneProducer::maxvtx_
private

Definition at line 203 of file EvtPlaneProducer.cc.

Referenced by produce().

double EvtPlaneProducer::minet_
private

Definition at line 198 of file EvtPlaneProducer.cc.

Referenced by produce().

double EvtPlaneProducer::minpt_
private

Definition at line 200 of file EvtPlaneProducer.cc.

Referenced by produce().

double EvtPlaneProducer::minvtx_
private

Definition at line 202 of file EvtPlaneProducer.cc.

double EvtPlaneProducer::nCentBins_
private

Definition at line 208 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer(), and produce().

int EvtPlaneProducer::NumFlatBins_
private

Definition at line 207 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer().

GenPlane* EvtPlaneProducer::rp[NumEPNames]
private

Definition at line 164 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer(), and produce().

edm::Handle<reco::TrackCollection> EvtPlaneProducer::trackCollection_
private

Definition at line 192 of file EvtPlaneProducer.cc.

Referenced by produce().

edm::InputTag EvtPlaneProducer::trackTag_
private

Definition at line 190 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer().

edm::EDGetTokenT<reco::TrackCollection> EvtPlaneProducer::trackToken
private

Definition at line 191 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer(), and produce().

edm::Handle<std::vector<reco::Vertex> > EvtPlaneProducer::vertex_
private

Definition at line 180 of file EvtPlaneProducer.cc.

Referenced by produce().

edm::InputTag EvtPlaneProducer::vertexTag_
private

Definition at line 178 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer().

edm::EDGetTokenT<std::vector<reco::Vertex> > EvtPlaneProducer::vertexToken
private

Definition at line 179 of file EvtPlaneProducer.cc.

Referenced by EvtPlaneProducer(), and produce().