CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PdfSystematicsAnalyzer Class Reference
Inheritance diagram for PdfSystematicsAnalyzer:
edm::EDFilter edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

void beginJob () override
 
void endJob () override
 
bool filter (edm::Event &, const edm::EventSetup &) override
 
 PdfSystematicsAnalyzer (const edm::ParameterSet &pset)
 
 ~PdfSystematicsAnalyzer () override
 
- Public Member Functions inherited from edm::EDFilter
 EDFilter ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDFilter () override
 
- 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 ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
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, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

unsigned int originalEvents_
 
std::vector< int > pdfStart_
 
std::vector< edm::InputTagpdfWeightTags_
 
std::vector< edm::EDGetTokenT< std::vector< double > > > pdfWeightTokens_
 
unsigned int selectedEvents_
 
std::string selectorPath_
 
edm::EDGetTokenT< edm::TriggerResultstriggerResultsToken_
 
std::vector< double > weighted2SelectedEvents_
 
std::vector< double > weightedEvents_
 
std::vector< double > weightedSelectedEvents_
 

Additional Inherited Members

- Public Types inherited from edm::EDFilter
typedef EDFilter ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDFilter
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 6 of file PdfSystematicsAnalyzer.cc.

Constructor & Destructor Documentation

◆ PdfSystematicsAnalyzer()

PdfSystematicsAnalyzer::PdfSystematicsAnalyzer ( const edm::ParameterSet pset)

Definition at line 40 of file PdfSystematicsAnalyzer.cc.

41  : selectorPath_(pset.getUntrackedParameter<std::string>("SelectorPath", "")),
42  pdfWeightTags_(pset.getUntrackedParameter<std::vector<edm::InputTag> >("PdfWeightTags")),
44  pdfWeightTags_, [this](edm::InputTag const& tag) { return consumes<std::vector<double> >(tag); })),
45  triggerResultsToken_(consumes<edm::TriggerResults>(edm::InputTag("TriggerResults"))) {}

References GlobalPosition_Frontier_DevDB_cff::tag.

◆ ~PdfSystematicsAnalyzer()

PdfSystematicsAnalyzer::~PdfSystematicsAnalyzer ( )
override

Definition at line 48 of file PdfSystematicsAnalyzer.cc.

48 {}

Member Function Documentation

◆ beginJob()

void PdfSystematicsAnalyzer::beginJob ( void  )
overridevirtual

Reimplemented from edm::EDFilter.

Definition at line 51 of file PdfSystematicsAnalyzer.cc.

51  {
52  originalEvents_ = 0;
53  selectedEvents_ = 0;
54  edm::LogVerbatim("PDFAnalysis") << "PDF uncertainties will be determined for the following sets: ";
55  for (unsigned int i = 0; i < pdfWeightTags_.size(); ++i) {
56  edm::LogVerbatim("PDFAnalysis") << "\t" << pdfWeightTags_[i].instance();
57  pdfStart_.push_back(-1);
58  }
59 }

References mps_fire::i, originalEvents_, pdfStart_, pdfWeightTags_, and selectedEvents_.

◆ endJob()

void PdfSystematicsAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::EDFilter.

Definition at line 62 of file PdfSystematicsAnalyzer.cc.

