Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hammer::Hammer Class Reference

Main class. More...

#include <Hammer.hh>

+ Inheritance diagram for Hammer::Hammer:
+ Collaboration diagram for Hammer::Hammer:

Public Member Functions

 Hammer ()
 
 Hammer (const Hammer &other)=delete
 
Hammeroperator= (const Hammer &other)=delete
 
 Hammer (Hammer &&other)=delete
 
Hammeroperator= (Hammer &&other)=delete
 
 ~Hammer () noexcept
 
void initRun ()
 
void initEvent (double weight=1.0)
 Clears the _event container. More...
 
size_t addProcess (Process &p)
 Adds a process to the _event container. More...
 
void removeProcess (size_t id)
 Removes a process to the _event container. More...
 
void setEventHistogramBin (const std::string &name, const std::vector< uint16_t > &bins)
 
void fillEventHistogram (const std::string &name, const std::vector< double > &values)
 
void setEventBaseWeight (double weight)
 
void processEvent ()
 
bool loadEventWeights (IOBuffer &buffer, bool merge=false)
 
IOBuffer saveEventWeights () const
 
bool loadRunHeader (IOBuffer &buffer, bool merge=false)
 
IOBuffer saveRunHeader () const
 
std::string loadHistogramDefinition (IOBuffer &buffer, bool merge=false)
 
HistoInfo loadHistogram (IOBuffer &buffer, bool merge=false)
 
IOBuffers saveHistogram (const std::string &name) const
 
IOBuffers saveHistogram (const std::string &name, const std::string &scheme) const
 
IOBuffers saveHistogram (const std::string &name, const EventUIDGroup &eventIDs) const
 
IOBuffers saveHistogram (const std::string &name, const std::string &scheme, const EventUIDGroup &eventIDs) const
 
IOBuffers saveHistogram (const HistoInfo &info) const
 
bool loadRates (IOBuffer &buffer, bool merge=false)
 
IOBuffer saveRates () const
 
void readCards (const std::string &fileDecays, const std::string &fileOptions)
 Reads settings in the cards. More...
 
void saveOptionCard (const std::string &fileOptions, bool useDefault=true) const
 Reads settings in the cards. More...
 
void saveHeaderCard (const std::string &fileDecays) const
 Reads settings in the cards. More...
 
void saveReferences (const std::string &fileRefs) const
 
void setOptions (const std::string &options)
 
void setHeader (const std::string &options)
 
void addTotalSumOfWeights (const bool compress=false, const bool witherrors=false)
 Add total weight sum histogram with compression and errors. More...
 
void addHistogram (const std::string &name, const std::vector< uint16_t > &binSizes, bool hasUnderOverFlow=true, const std::vector< std::pair< double, double >> &ranges={})
 Adds a tensor histogram. More...
 
void addHistogram (const std::string &name, const std::vector< std::vector< double >> &binEdges, bool hasUnderOverFlow)
 Adds a tensor histogram. More...
 
void collapseProcessesInHistogram (const std::string &name)
 
void keepErrorsInHistogram (const std::string &name, bool value=true)
 
void specializeWCInWeights (const std::string &process, const std::vector< std::complex< double >> &values)
 
void specializeWCInWeights (const std::string &process, const std::map< std::string, std::complex< double >> &settings)
 
void resetSpecializeWCInWeights (const std::string &process)
 
void specializeWCInHistogram (const std::string &name, const std::string &process, const std::vector< std::complex< double >> &values)
 
void specializeWCInHistogram (const std::string &name, const std::string &process, const std::map< std::string, std::complex< double >> &settings)
 
void specializeFFInHistogram (const std::string &name, const std::string &process, const std::string &group, const std::vector< double > &values)
 
void specializeFFInHistogram (const std::string &name, const std::string &process, const std::string &group, const std::map< std::string, double > &settings)
 
void resetSpecializationInHistogram (const std::string &name)
 
void createProjectedHistogram (const std::string &oldName, const std::string &newName, const std::set< uint16_t > &collapsedIndexPositions)
 
void removeHistogram (const std::string &name)
 
void addFFScheme (const std::string &schemeName, const std::map< std::string, std::string > &schemes)
 Adds a form factor scheme. More...
 
void setFFInputScheme (const std::map< std::string, std::string > &schemes)
 Sets the FF schemes for the denominator. More...
 
void removeFFScheme (const std::string &schemeName)
 Removes a form factor scheme Example: hammer.removeFFScheme("MixedBag") More...
 
std::vector< std::string > getFFSchemeNames () const
 
void includeDecay (const std::vector< std::string > &names)
 Adds a combinatoric set to included process specifications. More...
 
void includeDecay (const std::string &name)
 Adds an included process specification. More...
 
void forbidDecay (const std::vector< std::string > &names)
 Adds a combinatoric set to forbidden process specifications. More...
 
void forbidDecay (const std::string &name)
 Adds a forbidden process specification. More...
 
void addPurePSVertices (const std::set< std::string > &vertices, WTerm what=WTerm::NUMERATOR)
 Sets pure PS by vertex. More...
 
void clearPurePSVertices (WTerm what=WTerm::NUMERATOR)
 
void setUnits (std::string name="GeV")
 Sets the units. More...
 
void setWilsonCoefficients (const std::string &process, const std::vector< std::complex< double >> &values, WTerm what=WTerm::NUMERATOR)
 
void setWilsonCoefficients (const std::string &process, const std::map< std::string, std::complex< double >> &settings, WTerm what=WTerm::NUMERATOR)
 
void setWilsonCoefficientsLocal (const std::string &process, const std::vector< std::complex< double >> &values)
 
void setWilsonCoefficientsLocal (const std::string &process, const std::map< std::string, std::complex< double >> &settings)
 
void resetWilsonCoefficients (const std::string &process, WTerm what=WTerm::NUMERATOR)
 
void setFFEigenvectors (const std::string &process, const std::string &group, const std::vector< double > &values)
 
void setFFEigenvectors (const std::string &process, const std::string &group, const std::map< std::string, double > &settings)
 
void setFFEigenvectorsLocal (const std::string &process, const std::string &group, const std::vector< double > &values)
 
void setFFEigenvectorsLocal (const std::string &process, const std::string &group, const std::map< std::string, double > &settings)
 
void resetFFEigenvectors (const std::string &process, const std::string &group)
 
double getWeight (const std::string &scheme, const std::vector< size_t > &processes={}) const
 
double getWeight (const std::string &scheme, const std::vector< std::vector< std::string >> &processes) const
 
std::map< size_t, double > getWeights (const std::string &scheme) const
 
double getRate (const HashId &id, const std::string &scheme) const
 
double getRate (const PdgId &parent, const std::vector< PdgId > &daughters, const std::string &scheme) const
 
double getRate (const std::string &vertex, const std::string &scheme) const
 
double getDenominatorRate (const HashId &id) const
 
double getDenominatorRate (const PdgId &parent, const std::vector< PdgId > &daughters) const
 
double getDenominatorRate (const std::string &vertex) const
 
IOHistogram getHistogram (const std::string &name, const std::string &scheme) const
 
EventIdGroupDict< IOHistogramgetHistograms (const std::string &name, const std::string &scheme) const
 
EventUIDGroup getHistogramEventIds (const std::string &name, const std::string &scheme) const
 
std::vector< std::vector
< double > > 
getHistogramBinEdges (const std::string &name) const
 
std::vector< uint16_t > getHistogramShape (const std::string &name) const
 
bool histogramHasUnderOverFlows (const std::string &name) const
 

Private Member Functions

virtual void defineSettings ()
 purely virtual function for a class to define new settings More...
 
LoggetLog () const
 logging facility More...
 
- Private Member Functions inherited from Hammer::SettingsConsumer
virtual void setSettingsHandler (SettingsHandler &sh)
 set link to settings repository handler. More...
 
void setSettingsHandler (const SettingsConsumer &other)
 
SettingsHandlergetSettingsHandler () const
 provide the pointer to the repository handler More...
 
WTerm setWeightTerm (WTerm group)
 
virtual void addRefs () const
 
 SettingsConsumer ()
 base constructor More...
 
 SettingsConsumer (const SettingsConsumer &)=default
 default copy constructor More...
 
SettingsConsumeroperator= (const SettingsConsumer &)=default
 
virtual ~SettingsConsumer ()
 virtual destructor More...
 
LoggetLog () const
 logging facility More...
 
void initSettings ()
 
void setPath (const std::string &path)
 provide the basic path for the settings defined by this class, as in "<path>:<setting>" More...
 
template<typename T >
void addSetting (const std::string &name, const T &defaultValue)
 template method to add a new setting More...
 
void removeSetting (const std::string &name)
 
template<typename T >
T * getSetting (const std::string &name) const
 template method to return a setting defined by this class More...
 
template<typename T >
T * getSetting (const std::string &otherPath, const std::string &name) const
 template method to return a setting defined by this class More...
 
bool isOn (const std::string &name) const
 method to check a boolean setting defined by this class More...
 
bool isOn (const std::string &otherPath, const std::string &name) const
 method to check a boolean setting by its name and path More...
 
template<typename T >
void updateVectorOfSettings (const std::vector< T > &values, const std::vector< std::string > &names, const std::string &path="", WTerm group=WTerm::COMMON)
 
template<typename T >
void updateVectorOfSettings (const std::map< std::string, T > &values, const std::string &path="", WTerm group=WTerm::COMMON)
 

Private Attributes

std::unique_ptr
< DictionaryManager
_containers
 
std::unique_ptr< SettingsHandler_settings
 
std::unique_ptr< Histos_histograms
 
std::unique_ptr
< flatbuffers::FlatBufferBuilder > 
_builder
 
std::unique_ptr< Event_event
 
double _mcunits = 1.
 
- Private Attributes inherited from Hammer::SettingsConsumer
SettingsHandler_settingHandler
 pointer to the settings repository handler. More...
 
std::string _settingPath
 path of the settings defined by this class More...
 
WTerm _group
 
std::set< std::string > _ownedSettings
 

Detailed Description

Main class.

Contains ...

Definition at line 45 of file Hammer.hh.

Constructor & Destructor Documentation

Hammer::Hammer::Hammer ( )

Definition at line 49 of file Hammer.cc.

Hammer::Hammer::Hammer ( const Hammer other)
delete
Hammer::Hammer::Hammer ( Hammer &&  other)
delete
Hammer::Hammer::~Hammer ( )
noexcept

Definition at line 63 of file Hammer.cc.

Member Function Documentation

void Hammer::Hammer::addFFScheme ( const std::string &  schemeName,
const std::map< std::string, std::string > &  schemes 
)

Adds a form factor scheme.

A form factor scheme is a name (string) plus a map from a subprocess name to a FF parametrization Example: hammer.addFFScheme("MixedBag", {{"BD", "CLN"}, {"BD*", "ISGW2"}})

Parameters
[in]schemeName
[in]schemes

Definition at line 407 of file Hammer.cc.

void Hammer::Hammer::addHistogram ( const std::string &  name,
const std::vector< uint16_t > &  binSizes,
bool  hasUnderOverFlow = true,
const std::vector< std::pair< double, double >> &  ranges = {} 
)

Adds a tensor histogram.

Histogram is uniquely identified by a name. The dimensionality is arbitrary, with bin entries generically of type Tensor Example: hammer.addHistogram("q2VsEmuon", {10,20}, false, {{0.,12.},{0.,2.4}})

Parameters
[in]name
[in]binSizes
[in]hasUnderOverFlow
[in]ranges
void Hammer::Hammer::addHistogram ( const std::string &  name,
const std::vector< std::vector< double >> &  binEdges,
bool  hasUnderOverFlow 
)

Adds a tensor histogram.

Histogram is uniquely identified by a name. The dimensionality is arbitrary, with bin entries generically of type Tensor Example: hammer.addHistogram("q2VsEmuon", {10,20}, false)

Parameters
[in]name
[in]binEdges
[in]hasUnderOverFlow

Definition at line 344 of file Hammer.cc.

size_t Hammer::Hammer::addProcess ( Process p)

Adds a process to the _event container.

Parameters
[in]p
Returns
HashId of the process

Definition at line 78 of file Hammer.cc.

void Hammer::Hammer::addPurePSVertices ( const std::set< std::string > &  vertices,
WTerm  what = WTerm::NUMERATOR 
)

Sets pure PS by vertex.

A map from each vertex to specified position: "Numerator", "Denominator", "All" Example: hammer.setFFInputScheme({{"BDTauNu+", "Numerator"}})

Parameters
[in]vertices
[in]what

Definition at line 439 of file Hammer.cc.

void Hammer::Hammer::addTotalSumOfWeights ( const bool  compress = false,
const bool  witherrors = false 
)

Add total weight sum histogram with compression and errors.

Histogram is uniquely identified by "Total Sum of Weights", and is a (single bin) zero dim histogram

Parameters
[in]compress
[in]witherrors

Definition at line 333 of file Hammer.cc.

void Hammer::Hammer::clearPurePSVertices ( WTerm  what = WTerm::NUMERATOR)

Definition at line 443 of file Hammer.cc.

void Hammer::Hammer::collapseProcessesInHistogram ( const std::string &  name)

Definition at line 353 of file Hammer.cc.

void Hammer::Hammer::createProjectedHistogram ( const std::string &  oldName,
const std::string &  newName,
const std::set< uint16_t > &  collapsedIndexPositions 
)

Definition at line 397 of file Hammer.cc.

void Hammer::Hammer::defineSettings ( )
privatevirtual

purely virtual function for a class to define new settings

Implements Hammer::SettingsConsumer.

Definition at line 453 of file Hammer.cc.

void Hammer::Hammer::fillEventHistogram ( const std::string &  name,
const std::vector< double > &  values 
)

Definition at line 90 of file Hammer.cc.

void Hammer::Hammer::forbidDecay ( const std::vector< std::string > &  names)

Adds a combinatoric set to forbidden process specifications.

Parameters
[in]names

Definition at line 431 of file Hammer.cc.

void Hammer::Hammer::forbidDecay ( const std::string &  name)

Adds a forbidden process specification.

Parameters
[in]name

Definition at line 435 of file Hammer.cc.

double Hammer::Hammer::getDenominatorRate ( const HashId id) const
Parameters
[in]id
Returns
rate double

Definition at line 569 of file Hammer.cc.

double Hammer::Hammer::getDenominatorRate ( const PdgId parent,
const std::vector< PdgId > &  daughters 
) const
Parameters
[in]parentpdg id
[in]daughterspdg ids
Returns
rate double

Definition at line 573 of file Hammer.cc.

double Hammer::Hammer::getDenominatorRate ( const std::string &  vertex) const
Parameters
[in]vertexstring
Returns
rate double

Definition at line 577 of file Hammer.cc.

vector< string > Hammer::Hammer::getFFSchemeNames ( ) const

Definition at line 419 of file Hammer.cc.

IOHistogram Hammer::Hammer::getHistogram ( const std::string &  name,
const std::string &  scheme 
) const
Parameters
[in]name
[in]scheme
Returns

Definition at line 582 of file Hammer.cc.

vector< vector< double > > Hammer::Hammer::getHistogramBinEdges ( const std::string &  name) const

Definition at line 594 of file Hammer.cc.

EventUIDGroup Hammer::Hammer::getHistogramEventIds ( const std::string &  name,
const std::string &  scheme 
) const

Definition at line 590 of file Hammer.cc.

EventIdGroupDict< IOHistogram > Hammer::Hammer::getHistograms ( const std::string &  name,
const std::string &  scheme 
) const
Parameters
[in]name
[in]scheme
Returns

Definition at line 586 of file Hammer.cc.

IndexList Hammer::Hammer::getHistogramShape ( const std::string &  name) const

Definition at line 598 of file Hammer.cc.

Log & Hammer::Hammer::getLog ( ) const
private

logging facility

Returns
stream to be used for logging

Definition at line 460 of file Hammer.cc.

