| 
    Jpp
    18.2.0
    
   the software that should make you happy 
   | 
 
Auxiliary class for organising Monte Carlo file scanners associated with event weighters. More...
#include <JEvtWeightFileScannerSet.hh>
  
 Public Types | |
| typedef  JEvtWeightFileScannerSet < JFileScanner_t, JComparator_t >  | filescannerset_type | 
| typedef JEvtWeightFileScanner < JFileScanner_t >  | filescanner_type | 
| typedef  filescanner_type::input_type  | input_type | 
| typedef std::vector < filescanner_type > ::value_type  | value_type | 
| typedef std::vector < filescanner_type > ::reference  | reference | 
| typedef std::vector < filescanner_type > ::const_reference  | const_reference | 
| typedef std::vector < filescanner_type > ::const_iterator  | const_iterator | 
| typedef std::vector < filescanner_type >::iterator  | iterator | 
| typedef std::vector < filescanner_type > ::const_reverse_iterator  | const_reverse_iterator | 
| typedef std::vector < filescanner_type > ::reverse_iterator  | reverse_iterator | 
Public Member Functions | |
| JEvtWeightFileScannerSet () | |
| Default constructor.  More... | |
| JEvtWeightFileScannerSet (const input_type &input) | |
| Constructor.  More... | |
| size_t | put (const input_type &input) | 
| Put files.  More... | |
| bool | put (const std::string &input) | 
| Put file.  More... | |
| std::string | getUniqueIdentifier (const_iterator p) const | 
| Get unique identifier for a file-scanner contained within this set of event-weighter-associated file-scanners.  More... | |
| const_reference | find (const JHead &head) const | 
| Find file scanner compatible with a given header.  More... | |
| template<class JEvtWeightFactor_t = JEvtWeightFactor> | |
| size_t | setEvtWeightFactor (const int type, const JEvtWeightFactor_t &factor) | 
| Set event-weighting factor for all MC-files corresponding to a given PDG code.  More... | |
| template<class JEvtWeightFactor_t = JEvtWeightFactor> | |
| size_t | setEvtWeightFactor (const std::set< int > &types, const JEvtWeightFactor_t &factor, const bool requireAll=false) | 
| Set event-weight factor of all MC-files corresponding to a given set of PDG codes.  More... | |
| template<class JEvtWeightFactor_t = JEvtWeightFactor> | |
| size_t | setEvtWeightFactor (const JEvtWeightFactorMultiParticle< JEvtWeightFactor_t > &multiParticleFactor, const bool requireAll=false) | 
| Set event-weight factor of all MC-files corresponding to a given multi-particle flux.  More... | |
| size_t | setFlux (const int type, const JFlux &flux) | 
| Set flux function for all MC-files corresponding to a given PDG code.  More... | |
| size_t | setFlux (const std::set< int > &types, const JFlux &flux, const bool requireAll=false) | 
| Set flux function of all MC-files corresponding to a given set of PDG codes.  More... | |
| size_t | setFlux (const JEvtWeightFactorMultiParticle< JFlux > &multiParticleFlux, const bool requireAll=false) | 
| Set flux function of all MC-files corresponding to a given multi-particle flux interface.  More... | |
Public Attributes | |
| JComparator_t | compare | 
| Function object for comparison of headers.  More... | |
Auxiliary class for organising Monte Carlo file scanners associated with event weighters.
Note: The template class must be derived from JMultipleFileScanner<Evt>.
Definition at line 48 of file JEvtWeightFileScannerSet.hh.
| typedef JEvtWeightFileScannerSet<JFileScanner_t, JComparator_t> JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::filescannerset_type | 
Definition at line 51 of file JEvtWeightFileScannerSet.hh.
| typedef JEvtWeightFileScanner<JFileScanner_t> JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::filescanner_type | 
Definition at line 52 of file JEvtWeightFileScannerSet.hh.
| typedef filescanner_type::input_type JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::input_type | 
Definition at line 54 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<filescanner_type>::value_type JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::value_type | 
Definition at line 56 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<filescanner_type>::reference JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::reference | 
Definition at line 57 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<filescanner_type>::const_reference JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::const_reference | 
Definition at line 58 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<filescanner_type>::const_iterator JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::const_iterator | 
Definition at line 60 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<filescanner_type>::iterator JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::iterator | 
Definition at line 61 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<filescanner_type>::const_reverse_iterator JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::const_reverse_iterator | 
Definition at line 62 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<filescanner_type>::reverse_iterator JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::reverse_iterator | 
Definition at line 63 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Constructor.
| input | input files | 
Definition at line 79 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Put files.
| input | input files | 
Definition at line 91 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Put file.
| input | input file | 
Definition at line 109 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Get unique identifier for a file-scanner contained within this set of event-weighter-associated file-scanners.
| p | iterator to contained file-scanner | 
Definition at line 133 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Find file scanner compatible with a given header.
| head | header | 
Definition at line 159 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Set event-weighting factor for all MC-files corresponding to a given PDG code.
The template argument corresponds to the desired class of event-weight factor. This class must contain the method getFactor(const Evt&).
Note that the given event-weighting factor will only be assigned to those files
whose header exclusively lists the given PDG code as primary.
| type | PDG code | 
| factor | event-weight factor | 
Definition at line 187 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Set event-weight factor of all MC-files corresponding to a given set of PDG codes.
The template argument corresponds to the desired class of event-weight factor. This class must contain the method getFactor(const Evt&).
If the boolean requireAll argument is set to true, the given event-weighting factor will only be assigned to those files
whose header lists < b>all< /b> of the specified PDG codes as primaries.
| types | set of PDG codes | 
| factor | event-weight factor | 
| requireAll | toggle requirement that each file header must contain every given PDG code. | 
Definition at line 219 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Set event-weight factor of all MC-files corresponding to a given multi-particle flux.
The template argument corresponds to the desired class of event-weight factor. This class must contain the method getFactor(const Evt&).
If the boolean requireAll argument is set to true, the given flux factor will only be assigned to those files
whose header lists < b>all< /b> of the PDG codes associated with the multi-particle flux interface as primaries.
| multiParticleFactor | multi-particle event-weight factor | 
| requireAll | toggle requirement that each file header must contain every given PDG code. | 
Definition at line 267 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Set flux function for all MC-files corresponding to a given PDG code.
Note that only the given flux function will only be assigned to those files
whose header exclusively lists the given PDG code as primary.
| type | PDG code | 
| flux | flux function | 
Definition at line 309 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Set flux function of all MC-files corresponding to a given set of PDG codes.
If the boolean requireAll argument is set to true, the given flux function will only be assigned to those files
whose header lists < b>all< /b> of the specified PDG codes as primaries.
| types | set of PDG codes | 
| flux | flux function | 
| requireAll | toggle requirement that each file header must contain every given PDG code. | 
Definition at line 328 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Set flux function of all MC-files corresponding to a given multi-particle flux interface.
If the boolean requireAll argument is set to true, the given flux factor will only be assigned to those files
whose header lists < b>all< /b> of the PDG codes associated with the multi-particle flux interface as primaries.
| multiParticleFlux | multi-particle flux object | 
| requireAll | toggle requirement that each file header must contain every given PDG code. | 
Definition at line 347 of file JEvtWeightFileScannerSet.hh.
| JComparator_t JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::compare | 
Function object for comparison of headers.
Definition at line 357 of file JEvtWeightFileScannerSet.hh.
 1.8.5