HMdcSetup
class description - source file - inheritance tree (.pdf)
public:
HMdcSetup(const char* name = "MdcSetup", const char* title = "parameters for MdcTaskSet", const char* context = "MdcSetupProduction")
HMdcSetup(const HMdcSetup&)
~HMdcSetup()
Bool_t check()
static TClass* Class()
virtual void clear()
void copySet(HMdcSetup* par)
HMdc12FitSetup* getMdc12FitSet()
HMdcCalibrater1Setup* getMdcCalibrater1Set()
HMdcClusterToHitSetup* getMdcClusterToHitSet()
HMdcCommonSetup* getMdcCommonSet()
HMdcDigitizerSetup* getMdcDigitizerSet()
HMdcTrackFinderSetup* getMdcTrackFinderSet()
virtual Bool_t getParams(HParamList*)
virtual Bool_t init(HParIo*, Int_t*)
virtual TClass* IsA() const
Bool_t isEqual(HMdcSetup* par)
HMdcSetup& operator=(const HMdcSetup&)
void printParam()
virtual void putParams(HParamList*)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual Int_t write(HParIo*)
protected:
HMdcDetector* fMdc
HMdcDigitizerSetup* digiset
HMdcCalibrater1Setup* cal1set
HMdcTrackFinderSetup* trackfinderset
HMdcClusterToHitSetup* clustertohitset
HMdc12FitSetup* fitterset
HMdcCommonSetup* commonset
HMdcSetup
Container class for the parameters for HMdcTaskset
Setup objects for the tasks of HMdcTaskSet are created:
HMdcDitizerSetup,HMdcCalibrater1Setup,HMdcTrackFinderSetup,
HMdcClusterHitSetup,HMdcFitterSetup and HMdcCommonSetup.
These setup objects hold all parameters to configure the tasks
in all possible ways. The objects are initialized with some non valid
values (-99 for Int_t variables and 3 for Bool_t).
The parameters contain (example):
############################################################################################
HMdcSetup:
--------------------------------------------------------------------------------------------
HMdcCommonSetup:
isSimulation = 0 : 0 = real data, 1 = simulation, 2 = merge
analysisLevel = 4 : 0 = raw, 1 = cal1, 2 = cal2, 3 = hit, 4 = fit
tracker = 1 : 1 = dubna, 2 = santiago
--------------------------------------------------------------------------------------------
HMdcCalibrater1Setup:
ModeFlagCal1 = 2 : 1 = NoStartandCal, 2 = StartandCal, 3 = NoStartandNoCal
TimeCutFlagCal1 = 1 : 0 = noTimeCut , 1 = TimeCut
--------------------------------------------------------------------------------------------
HMdcTrackFinderSetup:
MagnetStatus = 0 : 0 = MagnetOn, 1 = MagnetOff
ClustFinderType = 0 : 0 = combined chamber clusters, 1 = single chamber clusters
LevelsSegment1 = 10,50 : max. occupancy of MDC for level of cl.finding 4 & 5 layers
LevelsSegment2 = 10,30 : max. occupancy of MDC for level of cl.finding 4 & 5 layers
NumLayersPerMod = {{6,6,6,6},
{6,6,6,6},
{6,6,6,6},
{6,6,6,6},
{6,6,6,6},
{6,6,6,6}}
--------------------------------------------------------------------------------------------
HMdcClusterToHitSetup:
ModForSeg1 = 1 : -1 = don't fill HMdcSeg for segment 1,
0 = fill HMdcSeg by cluster in MDC1 if typeClFinder=1
and sector has mdc1&2, else by cluster in existing MDC,
1 = -/- in mdc2,
ModForSeg2 = 3 : -1 = don't fill HMdcSeg for segment 2,
2 = fill HMdcSeg by cluster in MDC3 if typeClFinder=1
and sector has mdc3&4 and MagnetOff,
else by cluster in existing MDC,
3 = -/- in MDC4
--------------------------------------------------------------------------------------------
HMdc12FitSetup:
FitAuthor = 1 : 0 = Hejdar , 1 = Alexandern",
DrTimeCalcVers = 1 : 0 = polynom , 1 = HMdCal2ParSim::calcTimen"
FitType = 0 : 0 = segment fit, 1 = independent mdc fit
DebugCategorie = 0 : 1 = create and fill catMdcClusFit&catMdcWireFit, 0 = don't cr.
DebugPrint = 0 : 1 = print debug information, 0 = don't print
--------------------------------------------------------------------------------------------
HMdcDigiSetup:
tdcModeDigi = 2 : 1 = two leading edges, 2 = leading and trailing edge
NtupleDigi = 1 : 0 = noNtuple, 1 = digitizer.root
useTofDigi = 1 : 0 = NoTof in cal1, 1 = Tof in cal1
useErrorDigi = 1 : 0 = NoErr in cal1, 1 = Err in cal1
useWireOffset = 1 : 1 = add wireOffset to drift time, 0 = don't add wireOffsets
useWireStat = 1 : 1 = use wirestat container (dead wires/efficiency), 0 = don't use
embeddingModeDigi = 1 : 1 = override geant by real, 2 = keep geant cells
offsetsOnDigi = 1 : 0 = global offsets off, 1 = global offsets on
offsetsDigi = 1.5 2.5 4.5 5.5 ns offset per plane (substracted from (drift time + tof))
noiseModeDigi = 1 : 1 = override geant by noise, 2 = keep geant cells
noiseOnDigi = 0 : 0 = noise off, 1 = noise on
noiseLevelDigi = 5.0% 5.0% 5.0% 5.0% noise level per plane
noiseRangeDigi = -700 -700 -700 -700 1000 1000 1000 1000 ns lower/upper limit of noise
cellEffOnDigi = 1 : 0 = cellEff off, 1 = cellEff
cellEffDigi = 82.0% 82.0% 88.0% 88.0% level of cellEff per plane
############################################################################################
#include <stdlib.h>
HMdcSetup(const char* name,const char* title,
const char* context)
: HParCond(name,title,context)
creates setup objects for the tasks of HMdcTaskSet:
HMdcDitizerSetup,HMdcCalibrater1Setup,HMdcTrackFinderSetup,
HMdcClusterHitSetup,HMdc12FitSetup and HMdcCommonSetup.
These setup objects hold all parameters to configure the tasks
in all possible ways. The objects are initialized with some non valid
values (-99 for Int_t variables and 3 for Bool_t).
~HMdcSetup()
destructor
void copySet(HMdcSetup* parParent)
Bool_t isEqual(HMdcSetup* parParent)
void clear()
Bool_t check()
all parameters are checked for non valid values
void printParam(void)
prints the parameters of HMdcSetup to the screen.
The printParam() of the subobjects are called to print the
parameters of the corresponding subobject.
Bool_t init(HParIo* inp,Int_t* set)
intitializes the container from an input
Int_t write(HParIo* output)
writes the container to an output
void putParams(HParamList* l)
Puts all params of HMdcSetup to the parameter list of
HParamList (which ist used by the io);
The putParams() functions of all subobjects are called to add the
parameters of the corresponding subobject.
Bool_t getParams(HParamList* l)
Inline Functions
HMdcDigitizerSetup* getMdcDigitizerSet()
HMdcCalibrater1Setup* getMdcCalibrater1Set()
HMdcTrackFinderSetup* getMdcTrackFinderSet()
HMdcClusterToHitSetup* getMdcClusterToHitSet()
HMdc12FitSetup* getMdc12FitSet()
HMdcCommonSetup* getMdcCommonSet()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HMdcSetup HMdcSetup(const HMdcSetup&)
HMdcSetup& operator=(const HMdcSetup&)
Last update: Fri Jan 26 12:14:34 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.