Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaPhysicsModule.cxx
Go to the documentation of this file.
1
//*-- Author : Ole Hansen 14-Feb-03
2
4
//
5
// THaPhysicsModule
6
//
7
// Abstract base class for a "physics" processing module.
8
//
9
// Physics processing takes place after detector and apparatus
10
// processing, i.e. after basic tracking. Physics modules
11
// combine data from different apparatuses.
12
//
13
// Examples:
14
// - Vertex calculations (e.g. "reaction_z")
15
// - Vertex corrections (e.g. extended target corrections)
16
// - Target energy loss calculations (requires beam position and tracks)
17
// - single-arm and coincidence kinematics corrections.
18
//
19
// These routines typically require some "global" database information
20
// such as spectrometer angles, central momentum, target parameters, etc.
21
// Some database functions are provided.
22
//
24
25
#include "
THaPhysicsModule.h
"
26
27
using namespace
std
;
28
29
//_____________________________________________________________________________
30
THaPhysicsModule::THaPhysicsModule
(
const
char
* name,
31
const
char
* description ) :
32
THaAnalysisObject
(
name
,description), fMultiTrk(false), fDataValid(false)
33
{
34
// Constructor
35
}
36
37
//_____________________________________________________________________________
38
void
THaPhysicsModule::PrintInitError
(
const
char
*
here
)
39
{
40
Error
(
Here
(
here
),
"Cannot set. Module already initialized."
);
41
}
42
43
//_____________________________________________________________________________
44
45
ClassImp
(
THaPhysicsModule
)
name
char name[80]
THaPhysicsModule.h
here
static const char *const here
Definition
THaVar.cxx:64
THaAnalysisObject
Definition
THaAnalysisObject.h:31
THaAnalysisObject::Here
virtual const char * Here(const char *) const
Definition
THaAnalysisObject.cxx:373
THaPhysicsModule
Definition
THaPhysicsModule.h:12
THaPhysicsModule::PrintInitError
void PrintInitError(const char *here)
Definition
THaPhysicsModule.cxx:38
THaPhysicsModule::THaPhysicsModule
THaPhysicsModule(const char *name, const char *description)
Definition
THaPhysicsModule.cxx:30
TObject::Error
virtual void Error(const char *method, const char *msgfmt,...) const
std
STL namespace.
ClassImp
ClassImp(TPyArg)
Podd
THaPhysicsModule.cxx
Generated by
1.9.8