62  {
63  if (originalEvents_ == 0) {
64  edm::LogVerbatim("PDFAnalysis") << "NO EVENTS => NO RESULTS";
65  return;
66  }
67  if (selectedEvents_ == 0) {
68  edm::LogVerbatim("PDFAnalysis") << "NO SELECTED EVENTS => NO RESULTS";
69  return;
70  }
71 
72  edm::LogVerbatim("PDFAnalysis") << "\n>>>> Begin of PDF weight systematics summary >>>>";
73  edm::LogVerbatim("PDFAnalysis") << "Total number of analyzed data: " << originalEvents_ << " [events]";
74  double originalAcceptance = double(selectedEvents_) / originalEvents_;
75  edm::LogVerbatim("PDFAnalysis") << "Total number of selected data: " << selectedEvents_
76  << " [events], corresponding to acceptance: [" << originalAcceptance * 100 << " +- "
77  << 100 * sqrt(originalAcceptance * (1. - originalAcceptance) / originalEvents_)
78  << "] %";
79 
80  edm::LogVerbatim("PDFAnalysis") << "\n>>>>> PDF UNCERTAINTIES ON RATE >>>>>>";
81  for (unsigned int i = 0; i < pdfWeightTags_.size(); ++i) {
82  bool nnpdfFlag = (pdfWeightTags_[i].instance().substr(0, 5) == "NNPDF");
83  unsigned int nmembers = weightedSelectedEvents_.size() - pdfStart_[i];
84  if (i < pdfWeightTags_.size() - 1)
85  nmembers = pdfStart_[i + 1] - pdfStart_[i];
86  unsigned int npairs = (nmembers - 1) / 2;
87  edm::LogVerbatim("PDFAnalysis") << "RATE Results for PDF set " << pdfWeightTags_[i].instance() << " ---->";
88 
89  double events_central = weightedSelectedEvents_[pdfStart_[i]];
90  edm::LogVerbatim("PDFAnalysis") << "\tEstimate for central PDF member: " << int(events_central) << " [events]";
91  double events2_central = weighted2SelectedEvents_[pdfStart_[i]];
92  edm::LogVerbatim("PDFAnalysis")
93  << "\ti.e. [" << std::setprecision(4) << 100 * (events_central - selectedEvents_) / selectedEvents_ << " +- "
94  << 100 * sqrt(events2_central - events_central + selectedEvents_ * (1 - originalAcceptance)) / selectedEvents_
95  << "] % relative variation with respect to original PDF";
96 
97  if (npairs > 0) {
98  edm::LogVerbatim("PDFAnalysis") << "\tNumber of eigenvectors for uncertainty estimation: " << npairs;
99  double wplus = 0.;
100  double wminus = 0.;
101  unsigned int nplus = 0;
102  unsigned int nminus = 0;
103  for (unsigned int j = 0; j < npairs; ++j) {
104  double wa = weightedSelectedEvents_[pdfStart_[i] + 2 * j + 1] / events_central - 1.;
105  double wb = weightedSelectedEvents_[pdfStart_[i] + 2 * j + 2] / events_central - 1.;
106  if (nnpdfFlag) {
107  if (wa > 0.) {
108  wplus += wa * wa;
109  nplus++;
110  } else {
111  wminus += wa * wa;
112  nminus++;
113  }
114  if (wb > 0.) {
115  wplus += wb * wb;
116  nplus++;
117  } else {
118  wminus += wb * wb;
119  nminus++;
120  }
121  } else {
122  if (wa > wb) {
123  if (wa < 0.)
124  wa = 0.;
125  if (wb > 0.)
126  wb = 0.;
127  wplus += wa * wa;
128  wminus += wb * wb;
129  } else {
130  if (wb < 0.)
131  wb = 0.;
132  if (wa > 0.)
133  wa = 0.;
134  wplus += wb * wb;
135  wminus += wa * wa;
136  }
137  }
138  }
139  if (wplus > 0)
140  wplus = sqrt(wplus);
141  if (wminus > 0)
142  wminus = sqrt(wminus);
143  if (nnpdfFlag) {
144  if (nplus > 0)
145  wplus /= sqrt(nplus);
146  if (nminus > 0)
147  wminus /= sqrt(nminus);
148  }
149  edm::LogVerbatim("PDFAnalysis") << "\tRelative uncertainty with respect to central member: +"
150  << std::setprecision(4) << 100. * wplus << " / -" << std::setprecision(4)
151  << 100. * wminus << " [%]";
152  } else {
153  edm::LogVerbatim("PDFAnalysis") << "\tNO eigenvectors for uncertainty estimation";
154  }
155  }
156 
157  edm::LogVerbatim("PDFAnalysis") << "\n>>>>> PDF UNCERTAINTIES ON ACCEPTANCE >>>>>>";
158  for (unsigned int i = 0; i < pdfWeightTags_.size(); ++i) {
159  bool nnpdfFlag = (pdfWeightTags_[i].instance().substr(0, 5) == "NNPDF");
160  unsigned int nmembers = weightedEvents_.size() - pdfStart_[i];
161  if (i < pdfWeightTags_.size() - 1)
162  nmembers = pdfStart_[i + 1] - pdfStart_[i];
163  unsigned int npairs = (nmembers - 1) / 2;
164  edm::LogVerbatim("PDFAnalysis") << "ACCEPTANCE Results for PDF set " << pdfWeightTags_[i].instance() << " ---->";
165 
166  double acc_central = 0.;
167  double acc2_central = 0.;
168  if (weightedEvents_[pdfStart_[i]] > 0) {
171  }
172  double waverage = weightedEvents_[pdfStart_[i]] / originalEvents_;
173  edm::LogVerbatim("PDFAnalysis") << "\tEstimate for central PDF member acceptance: [" << acc_central * 100 << " +- "
174  << 100 *
175  sqrt((acc2_central / waverage - acc_central * acc_central) / originalEvents_)
176  << "] %";
177  double xi = acc_central - originalAcceptance;
178  double deltaxi = (acc2_central - (originalAcceptance + 2 * xi + xi * xi)) / originalEvents_;
179  if (deltaxi > 0)
180  deltaxi = sqrt(deltaxi); //else deltaxi = 0.;
181  edm::LogVerbatim("PDFAnalysis") << "\ti.e. [" << std::setprecision(4) << 100 * xi / originalAcceptance << " +- "
182  << std::setprecision(4) << 100 * deltaxi / originalAcceptance
183  << "] % relative variation with respect to the original PDF";
184 
185  if (npairs > 0) {
186  edm::LogVerbatim("PDFAnalysis") << "\tNumber of eigenvectors for uncertainty estimation: " << npairs;
187  double wplus = 0.;
188  double wminus = 0.;
189  unsigned int nplus = 0;
190  unsigned int nminus = 0;
191  for (unsigned int j = 0; j < npairs; ++j) {
192  double wa = 0.;
193  if (weightedEvents_[pdfStart_[i] + 2 * j + 1] > 0)
194  wa = (weightedSelectedEvents_[pdfStart_[i] + 2 * j + 1] / weightedEvents_[pdfStart_[i] + 2 * j + 1]) /
195  acc_central -
196  1.;
197  double wb = 0.;
198  if (weightedEvents_[pdfStart_[i] + 2 * j + 2] > 0)
199  wb = (weightedSelectedEvents_[pdfStart_[i] + 2 * j + 2] / weightedEvents_[pdfStart_[i] + 2 * j + 2]) /
200  acc_central -
201  1.;
202  if (nnpdfFlag) {
203  if (wa > 0.) {
204  wplus += wa * wa;
205  nplus++;
206  } else {
207  wminus += wa * wa;
208  nminus++;
209  }
210  if (wb > 0.) {
211  wplus += wb * wb;
212  nplus++;
213  } else {
214  wminus += wb * wb;
215  nminus++;
216  }
217  } else {
218  if (wa > wb) {
219  if (wa < 0.)
220  wa = 0.;
221  if (wb > 0.)
222  wb = 0.;
223  wplus += wa * wa;
224  wminus += wb * wb;
225  } else {
226  if (wb < 0.)
227  wb = 0.;
228  if (wa > 0.)
229  wa = 0.;
230  wplus += wb * wb;
231  wminus += wa * wa;
232  }
233  }
234  }
235  if (wplus > 0)
236  wplus = sqrt(wplus);
237  if (wminus > 0)
238  wminus = sqrt(wminus);
239  if (nnpdfFlag) {
240  if (nplus > 0)
241  wplus /= sqrt(nplus);
242  if (nminus > 0)
243  wminus /= sqrt(nminus);
244  }
245  edm::LogVerbatim("PDFAnalysis") << "\tRelative uncertainty with respect to central member: +"
246  << std::setprecision(4) << 100. * wplus << " / -" << std::setprecision(4)
247  << 100. * wminus << " [%]";
248  } else {
249  edm::LogVerbatim("PDFAnalysis") << "\tNO eigenvectors for uncertainty estimation";
250  }
251  }
252  edm::LogVerbatim("PDFAnalysis") << ">>>> End of PDF weight systematics summary >>>>";
253 }

References mps_fire::i, createfilelist::int, dqmiolumiharvest::j, originalEvents_, pdfStart_, pdfWeightTags_, selectedEvents_, mathSSE::sqrt(), weighted2SelectedEvents_, weightedEvents_, weightedSelectedEvents_, and hybridSuperClusters_cfi::xi.

◆ filter()

bool PdfSystematicsAnalyzer::filter ( edm::Event ev,
const edm::EventSetup  
)
overridevirtual

Implements edm::EDFilter.

Definition at line 256 of file PdfSystematicsAnalyzer.cc.

256  {
257  edm::Handle<std::vector<double> > weightHandle;
258  for (unsigned int i = 0; i < pdfWeightTags_.size(); ++i) {
259  if (!ev.getByToken(pdfWeightTokens_[i], weightHandle)) {
260  if (originalEvents_ == 0) {
261  edm::LogError("PDFAnalysis") << ">>> WARNING: some weights not found!";
262  edm::LogError("PDFAnalysis") << ">>> But maybe OK, if you are prefiltering!";
263  edm::LogError("PDFAnalysis") << ">>> If things are OK, this warning should disappear after a while!";
264  }
265  return false;
266  }
267  }
268 
269  originalEvents_++;
270 
271  bool selectedEvent = false;
273  if (!ev.getByToken(triggerResultsToken_, triggerResults)) {
274  edm::LogError("PDFAnalysis") << ">>> TRIGGER collection does not exist !!!";
275  return false;
276  }
277 
278  const edm::TriggerNames& trigNames = ev.triggerNames(*triggerResults);
279  unsigned int pathIndex = trigNames.triggerIndex(selectorPath_);
280  bool pathFound = (pathIndex < trigNames.size()); // pathIndex >= 0, since pathIndex is unsigned
281  if (pathFound) {
282  if (triggerResults->accept(pathIndex))
283  selectedEvent = true;
284  }
285  //edm::LogVerbatim("PDFAnalysis") << ">>>> Path Name: " << selectorPath_ << ", selected? " << selectedEvent;
286 
287  if (selectedEvent)
288  selectedEvents_++;
289 
290  for (unsigned int i = 0; i < pdfWeightTags_.size(); ++i) {
291  if (!ev.getByToken(pdfWeightTokens_[i], weightHandle))
292  return false;
293  std::vector<double> weights = (*weightHandle);
294  unsigned int nmembers = weights.size();
295  // Set up arrays the first time wieghts are read
296  if (pdfStart_[i] < 0) {
297  pdfStart_[i] = weightedEvents_.size();
298  for (unsigned int j = 0; j < nmembers; ++j) {
299  weightedEvents_.push_back(0.);
300  weightedSelectedEvents_.push_back(0.);
301  weighted2SelectedEvents_.push_back(0.);
302  }
303  }
304 
305  for (unsigned int j = 0; j < nmembers; ++j) {
307  if (selectedEvent) {
310  }
311  }
312 
313  /*
314  printf("\n>>>>>>>>> Run %8d Event %d, members %3d PDF set %s : Weights >>>> \n", ev.id().run(), ev.id().event(), nmembers, pdfWeightTags_[i].instance().data());
315  for (unsigned int i=0; i<nmembers; i+=5) {
316  for (unsigned int j=0; ((j<5)&&(i+j<nmembers)); ++j) {
317  printf(" %2d: %7.4f", i+j, weights[i+j]);
318  }
319  safe_printf("\n");
320  }
321  */
322  }
323 
324  return true;
325 }

References ev, mps_fire::i, dqmiolumiharvest::j, originalEvents_, pdfStart_, pdfWeightTags_, pdfWeightTokens_, selectedEvents_, selectorPath_, triggerResults, triggerResultsToken_, trigNames, weighted2SelectedEvents_, weightedEvents_, weightedSelectedEvents_, and HLT_FULL_cff::weights.

Member Data Documentation

◆ originalEvents_

unsigned int PdfSystematicsAnalyzer::originalEvents_
private

Definition at line 19 of file PdfSystematicsAnalyzer.cc.

Referenced by beginJob(), endJob(), and filter().

◆ pdfStart_

std::vector<int> PdfSystematicsAnalyzer::pdfStart_
private

Definition at line 21 of file PdfSystematicsAnalyzer.cc.

Referenced by beginJob(), endJob(), and filter().

◆ pdfWeightTags_

std::vector<edm::InputTag> PdfSystematicsAnalyzer::pdfWeightTags_
private

Definition at line 16 of file PdfSystematicsAnalyzer.cc.

Referenced by beginJob(), endJob(), and filter().

◆ pdfWeightTokens_

std::vector<edm::EDGetTokenT<std::vector<double> > > PdfSystematicsAnalyzer::pdfWeightTokens_
private

Definition at line 17 of file PdfSystematicsAnalyzer.cc.

