Jpp 20.0.0-rc.9
the software that should make you happy
Loading...
Searching...
No Matches
JASTRONOMY::JResolution Struct Referenceabstract

Interface for detector resolution simulation. More...

#include <JResolution.hh>

Inheritance diagram for JASTRONOMY::JResolution:
JLANG::JClonable< JClonable_t, JDerived_t > JLANG::JTitle

Public Types

typedef JClonable< JClonable_t >::clone_type clone_type
 

Public Member Functions

virtual ~JResolution ()
 Virtual destructor.
 
virtual std::istream & read (std::istream &in)=0
 Read detector resolution from input stream.
 
virtual std::ostream & write (std::ostream &out) const =0
 Write detector resolution to output stream.
 
virtual JDirection3D get () const =0
 Get direction.
 
virtual clone_type clone () const override
 Get clone of this object.
 
const std::string & getTitle () const
 Get title.
 
void setTitle (const std::string &title)
 Set title.
 

Protected Attributes

std::string title
 

Detailed Description

Interface for detector resolution simulation.

Note that all input angles are in degrees.

Definition at line 51 of file JResolution.hh.

Member Typedef Documentation

◆ clone_type

template<class JClonable_t , class JDerived_t >
JClonable<JClonable_t>::clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone_type
inherited

Definition at line 61 of file JClonable.hh.

Constructor & Destructor Documentation

◆ ~JResolution()

virtual JASTRONOMY::JResolution::~JResolution ( )
inlinevirtual

Virtual destructor.

Definition at line 58 of file JResolution.hh.

59 {}

Member Function Documentation

◆ read()

virtual std::istream & JASTRONOMY::JResolution::read ( std::istream & in)
pure virtual

Read detector resolution from input stream.

Parameters
ininput stream
Returns
input stream

◆ write()

virtual std::ostream & JASTRONOMY::JResolution::write ( std::ostream & out) const
pure virtual

Write detector resolution to output stream.

Parameters
outoutput stream
Returns
output stream

◆ get()

virtual JDirection3D JASTRONOMY::JResolution::get ( ) const
pure virtual

Get direction.

Returns
direction

◆ clone()

template<class JClonable_t , class JDerived_t >
virtual clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone ( ) const
inlineoverridevirtualinherited

◆ getTitle()

const std::string & JLANG::JTitle::getTitle ( ) const
inlineinherited

Get title.

Returns
title

Definition at line 55 of file JTitle.hh.

56 {
57 return this->title;
58 }
std::string title
Definition JTitle.hh:73

◆ setTitle()

void JLANG::JTitle::setTitle ( const std::string & title)
inlineinherited

Set title.

Parameters
titletitle

Definition at line 66 of file JTitle.hh.

67 {
68 this->title = title;
69 }

Member Data Documentation

◆ title

std::string JLANG::JTitle::title
protectedinherited

Definition at line 73 of file JTitle.hh.


The documentation for this struct was generated from the following file: