AmpTools
NormIntInterfaceMPI Class Reference

#include <NormIntInterfaceMPI.h>

Inheritance diagram for NormIntInterfaceMPI:
Collaboration diagram for NormIntInterfaceMPI:

Public Types

enum  IntType { kNormInt, kAmpInt }
 

Public Member Functions

 NormIntInterfaceMPI (const string &normIntFile)
 
 NormIntInterfaceMPI (DataReader *genMCData, DataReader *accMCData, const IntensityManager &intenManager)
 
 ~NormIntInterfaceMPI ()
 
complex< double > normInt (string amp, string conjAmp, bool forceUseCache=false) const
 
void forceCacheUpdate (bool normIntOnly=false) const
 
- Public Member Functions inherited from NormIntInterface
 NormIntInterface ()
 
 NormIntInterface (const string &normIntFile)
 
 NormIntInterface (DataReader *genMCData, DataReader *accMCData, const IntensityManager &ampManager)
 
istream & loadNormIntCache (istream &in)
 
void operator+= (const NormIntInterface &nii)
 
int numGenEvents () const
 
int numAccEvents () const
 
bool hasAccessToMC () const
 
bool hasNormInt (string amp, string conjAmp) const
 
virtual complex< double > ampInt (string amp, string conjAmp, bool forceUseCache=false) const
 
bool hasAmpInt (string amp, string conjAmp) const
 
void exportNormIntCache (const string &fileName, bool renormalize=false) const
 
void exportNormIntCache (ostream &output, bool renormalize=false) const
 
const GDoubleampIntMatrix () const
 
const GDoublenormIntMatrix () const
 
void setGenEvents (int events)
 
void setAccEvents (int events)
 

Additional Inherited Members

- Protected Member Functions inherited from NormIntInterface
const IntensityManagerintenManager () const
 
int cacheSize () const
 
void setAmpIntMatrix (const double *input) const
 
void setNormIntMatrix (const double *input) const
 

Detailed Description

Definition at line 42 of file NormIntInterfaceMPI.h.

Member Enumeration Documentation

◆ IntType

Enumerator
kNormInt 
kAmpInt 

Definition at line 47 of file NormIntInterfaceMPI.h.

Constructor & Destructor Documentation

◆ NormIntInterfaceMPI() [1/2]

NormIntInterfaceMPI::NormIntInterfaceMPI ( const string &  normIntFile)

Definition at line 57 of file NormIntInterfaceMPI.cc.

◆ NormIntInterfaceMPI() [2/2]

NormIntInterfaceMPI::NormIntInterfaceMPI ( DataReader genMCData,
DataReader accMCData,
const IntensityManager intenManager 
)

Definition at line 49 of file NormIntInterfaceMPI.cc.

◆ ~NormIntInterfaceMPI()

NormIntInterfaceMPI::~NormIntInterfaceMPI ( )

Definition at line 61 of file NormIntInterfaceMPI.cc.

Member Function Documentation

◆ forceCacheUpdate()

void NormIntInterfaceMPI::forceCacheUpdate ( bool  normIntOnly = false) const
virtual

Reimplemented from NormIntInterface.

Definition at line 80 of file NormIntInterfaceMPI.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ normInt()

complex< double > NormIntInterfaceMPI::normInt ( string  amp,
string  conjAmp,
bool  forceUseCache = false 
) const
virtual

Reimplemented from NormIntInterface.

Definition at line 66 of file NormIntInterfaceMPI.cc.

Here is the call graph for this function:

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