#include "hmdcdedxhists.h" |
HMdcDeDxHists
class description - source file - inheritance tree (.pdf)
protected:
void initParameters()
void makeHists()
void setParContainers()
public:
HMdcDeDxHists()
HMdcDeDxHists(Text_t* name, Text_t* title)
~HMdcDeDxHists()
static TClass* Class()
virtual Int_t execute()
virtual Bool_t finalize()
virtual Bool_t init()
virtual TClass* IsA() const
void printStatus()
void setCPR(Bool_t ok)
void setDebug(Bool_t ok)
void setDeDxMethod(Int_t m)
void setDeDxMinimumWires(Int_t n)
void setDeDxModule(Int_t m)
void setDeDxUseShifts(Bool_t shift)
void setDeDxWindow(Float_t w)
void setNTuple(Bool_t ok)
void setOnline(Bool_t ok)
void setUseSpline(Bool_t ok)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
HCategory* trkcandCat ! pointer to the HMdcTrkCand data
HCategory* segCat ! pointer to the HMdcSeg data
Bool_t hasPrinted flag is set if printStatus is called
HIterator* trkcanditer ! iterator on HMdcTrkCand data.
HCategory* kickCat ! pointer to the kicktrack data (fillhists only)
HIterator* kickiter ! iterator on kicktrack data. (fillhists only)
HCategory* splineCat ! pointer to the spline track data (fillhists only)
HCategory* metamatchCat ! pointer to the meta match data (fillhists only)
HIterator* metamatchiter ! iterator on metamatch data. (fillhists only)
HLocation lockick ! location in kicktrack category(fillhists only)
HLocation locseg ! location in segment category
Bool_t useSpline ! use spline fit (kTRUE) or kick plane (kFALSE)
Bool_t online ! switch for online/offline
Bool_t ntuple ! switch ntuple option
Bool_t debug ! switch debug option (variables of HMdcTrkCand are overwritten with p*charge/single_double flag)
Bool_t cpr ! switch option for singles/doubles (HKickTrack->getRingId() will keep single/double flag (1,2) corresponding to Jaro's CPR)
Int_t mode ! switch mode of HMdcDeDX::calcDedX(......,mode,module)
Int_t module ! switch module of HMdcDeDX::calcDedX(......,mode,module)
Float_t window ! window for truncated mean
Int_t minwires ! minimum number of wires
Bool_t useshifts ! switch normalization on/off
TFile* output
TH2F* hdedx_p_sec_seg_sys[6][2][2] ! dedx vs mom for sec/seg/sys
TH2F* hdedx_p_sec_seg[6][2] ! dedx vs mom for sec/seg
TH2F* hdedx_p_sec_trk_sys[6][2] ! dedx vs mom for sec/trk/sys
TH2F* hdedx_p_sec_trk[6] ! dedx vs mom for sec/trk
TH2F* hdedx_p_all_seg_sys[2][2] ! dedx vs mom for seg/sys
TH2F* hdedx_p_all_seg[2] ! dedx vs mom for seg
TH2F* hdedx_p_all_trk_sys[2] ! dedx vs mom for trk/sys
TH2F* hdedx_p_all_trk ! dedx vs mom for trk
TH1F* hdriftcells[2] ! histograms for single/double single measurements
TCanvas* result ! canvas for online option
TNtuple* celltuple ! ntuple for investigations
HMdcDeDxHists
Fills momentum vs mdcdedx (spline or kicktrack) for
full tracks (seg1+seg2), seg1, seg2 , system 0/1 and sector wise.
OPTIONS:
Momentum version:-----------------------------------------------------------
The histograms can be filled by HKicktrack or HSplineTrack:
The selection can be done with
setUseSpline(Bool_t) : kTRUE (default) - Fills from HSplineTrack
: kFALSE - Fills from HKickTrack
dEdx calculation:-----------------------------------------------------------
The mode of HMdcDeDx::calcDeDx(......., mode,module) can be switched
via setDeDxMode(Int_t m) : 0 (default) - Fills from HMdcSeg (only cells kept by the fitter)
1 - Fills from HMdcClusFit (cells with weight 0 AND 1 are used)
via setDeDxModule(Int_t m): 0 - Fills for 1st module in HMdcSeg
1 - Fills for 2st module in HMdcSeg
2 (default) - Fills for both modules in HMdcSeg
via setDeDxWindow(Float_t w) the window of the truncated mena can be set
in units of sigma (default 5.0);
via setDeDxMinimumWires(Int_t n) the minimal number of wires after the truncated
mean procedure can be set.
via setDeDxUseShifts(Bool_t shift) the normalization procedure of the dEdx calculation
cand be switched on or off (default=ON).
CPR mode:-------------------------------------------------------------------
Single wire distribution / ntuple filled for single/doubles of Jaro's CPR condition
Runs on special pepared input file (Stripped single/doubles with HKickTrack containing
1 for singles and 2 for doubles )
setCPR(Bool_t cpr) : kTRUE run in the special mode
setCPR(Bool_t cpr) : kFALSE (default) run in the normal mode
DEBUG mode:-----------------------------------------------------------------
If Debug mode is switched on (default OFF),
HMdcTrkCand.getFirstCandInd() =p*charge;
HMdcTrkCand.getNCandForSeg1() =single_double (only if cpr, 1=single,2=double);
The out put dedx of HMdcTrkCand will be refilled with the calculated values.
setDebug(Bool_t d)
HMdcDeDxHists(void)
Default constructor .
HMdcDeDxHists(Text_t* name,Text_t* title)
: HReconstructor(name,title)
Constructor calls the constructor of class HReconstructor with the name
and the title as arguments.
~HMdcDeDxHists(void)
destructor deletes the iterator
void initParameters()
void setParContainers()
creates the parameter containers
Bool_t init(void)
gets the pointers to HMdcTrkC and HMdcSeg categories
calls the function setParContainers()
void makeHists()
void printStatus()
prints the parameters to the screen
Int_t execute(void)
Bool_t finalize()
Inline Functions
void setUseSpline(Bool_t ok)
void setOnline(Bool_t ok)
void setNTuple(Bool_t ok)
void setDebug(Bool_t ok)
void setCPR(Bool_t ok)
void setDeDxMethod(Int_t m)
void setDeDxModule(Int_t m)
void setDeDxWindow(Float_t w)
void setDeDxMinimumWires(Int_t n)
void setDeDxUseShifts(Bool_t shift)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Last update: Fri Jan 26 12:05:52 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.