| 
    Jpp
    16.0.3
    
   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 JEvtWeightFileScanner < JFileScanner_t >  | value_type | 
| typedef std::vector < value_type >::const_iterator  | const_iterator | 
| typedef std::vector < value_type >::iterator  | iterator | 
| typedef std::vector < value_type > ::const_reverse_iterator  | const_reverse_iterator | 
| typedef std::vector < value_type > ::reverse_iterator  | reverse_iterator | 
| typedef std::vector < value_type >::reference  | reference | 
| typedef std::vector < value_type > ::const_reference  | const_reference | 
Public Member Functions | |
| JEvtWeightFileScannerSet () | |
| Default constructor.  More... | |
| JEvtWeightFileScannerSet (const JMultipleFileScanner_t &input) | |
| Constructor.  More... | |
| size_t | put (const JMultipleFileScanner_t &input) | 
| Put file.  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 JEvtWeightFileScanner < JFileScanner_t > &  | 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) | 
| 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) | 
| 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) | 
| Set flux function of all MC-files corresponding to a given set of PDG codes.  More... | |
| size_t | setFlux (const JEvtWeightFactorMultiParticle< JFlux > &multiParticleFlux) | 
| 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.
Definition at line 49 of file JEvtWeightFileScannerSet.hh.
| typedef JEvtWeightFileScanner<JFileScanner_t> JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::value_type | 
Definition at line 52 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<value_type>::const_iterator JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::const_iterator | 
Definition at line 54 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<value_type>::iterator JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::iterator | 
Definition at line 55 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<value_type>::const_reverse_iterator JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::const_reverse_iterator | 
Definition at line 56 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<value_type>::reverse_iterator JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::reverse_iterator | 
Definition at line 57 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<value_type>::reference JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::reference | 
Definition at line 59 of file JEvtWeightFileScannerSet.hh.
| typedef std::vector<value_type>::const_reference JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::const_reference | 
Definition at line 60 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Constructor.
| input | file list | 
Definition at line 75 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Put file.
| input | file list | 
Definition at line 87 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Put file.
| input | file name | 
Definition at line 105 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 129 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Find file scanner compatible with a given header.
| head | header | 
Definition at line 155 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 181 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&).
Note that 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 | 
Definition at line 211 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&).
Note that the given event-weighting factors will only be assigned to those files
whose header lists < b>all< /b> of the PDG codes associated with the multi-particle event-weighting factor object as primaries.
| multiParticleFactor | multi-particle event-weight factor | 
Definition at line 240 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 265 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Set flux function of all MC-files corresponding to a given set of PDG codes.
Note that 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 | 
Definition at line 282 of file JEvtWeightFileScannerSet.hh.
      
  | 
  inline | 
Set flux function of all MC-files corresponding to a given multi-particle flux interface.
Note that the given flux functions 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 | 
Definition at line 298 of file JEvtWeightFileScannerSet.hh.
| JComparator_t JSUPPORT::JEvtWeightFileScannerSet< JFileScanner_t, JComparator_t >::compare | 
Function object for comparison of headers.
Definition at line 307 of file JEvtWeightFileScannerSet.hh.
 1.8.5