#include "hmdcsetup.h"

HMdcCommonSetup


class description - source file - inheritance tree (.pdf)

class HMdcCommonSetup : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HMdcCommonSetup

    public:
HMdcCommonSetup(const char* name, const char* title, HMdcSetup* set = 0) HMdcCommonSetup(const HMdcCommonSetup&) ~HMdcCommonSetup() Bool_t check() static TClass* Class() void clear() void copySet(HMdcCommonSetup* par) Int_t getAnalysisLevel() Int_t getIsSimulation() void getMdcCommonSet(Int_t* sim, Int_t* level, Int_t* track) Bool_t getParams(HParamList*) Int_t getTracker() virtual TClass* IsA() const Bool_t isEqual(HMdcCommonSetup* par) HMdcCommonSetup& operator=(const HMdcCommonSetup&) void printParam() void putParams(HParamList*) void setAnalysisLevel(Int_t level) void setIsSimulation(Int_t sim) void setMdcCommonSet(Int_t sim, Int_t level, Int_t track) void setTracker(Int_t track) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
HMdcSetup* setup Int_t isSimulation sim,real data ,merge Int_t analysisLevel raw,cal1,cal2,hit,fit Int_t tracker dubna, santiago

Class Description

 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>

HMdcCommonSetup(const char* name,const char* title,HMdcSetup* set) : TNamed(name,title)
 constructor of HMdcCommonSetup
 The parameters are initialized with non valid values

~HMdcCommonSetup()
 destructor of HMdcCommonSetup

void copySet(HMdcCommonSetup* par5)

Bool_t isEqual(HMdcCommonSetup* par5)

void clear()
 The parameters are initialized with non valid values

Bool_t check()
 The parameters are are checked for non valid values

void printParam(void)
 prints the parameters to the screen

Bool_t getParams(HParamList* l)
 gets the parameters from HParamList, which is used for io.

void putParams(HParamList* l)
 puts the parameters of HMdcCommonSetup to
 HParamList, which is used for io.



Inline Functions


                    void setIsSimulation(Int_t sim)
                    void setAnalysisLevel(Int_t level)
                    void setTracker(Int_t track)
                    void setMdcCommonSet(Int_t sim, Int_t level, Int_t track)
                   Int_t getIsSimulation()
                   Int_t getAnalysisLevel()
                   Int_t getTracker()
                    void getMdcCommonSet(Int_t* sim, Int_t* level, Int_t* track)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
         HMdcCommonSetup HMdcCommonSetup(const HMdcCommonSetup&)
        HMdcCommonSetup& operator=(const HMdcCommonSetup&)


Last update: Fri Jan 26 12:05:04 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.