| 
    Jpp test-rotations-old
    
   the software that should make you happy 
   | 
 
Auxiliary class for correction of energy determined by JShowerEnergy.cc. More...
#include <JShowerEnergyCorrection.hh>
  
Public Member Functions | |
| JShowerEnergyCorrection () | |
| Default constructor.   | |
| JShowerEnergyCorrection (const std::string &formula) | |
| Constructor.   | |
| JShowerEnergyCorrection (const TFormula *fcn) | |
| Constructor.   | |
| TString | getFormula () const | 
| Get formula.   | |
| void | setFormula (const std::string &formula) | 
| Set formula.   | |
| double | operator() (const double E) const | 
| Get corrected energy.   | |
| void | load (const char *file_name) | 
| Load formula from file.   | |
| void | store (const char *file_name) | 
| Store formula to file.   | |
| virtual JClass_t * | get () const override | 
| Get pointer.   | |
| virtual void | set (JClass_t *p) override | 
| Set pointer.   | |
| template<class T > | |
| void | set (const JPointer< T > &pointer) | 
| Set pointer.   | |
| virtual void | reset () override | 
| Reset pointer.   | |
| template<class T > | |
| void | reset (const JPointer< T > &pointer) | 
| Reset pointer.   | |
| void | reset (JClass_t *p) | 
| Reset pointer.   | |
| JClass_t *const & | getReference () const | 
| Get rereference to internal pointer.   | |
| JClass_t *& | getReference () | 
| Get rereference to internal pointer.   | |
| virtual bool | equals (const JAbstractPointer &object) const | 
| Equals.   | |
| bool | is_valid () const | 
| Check validity of pointer.   | |
| JClass_t * | operator-> () const | 
| Smart pointer operator.   | |
| operator JClass_t * () const | |
| Type conversion operator.   | |
Static Public Member Functions | |
| static const char * | getName () | 
| Get name of energy correction formula.   | |
Protected Attributes | |
| JClass_t * | __p | 
| pointer to object   | |
Friends | |
| std::istream & | operator>> (std::istream &in, JShowerEnergyCorrection &object) | 
| Read energy correction from input.   | |
| std::ostream & | operator<< (std::ostream &out, const JShowerEnergyCorrection &object) | 
| Write energy correction to output.   | |
Auxiliary class for correction of energy determined by JShowerEnergy.cc.
Definition at line 38 of file JShowerEnergyCorrection.hh.
      
  | 
  inline | 
Default constructor.
No correction is applied to the energy.
Definition at line 46 of file JShowerEnergyCorrection.hh.
      
  | 
  inline | 
Constructor.
| formula | formula | 
Definition at line 55 of file JShowerEnergyCorrection.hh.
      
  | 
  inline | 
Constructor.
| fcn | pointer to ROOT formula | 
Definition at line 66 of file JShowerEnergyCorrection.hh.
      
  | 
  inline | 
Get formula.
Definition at line 76 of file JShowerEnergyCorrection.hh.
      
  | 
  inline | 
Set formula.
The input can be:
.root);.txt);| formula | formula | 
Definition at line 95 of file JShowerEnergyCorrection.hh.
      
  | 
  inline | 
Get corrected energy.
| E | energy [GeV] | 
Definition at line 120 of file JShowerEnergyCorrection.hh.
      
  | 
  inlinestatic | 
Get name of energy correction formula.
Definition at line 138 of file JShowerEnergyCorrection.hh.
      
  | 
  inline | 
Load formula from file.
Supported file formats:
.root) containing TFormula object with name JShowerEnergyCorrection::getName();.txt) containing TFormula compatible expression;Note that the method JEEP::getFullFilename() is used to search for a possible location of a file with the given name in the LD_LIBRARY_PATH environment variable.
| file_name | file name | 
Definition at line 156 of file JShowerEnergyCorrection.hh.
      
  | 
  inline | 
Store formula to file.
Supported file formats:
.root) containing TFormula object with name JShowerEnergyCorrection::getName;.txt) containing TFormula compatible expression;| file_name | file name | 
Definition at line 220 of file JShowerEnergyCorrection.hh.
      
  | 
  inlineoverridevirtualinherited | 
Get pointer.
Implements JLANG::JAbstractPointer< JClass_t >.
Reimplemented in JLANG::JMultiPointer< JClass_t >, JLANG::JMultiPointer< JHead_t >, JLANG::JMultiPointer< JTail_t >, JLANG::JMultiPointer< JTypeList< JDAQEvent, JNullType > >, JLANG::JMultiPointer< JTypeList< JHead_t, JTail_t > >, and JLANG::JMultiPointer< T >.
Definition at line 64 of file JPointer.hh.
      
  | 
  inlineoverridevirtualinherited | 
Set pointer.
| p | pointer to object | 
Implements JLANG::JAbstractPointer< JClass_t >.
Reimplemented in JLANG::JSharedPointer< JClass_t, JMemory_t >, JLANG::JSharedPointer< JAbstractAutoPointer< JBase_t > >, JLANG::JSharedPointer< JAccessibleObjectIterator< Evt > >, JLANG::JSharedPointer< JAccessibleObjectIterator< JDAQSummaryslice > >, JLANG::JSharedPointer< JAccessibleObjectIterator< JHead_t > >, JLANG::JSharedPointer< JAccessibleObjectIterator< JTail_t > >, JLANG::JSharedPointer< JAccessibleObjectIterator< JTypeList< JDAQEvent, JNullType > > >, JLANG::JSharedPointer< JAccessibleObjectIterator< KM3NETDAQ::JDAQEvent > >, JLANG::JSharedPointer< JAccessibleObjectIterator< T > >, JLANG::JSharedPointer< JAccessibleObjectOutput< T > >, JLANG::JSharedPointer< JBase_t >, JLANG::JSharedPointer< JFIT::JMEstimator >, JLANG::JSharedPointer< JLOGGER::JLogger >, JLANG::JSharedPointer< JNET::JControlHost >, JLANG::JSharedPointer< JObjectIterator< T > >, JLANG::JSharedPointer< JObjectOutput< JHead_t > >, JLANG::JSharedPointer< JObjectOutput< JTail_t > >, JLANG::JSharedPointer< JObjectOutput< T > >, JLANG::JSharedPointer< JParserElementInterface >, JLANG::JSharedPointer< JPropertiesElementInterface >, JLANG::JSharedPointer< JRadiation >, JLANG::JSharedPointer< JRewindableObjectIterator< const event_type > >, JLANG::JSharedPointer< JRewindableObjectIterator< JHead_t > >, JLANG::JSharedPointer< JRewindableObjectIterator< JTail_t > >, JLANG::JSharedPointer< JRewindableObjectIterator< T > >, JLANG::JSharedPointer< JTOOLS::JMultiMapTransformer >, JLANG::JSharedPointer< JTRIGGER::JDAQHitSelector >, JLANG::JSharedPointer< JTRIGGER::JMatch >, and JLANG::JSharedPointer< match_type >.
Definition at line 75 of file JPointer.hh.
      
  | 
  inlineinherited | 
Set pointer.
| pointer | pointer to object | 
Definition at line 96 of file JPointer.hh.
      
  | 
  inlineoverridevirtualinherited | 