Referenced by filter().

◆ selectedEvents_

unsigned int PdfSystematicsAnalyzer::selectedEvents_
private

Definition at line 20 of file PdfSystematicsAnalyzer.cc.

Referenced by beginJob(), endJob(), and filter().

◆ selectorPath_

std::string PdfSystematicsAnalyzer::selectorPath_
private

Definition at line 15 of file PdfSystematicsAnalyzer.cc.

Referenced by filter().

◆ triggerResultsToken_

edm::EDGetTokenT<edm::TriggerResults> PdfSystematicsAnalyzer::triggerResultsToken_
private

Definition at line 18 of file PdfSystematicsAnalyzer.cc.

Referenced by filter().

◆ weighted2SelectedEvents_

std::vector<double> PdfSystematicsAnalyzer::weighted2SelectedEvents_
private

Definition at line 23 of file PdfSystematicsAnalyzer.cc.

Referenced by endJob(), and filter().

◆ weightedEvents_

std::vector<double> PdfSystematicsAnalyzer::weightedEvents_
private

Definition at line 24 of file PdfSystematicsAnalyzer.cc.

Referenced by endJob(), and filter().

◆ weightedSelectedEvents_

std::vector<double> PdfSystematicsAnalyzer::weightedSelectedEvents_
private

Definition at line 22 of file PdfSystematicsAnalyzer.cc.

Referenced by endJob(), and filter().

mps_fire.i
i
Definition: mps_fire.py:428
trigNames
static const char *const trigNames[]
Definition: EcalDumpRaw.cc:57
PdfSystematicsAnalyzer::weighted2SelectedEvents_
std::vector< double > weighted2SelectedEvents_
Definition: PdfSystematicsAnalyzer.cc:23
hybridSuperClusters_cfi.xi
xi
Definition: hybridSuperClusters_cfi.py:10
triggerResults
static const std::string triggerResults
Definition: EdmProvDump.cc:45
edm::Handle
Definition: AssociativeIterator.h:50
PdfSystematicsAnalyzer::pdfWeightTokens_
std::vector< edm::EDGetTokenT< std::vector< double > > > pdfWeightTokens_
Definition: PdfSystematicsAnalyzer.cc:17
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
PdfSystematicsAnalyzer::pdfStart_
std::vector< int > pdfStart_
Definition: PdfSystematicsAnalyzer.cc:21
HLT_FULL_cff.weights
weights
Definition: HLT_FULL_cff.py:99178
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
PdfSystematicsAnalyzer::originalEvents_
unsigned int originalEvents_
Definition: PdfSystematicsAnalyzer.cc:19
PdfSystematicsAnalyzer::selectorPath_
std::string selectorPath_
Definition: PdfSystematicsAnalyzer.cc:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::vector_transform
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
Definition: transform.h:11
createfilelist.int
int
Definition: createfilelist.py:10
PdfSystematicsAnalyzer::weightedEvents_
std::vector< double > weightedEvents_
Definition: PdfSystematicsAnalyzer.cc:24
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
PdfSystematicsAnalyzer::pdfWeightTags_
std::vector< edm::InputTag > pdfWeightTags_
Definition: PdfSystematicsAnalyzer.cc:16
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
edm::TriggerNames
Definition: TriggerNames.h:55
PdfSystematicsAnalyzer::triggerResultsToken_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: PdfSystematicsAnalyzer.cc:18
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::InputTag
Definition: InputTag.h:15
PdfSystematicsAnalyzer::weightedSelectedEvents_
std::vector< double > weightedSelectedEvents_
Definition: PdfSystematicsAnalyzer.cc:22
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
PdfSystematicsAnalyzer::selectedEvents_
unsigned int selectedEvents_
Definition: PdfSystematicsAnalyzer.cc:20