|
BALL
1.4.79
|
#include <BALL/NMR/haighMallionShiftProcessor.h>
Public Member Functions | |
Constructors and Destructors | |
| HaighMallionShiftProcessor () | |
| HaighMallionShiftProcessor (const HaighMallionShiftProcessor &processor) | |
| virtual | ~HaighMallionShiftProcessor () |
Accessors | |
| virtual void | init () |
Processor specific functions. | |
| virtual bool | start () |
| virtual Processor::Result | operator() (Composite &atom) |
| virtual bool | finish () |
Public Member Functions inherited from BALL::ShiftModule | |
| ShiftModule () | |
| ShiftModule (Parameters ¶meters, const String &name="") | |
| ShiftModule (const ShiftModule &module) | |
| virtual | ~ShiftModule () |
| virtual void | clear () |
| const ShiftModule & | operator= (const ShiftModule &module) |
| void | setName (const String &name) |
| const String & | getName () const |
| void | setParameters (Parameters ¶meters) |
| const Parameters * | getParameters () const |
| bool | isValid () const |
Public Member Functions inherited from BALL::UnaryProcessor< Composite > | |
| UnaryProcessor () | |
| UnaryProcessor (const UnaryProcessor &) | |
| virtual | ~UnaryProcessor () |
Static Public Attributes | |
Enums and Constants | |
| static const char * | PROPERTY__RING_CURRENT_SHIFT |
Static Public Attributes inherited from BALL::ShiftModule | |
| static const char * | PROPERTY__SHIFT |
| static const char * | PROPERTY__EXPERIMENTAL__SHIFT |
Protected Attributes | |
| bool | H_influenced_by_all_effectors_ |
| bool | HA_influenced_by_all_effectors_ |
| bool | use_cut_off_ |
| float | cut_off2_ |
| bool | all_hydrogen_are_targets_ |
| bool | correct_CA_shifts_ |
| bool | project_target_to_ring_plane_ |
| StringHashMap< float > | target_nucleus_factors_ |
| float | default_hydrogen_target_nucleus_factor_ |
| float | negative_ringcurrent_factor_ |
| std::vector< std::vector< Atom * > > | effectors_ |
| std::vector< String > | effector_types_ |
| std::vector< BALL::String > | effector_names_ |
| StringHashMap< float > | intensity_factors_ |
| std::vector< std::vector < BALL::String > > | ring_atoms_ |
| std::vector< BALL::String > | target_names_ |
| std::vector< Atom * > | targets_ |
Protected Attributes inherited from BALL::ShiftModule | |
| String | module_name_ |
| Parameters * | parameters_ |
| bool | valid_ |
Additional Inherited Members | |
Public Types inherited from BALL::UnaryFunctor< Composite, Processor::Result > | |
| typedef Processor::Result | result_type |
| typedef Composite | argument_type |
| typedef Composite & | argument_reference |
| typedef const Composite & | const_argument_reference |
| typedef Composite * | argument_pointer |
| typedef const Composite * | const_argument_pointer |
Shift assignment processor implementing Haigh Mallion theory.
Definition at line 30 of file haighMallionShiftProcessor.h.
| BALL::HaighMallionShiftProcessor::HaighMallionShiftProcessor | ( | ) |
Default constructor.
| BALL::HaighMallionShiftProcessor::HaighMallionShiftProcessor | ( | const HaighMallionShiftProcessor & | processor | ) |
Default copy constructor.
|
virtual |
Destructor.
|
virtual |
Finish method. If no targets or effectors of the ring current effect were found during the application of the { operator()}, no ring current shift effects are computed. Otherwise for all target effector pairs (e t) the current ring shift contribution is computed as
shift = intensity_factors_[effector_types_[e]] * target_nucleus_factor[t] * geometrical_factor;
and added to the current shift of the target atom t stored in the named property PROPERTY__RING_CURRENT_SHIFT and the named property ShiftModule::PROPERTY__SHIFT .
Reimplemented from BALL::ShiftModule.
|
virtual |
Initialization method. This method reads the parameter section "HaighMallionRingCurrent" and "RingCurrentTargets" and parses its content. The effector residue names are stored in effector_names_, the corresponding intensity factors are stored in intensity_factors_, and the effectors ring atoms are stored in ring_atoms_. The ring current target atom names and factors are stored in target_names_ and target_nucleus_factors_. Furthermore the flags H_influenced_by_all_effectors_ (default false) HA_influenced_by_all_effectors_ (default false) use_cut_off_ (default false) cut_off_ (default 0.) project_target_to_ring_plane_ (default false) all_hydrogens_are_targets_ (default false) default_hydrogen_target_nucleus_factor_ (default 5.13) negative_ringcurrent_factor_ (default 1.1) are read.
Reimplemented from BALL::ShiftModule.
|
virtual |
Application method. Works as a collector: It stores the systems aromatic rings in a vector of vectors effectors_ and each target (H, N or C) in a vector called targets_.
Reimplemented from BALL::UnaryProcessor< Composite >.
|
virtual |
Processor start method. This method clears the targets and effectors lists. It fails if no parameters were assigned.
parameters_ == 0 Reimplemented from BALL::ShiftModule.
|
protected |
Definition at line 167 of file haighMallionShiftProcessor.h.
|
protected |
A flag indicating whether CA shifts should be corrected by the HA shift values.
Default is false.
Definition at line 173 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 160 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 189 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 206 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 202 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 197 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 137 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 145 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 210 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 193 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 181 of file haighMallionShiftProcessor.h.
|
static |
A symbolic name for the ring current contribution to the chemical shift.
Definition at line 44 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 214 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 218 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 185 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 222 of file haighMallionShiftProcessor.h.
|
protected |
Definition at line 152 of file haighMallionShiftProcessor.h.
1.8.7