Reset pointer.
Implements JLANG::JAbstractPointer< JClass_t >.
Reimplemented in JLANG::JSharedPointer< JClass_t, JMemory_t >, JLANG::JSharedPointer< JAbstractAutoPointer< JBase_t > >, JLANG::JSharedPointer< JAccessibleObjectIterator< Evt > >, JLANG::JSharedPointer< JAccessibleObjectIterator< JDAQSummaryslice > >, JLANG::JSharedPointer< JAccessibleObjectIterator< JHead_t > >, JLANG::JSharedPointer< JAccessibleObjectIterator< JTail_t > >, JLANG::JSharedPointer< JAccessibleObjectIterator< JTypeList< JDAQEvent, JNullType > > >, JLANG::JSharedPointer< JAccessibleObjectIterator< KM3NETDAQ::JDAQEvent > >, JLANG::JSharedPointer< JAccessibleObjectIterator< T > >, JLANG::JSharedPointer< JAccessibleObjectOutput< T > >, JLANG::JSharedPointer< JBase_t >, JLANG::JSharedPointer< JFIT::JMEstimator >, JLANG::JSharedPointer< JLOGGER::JLogger >, JLANG::JSharedPointer< JNET::JControlHost >, JLANG::JSharedPointer< JObjectIterator< T > >, JLANG::JSharedPointer< JObjectOutput< JHead_t > >, JLANG::JSharedPointer< JObjectOutput< JTail_t > >, JLANG::JSharedPointer< JObjectOutput< T > >, JLANG::JSharedPointer< JParserElementInterface >, JLANG::JSharedPointer< JPropertiesElementInterface >, JLANG::JSharedPointer< JRadiation >, JLANG::JSharedPointer< JRewindableObjectIterator< const event_type > >, JLANG::JSharedPointer< JRewindableObjectIterator< JHead_t > >, JLANG::JSharedPointer< JRewindableObjectIterator< JTail_t > >, JLANG::JSharedPointer< JRewindableObjectIterator< T > >, JLANG::JSharedPointer< JTOOLS::JMultiMapTransformer >, JLANG::JSharedPointer< JTRIGGER::JDAQHitSelector >, JLANG::JSharedPointer< JTRIGGER::JMatch >, JLANG::JSharedPointer< match_type >, JLANG::JStorage< JClass_t, JMemory_t >, JLANG::JStorage< JAbstractAutoPointer< JBase_t >, JNew >, JLANG::JStorage< JAccessibleObjectIterator< Evt >, JNew >, JLANG::JStorage< JAccessibleObjectIterator< JDAQSummaryslice >, JNew >, JLANG::JStorage< JAccessibleObjectIterator< JHead_t >, JNew >, JLANG::JStorage< JAccessibleObjectIterator< JTail_t >, JNew >, JLANG::JStorage< JAccessibleObjectIterator< JTypeList< JDAQEvent, JNullType > >, JNew >, JLANG::JStorage< JAccessibleObjectIterator< KM3NETDAQ::JDAQEvent >, JNew >, JLANG::JStorage< JAccessibleObjectIterator< T >, JNew >, JLANG::JStorage< JAccessibleObjectOutput< T >, JNew >, JLANG::JStorage< JBase_t, JNew >, JLANG::JStorage< JClass_t, JNew >, JLANG::JStorage< JDETECTOR::JCLBDefaultSimulatorInterface::JStateMachine, JNew >, JLANG::JStorage< JDETECTOR::JCLBDefaultSimulatorInterface::JTDC, JNew >, JLANG::JStorage< JDETECTOR::JCLBSimulator, JNew >, JLANG::JStorage< JDETECTOR::JK40Simulator, JNew >, JLANG::JStorage< JDETECTOR::JModuleRouter, JNew >, JLANG::JStorage< JDETECTOR::JPMTSimulator, JNew >, JLANG::JStorage< JFIT::JMEstimator, JNew >, JLANG::JStorage< JIO::JReader, JNew >, JLANG::JStorage< JIO::JWriter, JNew >, JLANG::JStorage< JLANG::JMultiPipe< T, N >, JNew >, JLANG::JStorage< JLOGGER::JLogger, JNew >, JLANG::JStorage< JNET::JControlHost, JNew >, JLANG::JStorage< JNET::JControlHostObjectOutput, JNew >, JLANG::JStorage< JNET::JServerSocket, JNew >, JLANG::JStorage< JObjectIterator< T >, JNew >, JLANG::JStorage< JObjectOutput< JHead_t >, JNew >, JLANG::JStorage< JObjectOutput< JTail_t >, JNew >, JLANG::JStorage< JObjectOutput< T >, JNew >, JLANG::JStorage< JParserElementInterface, JNew >, JLANG::JStorage< JPropertiesElementInterface, JNew >, JLANG::JStorage< JRadiation, JNew >, JLANG::JStorage< JRewindableObjectIterator< const event_type >, JNew >, JLANG::JStorage< JRewindableObjectIterator< JHead_t >, JNew >, JLANG::JStorage< JRewindableObjectIterator< JTail_t >, JNew >, JLANG::JStorage< JRewindableObjectIterator< T >, JNew >, JLANG::JStorage< JTOOLS::JFunction1D, JNew >, JLANG::JStorage< JTOOLS::JMultiMapTransformer, JNew >, JLANG::JStorage< JTRIGGER::JBuildL1, JNew >, JLANG::JStorage< JTRIGGER::JBuildL2, JNew >, JLANG::JStorage< JTRIGGER::JDAQHitSelector, JNew >, JLANG::JStorage< JTRIGGER::JMatch, JNew >, JLANG::JStorage< JTRIGGER::JTimesliceRouter, JNew >, JLANG::JStorage< JTRIGGER::JTrigger3DMuon, JNew >, JLANG::JStorage< JTRIGGER::JTrigger3DShower, JNew >, JLANG::JStorage< JTRIGGER::JTriggerMXShower, JNew >, JLANG::JStorage< JTRIGGER::JTriggerNB, JNew >, JLANG::JStorage< match_type, JNew >, and JLANG::JStorage< TFile >.
Definition at line 84 of file JPointer.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Reset pointer.
| p | pointer to object | 
Definition at line 94 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Get rereference to internal pointer.
Definition at line 119 of file JPointer.hh.
      
  | 
  inlineinherited | 
Get rereference to internal pointer.
Definition at line 130 of file JPointer.hh.
      
  | 
  inlinevirtualinherited | 
Equals.
The equality is evaluated by comparison of the internal pointers.
| object | abstract pointer | 
Definition at line 50 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Check validity of pointer.
Definition at line 83 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Smart pointer operator.
Definition at line 112 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Type conversion operator.
Definition at line 126 of file JAbstractPointer.hh.
      
  | 
  friend | 
Read energy correction from input.
In case a file name is specified, the method load() is used to read the energy correction from the corresponding file.
| in | input stream | 
| object | energy correction | 
Definition at line 265 of file JShowerEnergyCorrection.hh.
      
  | 
  friend | 
Write energy correction to output.
| out | output stream | 
| object | energy correction | 
Definition at line 284 of file JShowerEnergyCorrection.hh.
      
  | 
  protectedinherited | 
pointer to object
Definition at line 136 of file JPointer.hh.