|
BrBbVertexModule
class description - source file - inheritance tree
private:
BrBbVertex* SaveBestVertex(BrEventNode* outNode)
void Vertex(BrBbVertex*, Int_t, Int_t, Int_t, Int_t, Float_t)
public:
BrBbVertexModule BrBbVertexModule()
BrBbVertexModule BrBbVertexModule(const Char_t* name, const Char_t* title)
BrBbVertexModule BrBbVertexModule(BrBbVertexModule&)
virtual void ~BrBbVertexModule()
virtual void Begin()
static TClass* Class()
virtual void DefineHistograms()
virtual void Event(BrEventNode* inNode, BrEventNode* outNode)
virtual void Finish()
virtual void Init()
virtual TClass* IsA() const
virtual void Print(Option_t* option = "B") const
void SetArrayDist(Float_t d = 215)
void SetDefaultParameters()
void SetMaxTimeDiff(Float_t dt = 0.5)
void SetOffsetCalib(Bool_t b = kFALSE)
void SetTreeOn(Bool_t b = kFALSE)
void SetUseSqlOffset(Bool_t b = kFALSE)
void SetZOffBig(Float_t off = 0)
void SetZOffFastest(Float_t off = 0)
void SetZOffSmall(Float_t off = 0)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
Int_t fUsedEvt some event statistics: number of events analyzed
Int_t fAccEvt number of successful events
Int_t fBigStat
Int_t fSmallStat
Int_t fFastestStat
BrBbCalHits* fBblHits left array calibrated and selected hits
BrBbCalHits* fBbrHits right array calibrated and selected hits
BrBbVertex* fVBig vertex object calculated with big tubes
BrBbVertex* fVSmall vertex object calculated with small tubes
BrBbVertex* fVFastest vertex object calculated with fastest tube
TH2F* fVSB vertex correlation small tubes vs big tubes
TH2F* fVSF vertex correlation small tubes vs fastest
TH2F* fVBF vertex correlation big tubes vs fastest
TH2F* fTSB same with time0
TH2F* fTSF idem
TH2F* fTBF idem
TH1F* fMethod statistics of vertex calculation method
TH1F* fDiffSB diff. between Small and Big vertex
TH1F* fDiffSF diff. between Small and Fastest vertex
TH1F* fDiffBF diff. between Big and Fastest vertex
TH1F* fZBig big tube vertex
TH1F* fZSmall big tube vertex
TH1F* fZFastest big tube vertex
TH1F* fVertex accepted
TH1F* fTBig big tube vertex
TH1F* fTSmall big tube vertex
TH1F* fTFastest big tube vertex
TH1F* fTime0 accepted
TTree* fBbVtxTree tree containing all info (Hitss and vtxs)
Bool_t fTreeOn switch on/off the creation of the tree
Bool_t fOffsetCalib flag to distinguish between real recontruction
Bool_t fUseSqlOffset to retrieve offsets from the sql db
Float_t fArrayDist distance between array and IR center
Float_t fZOffBig big tube vertex offset
Float_t fZOffSmall small tube vertex offset
Float_t fZOffFastest fastest tube vertex offset
Float_t fMaxTimeDiff condition on hit time inclusion in vtx evaluation
BrVertexCalibration* fCalibration
Beam-Beam vertex module class
Takes BB rdo objects/calhits and evaluate the vertex
by differentiating left and right
returns a BrBbVertex
This object contains: Z0, Time0 and method as times from
1: big 2: small 3: fastest
BrBbCalHits 'rdo' objects
BrBbVertexModule()
Default constructor. DO NOT USE
BrBbVertexModule(const Char_t* name, const Char_t* title)
: BrModule(name, title)
Named Constructor
void SetDefaultParameters()
set default parameter
~BrBbVertexModule()
destructor
void DefineHistograms()
Define histograms. They are:
<fill in here>
void Init()
Job-level initialisation
void Begin()
get the offsets from the calib object
void Event(BrEventNode* inNode, BrEventNode* outNode)
Per event method
void Vertex(BrBbVertex* vtx,
Int_t lmin, Int_t lmax,
Int_t rmin, Int_t rmax,
Float_t zOffset)
private method
BrBbVertex* SaveBestVertex(BrEventNode* outNode)
add best vertex (?) to output node:
FIXME: for now, best is small, then big, then fastest
Note: fastest is usually pretty bad (/fv= 10/19/01)
See summary plots diffSF and compare to diffSB.
void Finish()
void Print(Option_t* option) const
Print module information
See BrModule::Print for options.
In addition this module defines the Option:
<fill in here>
Inline Functions
void SetOffsetCalib(Bool_t b = kFALSE)
void SetUseSqlOffset(Bool_t b = kFALSE)
void SetTreeOn(Bool_t b = kFALSE)
void SetArrayDist(Float_t d = 215)
void SetZOffBig(Float_t off = 0)
void SetZOffSmall(Float_t off = 0)
void SetZOffFastest(Float_t off = 0)
void SetMaxTimeDiff(Float_t dt = 0.5)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
BrBbVertexModule BrBbVertexModule(BrBbVertexModule&)
|