SusyNtuple
All Classes Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
MCWeighter::ProcessValidator Struct Reference

Helper to keep track of events with invalid process id. More...

#include <MCWeighter.h>

List of all members.

Public Member Functions

ProcessValidatorzero_hack (int &value)
ProcessValidatorvalidate (int &value)
std::string summary () const

Static Public Member Functions

static int convertDefaultSusyNt2DefaultSusyTools (const int &v)
 convert our 'unknown' value (-1) to the SUSYTools 'unknown' value (0)

Public Attributes

size_t counts_total
size_t counts_invalid
size_t max_warnings
bool valid
 status from the current call to validate()
int last
 procid from the last call to validate()

Static Public Attributes

static const int defaultSusyNt = -1
 see SusyNtMaker::selectEvent() (was -1 for old prod, then 0)
static const int defaultSusyTools = 0
 see SUSYCrossSection.h: CrossSectionDB::Key c'tor

Detailed Description

Helper to keep track of events with invalid process id.


Member Function Documentation

convert our 'unknown' value (-1) to the SUSYTools 'unknown' value (0)

In some of our old productions we used a different default process than the one used by SUSYTools. With this default value we cannot find any xsec in the db, so we need to convert the value when necessary (will become obsolete, DG 2014-11-30).

Also flag as invalid the suspicious events (i.e. when proc==-1 and proc!=previous_proc)


The documentation for this struct was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations Enumerator