double Hammer::Hammer::getRate ( const HashId id,
const std::string &  scheme 
) const
Parameters
[in]id
[in]scheme
Returns
rate double

Definition at line 547 of file Hammer.cc.

double Hammer::Hammer::getRate ( const PdgId parent,
const std::vector< PdgId > &  daughters,
const std::string &  scheme 
) const
Parameters
[in]parentpdg id
[in]daughterspdg ids
[in]scheme
Returns
rate double

Definition at line 551 of file Hammer.cc.

double Hammer::Hammer::getRate ( const std::string &  vertex,
const std::string &  scheme 
) const
Parameters
[in]vertexstring
[in]scheme
Returns
rate double

Definition at line 558 of file Hammer.cc.

double Hammer::Hammer::getWeight ( const std::string &  scheme,
const std::vector< size_t > &  processes = {} 
) const
Parameters
[in]scheme
[in]processes
Returns

Definition at line 519 of file Hammer.cc.

double Hammer::Hammer::getWeight ( const std::string &  scheme,
const std::vector< std::vector< std::string >> &  processes 
) const
Parameters
[in]scheme
[in]processes
Returns

Definition at line 537 of file Hammer.cc.

map< size_t, double > Hammer::Hammer::getWeights ( const std::string &  scheme) const
Parameters
[in]scheme
Returns

Definition at line 543 of file Hammer.cc.

bool Hammer::Hammer::histogramHasUnderOverFlows ( const std::string &  name) const

Definition at line 602 of file Hammer.cc.

void Hammer::Hammer::includeDecay ( const std::vector< std::string > &  names)

Adds a combinatoric set to included process specifications.

Parameters
[in]names

Definition at line 423 of file Hammer.cc.

void Hammer::Hammer::includeDecay ( const std::string &  name)

Adds an included process specification.

Parameters
[in]name

Definition at line 427 of file Hammer.cc.

void Hammer::Hammer::initEvent ( double  weight = 1.0)

Clears the _event container.

Parameters
[in]weight

Definition at line 68 of file Hammer.cc.

void Hammer::Hammer::initRun ( )

Definition at line 326 of file Hammer.cc.

void Hammer::Hammer::keepErrorsInHistogram ( const std::string &  name,
bool  value = true 
)

Definition at line 349 of file Hammer.cc.

bool Hammer::Hammer::loadEventWeights ( IOBuffer buffer,
bool  merge = false 
)
Parameters
[in]buffer
[in]merge

Definition at line 102 of file Hammer.cc.

HistoInfo Hammer::Hammer::loadHistogram ( IOBuffer buffer,
bool  merge = false 
)
Parameters
[in]buffer
[in]merge

Definition at line 157 of file Hammer.cc.

string Hammer::Hammer::loadHistogramDefinition ( IOBuffer buffer,
bool  merge = false 
)
Parameters
[in]buffer
[in]merge
Returns

Definition at line 146 of file Hammer.cc.

bool Hammer::Hammer::loadRates ( IOBuffer buffer,
bool  merge = false 
)
Parameters
[in]buffer
[in]merge

Definition at line 271 of file Hammer.cc.

bool Hammer::Hammer::loadRunHeader ( IOBuffer buffer,
bool  merge = false 
)
Parameters
[in]buffer
[in]merge

Definition at line 123 of file Hammer.cc.

Hammer& Hammer::Hammer::operator= ( const Hammer other)
delete
Hammer& Hammer::Hammer::operator= ( Hammer &&  other)
delete
void Hammer::Hammer::processEvent ( )

Definition at line 292 of file Hammer.cc.

void Hammer::Hammer::readCards ( const std::string &  fileDecays,
const std::string &  fileOptions 
)

Reads settings in the cards.

Parameters
[in]fileDecays
[in]fileOptions

Definition at line 301 of file Hammer.cc.

void Hammer::Hammer::removeFFScheme ( const std::string &  schemeName)

Removes a form factor scheme Example: hammer.removeFFScheme("MixedBag")

Parameters
[in]schemeName

Definition at line 415 of file Hammer.cc.

void Hammer::Hammer::removeHistogram ( const std::string &  name)

Definition at line 403 of file Hammer.cc.

void Hammer::Hammer::removeProcess ( size_t  id)

Removes a process to the _event container.

Parameters
[in]id

Definition at line 82 of file Hammer.cc.

void Hammer::Hammer::resetFFEigenvectors ( const std::string &  process,
const std::string &  group 
)
Parameters
[in]process
[in]group

Definition at line 512 of file Hammer.cc.

void Hammer::Hammer::resetSpecializationInHistogram ( const std::string &  name)

Definition at line 393 of file Hammer.cc.

void Hammer::Hammer::resetSpecializeWCInWeights ( const std::string &  process)

Definition at line 365 of file Hammer.cc.

void Hammer::Hammer::resetWilsonCoefficients ( const std::string &  process,
WTerm  what = WTerm::NUMERATOR 
)
Parameters
[in]process
[in]what

Definition at line 480 of file Hammer.cc.

IOBuffer Hammer::Hammer::saveEventWeights ( ) const
Returns

Definition at line 113 of file Hammer.cc.

void Hammer::Hammer::saveHeaderCard ( const std::string &  fileDecays) const

Reads settings in the cards.

Parameters
[in]fileDecays

Definition at line 310 of file Hammer.cc.

IOBuffers Hammer::Hammer::saveHistogram ( const std::string &  name) const
Parameters
[in]name
Returns

Definition at line 168 of file Hammer.cc.

IOBuffers Hammer::Hammer::saveHistogram ( const std::string &  name,
const std::string &  scheme 
) const
Parameters
[in]name
[in]scheme
Returns

Definition at line 185 of file Hammer.cc.

IOBuffers Hammer::Hammer::saveHistogram ( const std::string &  name,
const EventUIDGroup eventIDs 
) const
Parameters
[in]name
[in]eventIDs
Returns

Definition at line 203 of file Hammer.cc.

IOBuffers Hammer::Hammer::saveHistogram ( const std::string &  name,
const std::string &  scheme,
const EventUIDGroup eventIDs 
) const
Parameters
[in]name
[in]scheme
[in]eventIDs
Returns

Definition at line 230 of file Hammer.cc.

IOBuffers Hammer::Hammer::saveHistogram ( const HistoInfo info) const
Parameters
[in]info
Returns

Definition at line 256 of file Hammer.cc.

void Hammer::Hammer::saveOptionCard ( const std::string &  fileOptions,
bool  useDefault = true 
) const

Reads settings in the cards.

Parameters
[in]fileOptions
[in]useDefault

Definition at line 306 of file Hammer.cc.

IOBuffer Hammer::Hammer::saveRates ( ) const
Returns

Definition at line 282 of file Hammer.cc.

void Hammer::Hammer::saveReferences ( const std::string &  fileRefs) const

Definition at line 314 of file Hammer.cc.

IOBuffer Hammer::Hammer::saveRunHeader ( ) const
Returns

Definition at line 136 of file Hammer.cc.

void Hammer::Hammer::setEventBaseWeight ( double  weight)
Parameters
[in]weight

Definition at line 96 of file Hammer.cc.

void Hammer::Hammer::setEventHistogramBin ( const std::string &  name,
const std::vector< uint16_t > &  bins 
)
Parameters
[in]name
[in]bins

Definition at line 86 of file Hammer.cc.

void Hammer::Hammer::setFFEigenvectors ( const std::string &  process,
const std::string &  group,
const std::vector< double > &  values 
)
Parameters
[in]process
[in]group
[in]values

Definition at line 484 of file Hammer.cc.

void Hammer::Hammer::setFFEigenvectors ( const std::string &  process,
const std::string &  group,
const std::map< std::string, double > &  settings 
)
Parameters
[in]process
[in]group
[in]settings

Definition at line 491 of file Hammer.cc.

void Hammer::Hammer::setFFEigenvectorsLocal ( const std::string &  process,
const std::string &  group,
const std::vector< double > &  values 
)
Parameters
[in]process
[in]group
[in]values

Definition at line 498 of file Hammer.cc.

void Hammer::Hammer::setFFEigenvectorsLocal ( const std::string &  process,
const std::string &  group,
const std::map< std::string, double > &  settings 
)
Parameters
[in]process
[in]group
[in]settings

Definition at line 505 of file Hammer.cc.

void Hammer::Hammer::setFFInputScheme ( const std::map< std::string, std::string > &  schemes)

Sets the FF schemes for the denominator.

A map from each hadronic subprocess to a specified FF parametrization Example: hammer.setFFInputScheme({{"B0barD+", "ISGW2"}})

Parameters
[in]schemes

Definition at line 411 of file Hammer.cc.

void Hammer::Hammer::setHeader ( const std::string &  options)
Parameters
[in]options

Definition at line 322 of file Hammer.cc.

void Hammer::Hammer::setOptions ( const std::string &  options)
Parameters
[in]options

Definition at line 318 of file Hammer.cc.

void Hammer::Hammer::setUnits ( std::string  name = "GeV")

Sets the units.

default is GeV

Parameters
[in]name

Definition at line 447 of file Hammer.cc.

void Hammer::Hammer::setWilsonCoefficients ( const std::string &  process,
const std::vector< std::complex< double >> &  values,
WTerm  what = WTerm::NUMERATOR 
)
Parameters
[in]process
[in]values
[in]what

Definition at line 464 of file Hammer.cc.

void Hammer::Hammer::setWilsonCoefficients ( const std::string &  process,
const std::map< std::string, std::complex< double >> &  settings,
WTerm  what = WTerm::NUMERATOR 
)
Parameters
[in]process
[in]settings
[in]what

Definition at line 468 of file Hammer.cc.

void Hammer::Hammer::setWilsonCoefficientsLocal ( const std::string &  process,
const std::vector< std::complex< double >> &  values 
)
Parameters
[in]process
[in]values

Definition at line 472 of file Hammer.cc.

void Hammer::Hammer::setWilsonCoefficientsLocal ( const std::string &  process,
const std::map< std::string, std::complex< double >> &  settings 
)
Parameters
[in]process
[in]settings

Definition at line 476 of file Hammer.cc.

void Hammer::Hammer::specializeFFInHistogram ( const std::string &  name,
const std::string &  process,
const std::string &  group,
const std::vector< double > &  values 
)

Definition at line 381 of file Hammer.cc.

void Hammer::Hammer::specializeFFInHistogram ( const std::string &  name,
const std::string &  process,
const std::string &  group,
const std::map< std::string, double > &  settings 
)

Definition at line 387 of file Hammer.cc.

void Hammer::Hammer::specializeWCInHistogram ( const std::string &  name,
const std::string &  process,
const std::vector< std::complex< double >> &  values 
)

Definition at line 369 of file Hammer.cc.

void Hammer::Hammer::specializeWCInHistogram ( const std::string &  name,
const std::string &  process,
const std::map< std::string, std::complex< double >> &  settings 
)

Definition at line 375 of file Hammer.cc.

void Hammer::Hammer::specializeWCInWeights ( const std::string &  process,
const std::vector< std::complex< double >> &  values 
)

Definition at line 357 of file Hammer.cc.

void Hammer::Hammer::specializeWCInWeights ( const std::string &  process,
const std::map< std::string, std::complex< double >> &  settings 
)

Definition at line 361 of file Hammer.cc.

Member Data Documentation

std::unique_ptr<flatbuffers::FlatBufferBuilder> Hammer::Hammer::_builder
private

Definition at line 517 of file Hammer.hh.

std::unique_ptr<DictionaryManager> Hammer::Hammer::_containers
private

Definition at line 514 of file Hammer.hh.

std::unique_ptr<Event> Hammer::Hammer::_event
private

Definition at line 518 of file Hammer.hh.

std::unique_ptr<Histos> Hammer::Hammer::_histograms
private

Definition at line 516 of file Hammer.hh.

double Hammer::Hammer::_mcunits = 1.
private

Definition at line 519 of file Hammer.hh.

std::unique_ptr<SettingsHandler> Hammer::Hammer::_settings
private

Definition at line 515 of file Hammer.hh.


The documentation for this class was generated from the following files: