|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnLambdaAnalRun7.h>
Public Member Functions | |
| BmnLambdaAnalRun7 () | |
| BmnLambdaAnalRun7 (TString dir) | |
| BmnLambdaAnalRun7 (TString dirMc, TString dirData, TString target="") | |
| virtual | ~BmnLambdaAnalRun7 () |
| void | SetIsMc (Bool_t flag) |
| void | SetCuts (TString target, Double_t DCA0, Double_t DCA1, Double_t DCA2, Double_t DCA12, Double_t PATH=-1, Int_t nHitsPos=2, Int_t nHitsNeg=2) |
| BmnParticlePairCut * | GetCuts (TString target) const |
| void | SetPtBins (vector< pair< Double_t, Double_t > > bins) |
| void | SetYBins (vector< pair< Double_t, Double_t > > bins) |
| void | SetPathBins (vector< pair< Double_t, Double_t > > bins) |
| void | SetTriggerEffData (TString trigger, TString data) |
| map< TString, BmnParticlePairCut * > | GetTargetCutsMap () |
| TClonesArray * | GetFilledArray () |
| map< Int_t, pair< Double_t, Double_t > > | GetSignalPtBinMap () |
| map< Int_t, pair< Double_t, Double_t > > | GetSignalYBinMap () |
| void | doAllTargetsAnal () |
| void | doTargetAnal (TString target) |
| void | doTargetAnal (vector< TString > targets) |
| void | ReadData () |
| Public Member Functions inherited from BmnMassSpectrumAnal | |
| BmnMassSpectrumAnal () | |
| BmnMassSpectrumAnal (TString) | |
| vector< TString > | createFilelist () |
| void | SetTarget (TString t) |
| void | SetSpectrumRange (Double_t min, Double_t max) |
| void | SetSignalCut (Double_t s) |
| void | SetBackgroungCut (Double_t b) |
| void | SetCuts (vector< Double_t > DCA0, vector< Double_t > DCA1, vector< Double_t > DCA2, vector< Double_t > DCA12, vector< Double_t > PATH, vector< Int_t > nHitsPos, vector< Int_t > nHitsNeg) |
| void | SetNFiles (Int_t n) |
| virtual | ~BmnMassSpectrumAnal () |
| void | SetStartRun (Int_t start) |
| void | SetFinishRun (Int_t finish) |
| vector< TString > | GetFileList () |
| Public Member Functions inherited from TNamed | |
| TNamed () | |
| TNamed (const char *name, const char *title) | |
| TNamed (const TNamed &named) | |
| TNamed (const TString &name, const TString &title) | |
| virtual | ~TNamed () |
| void | Clear (Option_t *option="") override |
| TObject * | Clone (const char *newname="") const override |
| Int_t | Compare (const TObject *obj) const override |
| void | Copy (TObject &named) const override |
| virtual void | FillBuffer (char *&buffer) |
| const char * | GetName () const override |
| const char * | GetTitle () const override |
| ULong_t | Hash () const override |
| TClass * | IsA () const override |
| Bool_t | IsSortable () const override |
| void | ls (Option_t *option="") const override |
| TNamed & | operator= (const TNamed &rhs) |
| void | Print (Option_t *option="") const override |
| virtual void | SetName (const char *name) |
| virtual void | SetNameTitle (const char *name, const char *title) |
| virtual void | SetTitle (const char *title="") |
| virtual Int_t | Sizeof () const |
| void | Streamer (TBuffer &) override |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| Public Member Functions inherited from TObject | |
| TObject () | |
| TObject (const TObject &object) | |
| virtual | ~TObject () |
| void | AbstractMethod (const char *method) const |
| virtual void | AppendPad (Option_t *option="") |
| virtual void | Browse (TBrowser *b) |
| ULong_t | CheckedHash () |
| virtual const char * | ClassName () const |
| virtual void | Delete (Option_t *option="") |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| virtual void | Draw (Option_t *option="") |
| virtual void | DrawClass () const |
| virtual TObject * | DrawClone (Option_t *option="") const |
| virtual void | Dump () const |
| virtual void | Error (const char *method, const char *msgfmt,...) const |
| virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| virtual TObject * | FindObject (const char *name) const |
| virtual TObject * | FindObject (const TObject *obj) const |
| virtual Option_t * | GetDrawOption () const |
| virtual const char * | GetIconName () const |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| virtual Option_t * | GetOption () const |
| virtual UInt_t | GetUniqueID () const |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| Bool_t | HasInconsistentHash () const |
| virtual void | Info (const char *method, const char *msgfmt,...) const |
| virtual Bool_t | InheritsFrom (const char *classname) const |
| virtual Bool_t | InheritsFrom (const TClass *cl) const |
| virtual void | Inspect () const |
| void | InvertBit (UInt_t f) |
| Bool_t | IsDestructed () const |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| virtual Bool_t | IsFolder () const |
| R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
| R__ALWAYS_INLINE Bool_t | IsZombie () const |
| void | MayNotUse (const char *method) const |
| virtual Bool_t | Notify () |
| void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *vp) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, void *vp) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *vp) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, void *vp) |
| TObject & | operator= (const TObject &rhs) |
| virtual void | Paint (Option_t *option="") |
| virtual void | Pop () |
| virtual Int_t | Read (const char *name) |
| virtual void | RecursiveRemove (TObject *obj) |
| void | ResetBit (UInt_t f) |
| virtual void | SaveAs (const char *filename="", Option_t *option="") const |
| virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
| void | SetBit (UInt_t f) |
| void | SetBit (UInt_t f, Bool_t set) |
| virtual void | SetDrawOption (Option_t *option="") |
| virtual void | SetUniqueID (UInt_t uid) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| virtual void | SysError (const char *method, const char *msgfmt,...) const |
| R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
| Int_t | TestBits (UInt_t f) const |
| virtual void | UseCurrentStyle () |
| virtual void | Warning (const char *method, const char *msgfmt,...) const |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Protected Attributes | |
| map< TString, BmnParticlePairCut * > | fTargCutsMap |
| Protected Attributes inherited from BmnMassSpectrumAnal | |
| Int_t | fPeriod |
| Int_t | fStartRun |
| Int_t | fFinishRun |
| vector< TString > | fInFiles |
| TString | fBeam |
| Double_t | xLow |
| Double_t | xUp |
| Int_t | fSignalBinMin |
| Int_t | fSignalBinMax |
| vector< TString > | fTarget |
| Int_t | fNFiles |
| TH1F * | hSpectrumImproved |
| Bool_t | isPtY |
| TH1F ** | hSpectraPt |
| TH1F ** | hSpectraY |
| Int_t | nPtBins |
| map< Int_t, pair< Double_t, Double_t > > | fPtBinMap |
| Int_t | nYBins |
| map< Int_t, pair< Double_t, Double_t > > | fYBinMap |
| Int_t | nPathBins |
| map< Int_t, pair< Double_t, Double_t > > | fPathBins |
| Bool_t | isMc |
| Protected Attributes inherited from TNamed | |
| TString | fName |
| TString | fTitle |
| Protected Attributes inherited from TObject | |
| kOnlyPrepStep | |
Private Member Functions | |
| void | targetListsByCutsEstablished (set< TString > &, set< TString > &) |
| void | DrawH (TH1F *, Double_t, Double_t, pair< Double_t, Double_t >, pair< Double_t, Double_t >, Int_t si=1) |
| void | doTargetAnal () |
| void | doTargetAnalPath () |
Private Attributes | |
| TClonesArray * | fTrigEffs |
| map< TString, TString > | fTrigEffData |
| map< Int_t, pair< Double_t, Double_t > > | fSdeltaS_PtBinMap |
| map< Int_t, pair< Double_t, Double_t > > | fSdeltaS_YBinMap |
| vector< TString > | fMcList |
| vector< TString > | fDataList |
Additional Inherited Members | |
| Public Types inherited from TObject | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
| Static Public Member Functions inherited from TNamed | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| Static Public Member Functions inherited from TObject | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static Longptr_t | GetDtorOnly () |
| static Bool_t | GetObjectStat () |
| static void | SetDtorOnly (void *obj) |
| static void | SetObjectStat (Bool_t stat) |
| Public Attributes inherited from TObject | |
| kIsOnHeap | |
| kNotDeleted | |
| kZombie | |
| kInconsistent | |
| kBitMask | |
| kSingleKey | |
| kOverwrite | |
| kWriteDelete | |
| kObjInCanvas | |
| kCanDelete | |
| kMustCleanup | |
| kIsReferenced | |
| kHasUUID | |
| kCannotPick | |
| kNoContextMenu | |
| kInvalidObject | |
| Protected Member Functions inherited from BmnMassSpectrumAnal | |
| void | ReadFile (TString, BmnParticlePairCut *cut0=nullptr, TClonesArray *triggEffInfo=nullptr, Double_t pathMin=0., Double_t pathMax=0.) |
| TFitResultPtr | fitSpectrum (TH1F *) |
| void | fitSpectrum (TH1F *, Double_t &, Double_t &, pair< Double_t, Double_t > &, pair< Double_t, Double_t > &) |
| Bool_t | checkFit (BmnParticlePairCut *) |
| void | GetPtY (vector< Double_t >, vector< Double_t >, Double_t &, Double_t &) |
| Double_t | deltaB (TF1 *f, TFitResultPtr fitRes) |
| Protected Member Functions inherited from TNamed | |
| void | SavePrimitiveNameTitle (std::ostream &out, const char *variable_name) |
| Protected Member Functions inherited from TObject | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| void | MakeZombie () |
| Static Protected Member Functions inherited from BmnMassSpectrumAnal | |
| static Double_t | background (Double_t *, Double_t *) |
| static Double_t | signal (Double_t *, Double_t *) |
| static Double_t | fitFunction (Double_t *, Double_t *) |
| Static Protected Member Functions inherited from TObject | |
| static void | SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE) |
| static void | SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr) |
| static TString | SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE) |
Definition at line 64 of file BmnLambdaAnalRun7.h.
|
inline |
Definition at line 67 of file BmnLambdaAnalRun7.h.
References fTrigEffs, and TObject::TClonesArray.
Referenced by BmnTriggerEfficiencyRun7::BmnTriggerEfficiencyRun7(), and BmnTriggerEfficiencyRun7::triggerEfficiency().
|
inline |
Definition at line 71 of file BmnLambdaAnalRun7.h.
References BmnMassSpectrumAnal::BmnMassSpectrumAnal(), BmnMassSpectrumAnal::fPtBinMap, fTrigEffs, BmnMassSpectrumAnal::fYBinMap, and BmnMassSpectrumAnal::isMc.
Definition at line 84 of file BmnLambdaAnalRun7.h.
References BmnMassSpectrumAnal::BmnMassSpectrumAnal(), BmnMassSpectrumAnal::createFilelist(), fDataList, fMcList, BmnMassSpectrumAnal::fPtBinMap, fTrigEffs, BmnMassSpectrumAnal::fYBinMap, BmnMassSpectrumAnal::GetFileList(), BmnMassSpectrumAnal::hSpectrumImproved, BmnMassSpectrumAnal::isMc, and BmnMassSpectrumAnal::SetTarget().
|
inlinevirtual |
Definition at line 105 of file BmnLambdaAnalRun7.h.
References fTrigEffs.
| void BmnLambdaAnalRun7::doAllTargetsAnal | ( | ) |
Definition at line 32 of file BmnLambdaAnalRun7.cxx.
References TH1::Add(), TCanvas::cd(), BmnMassSpectrumAnal::createFilelist(), d, TString::Data(), TPad::Divide(), TH1::Draw(), DrawH(), BmnMassSpectrumAnal::fitSpectrum(), BmnMassSpectrumAnal::fNFiles, fTargCutsMap, BmnMassSpectrumAnal::fTarget, fTrigEffData, fTrigEffs, BmnMassSpectrumAnal::hSpectrumImproved, ReadData(), BmnMassSpectrumAnal::ReadFile(), TPad::SaveAs(), TH1::SetTitle(), TMath::Sqrt(), targetListsByCutsEstablished(), BmnMassSpectrumAnal::xLow, and BmnMassSpectrumAnal::xUp.
Referenced by lambdaAnalRun7().
|
private |
Definition at line 468 of file BmnLambdaAnalRun7.cxx.
References TCanvas::cd(), TNamed::Clone(), BmnMassSpectrumAnal::createFilelist(), TString::Data(), BmnMassSpectrumAnal::deltaB(), TPad::Divide(), TLatex::DrawLatex(), TList::FindObject(), BmnMassSpectrumAnal::fInFiles, BmnMassSpectrumAnal::fitSpectrum(), BmnMassSpectrumAnal::fNFiles, BmnMassSpectrumAnal::fPtBinMap, fSdeltaS_PtBinMap, fSdeltaS_YBinMap, fTargCutsMap, BmnMassSpectrumAnal::fTarget, fTrigEffData, fTrigEffs, BmnMassSpectrumAnal::fYBinMap, TH1::GetListOfFunctions(), BmnMassSpectrumAnal::hSpectraPt, BmnMassSpectrumAnal::hSpectraY, BmnMassSpectrumAnal::isMc, BmnMassSpectrumAnal::isPtY, iY, BmnMassSpectrumAnal::nPtBins, BmnMassSpectrumAnal::nYBins, ReadData(), BmnMassSpectrumAnal::ReadFile(), TPad::SaveAs(), TAttLine::SetLineColor(), TText::SetNDC(), TAttText::SetTextSize(), TMath::Sqrt(), BmnMassSpectrumAnal::xLow, and BmnMassSpectrumAnal::xUp.
Referenced by doTargetAnal(), and doTargetAnal().
| void BmnLambdaAnalRun7::doTargetAnal | ( | TString | target | ) |
Definition at line 127 of file BmnLambdaAnalRun7.cxx.
References doTargetAnal(), doTargetAnalPath(), fDataList, fMcList, and BmnMassSpectrumAnal::fTarget.
Referenced by lambdaAnalRun7(), lambdaAnalRun7(), and lambdaAnalRun7().
| void BmnLambdaAnalRun7::doTargetAnal | ( | vector< TString > | targets | ) |
Definition at line 458 of file BmnLambdaAnalRun7.cxx.
References doTargetAnal(), and BmnMassSpectrumAnal::fTarget.
|
private |
Definition at line 138 of file BmnLambdaAnalRun7.cxx.
References TCanvas::cd(), TAxis::CenterTitle(), TH1::Clone(), TString::Contains(), BmnMassSpectrumAnal::deltaB(), TPad::Divide(), TH1::Draw(), SdeltaS::ds, SdeltaS::dSet, fDataList, TList::FindObject(), BmnMassSpectrumAnal::fitSpectrum(), fMcList, BmnMassSpectrumAnal::fNFiles, BmnMassSpectrumAnal::fPathBins, BmnMassSpectrumAnal::fPtBinMap, fTargCutsMap, BmnMassSpectrumAnal::fTarget, fTrigEffData, fTrigEffs, BmnMassSpectrumAnal::fYBinMap, TH1::GetBinContent(), TH1::GetListOfFunctions(), TH1::GetMaximum(), TH1::GetNbinsX(), TH1::GetXaxis(), TH1::GetYaxis(), BmnMassSpectrumAnal::hSpectraPt, BmnMassSpectrumAnal::hSpectraY, BmnMassSpectrumAnal::isPtY, iY, max(), min(), nBins, BmnMassSpectrumAnal::nPtBins, BmnMassSpectrumAnal::nYBins, SdeltaS::pathBin, SdeltaS::ptBin, ReadData(), BmnMassSpectrumAnal::ReadFile(), SdeltaS::s, TPad::SaveAs(), TH1::SetBinContent(), TH1::SetBinError(), TAxis::SetBinLabel(), TAttAxis::SetLabelSize(), TAttPad::SetLeftMargin(), TAttLine::SetLineColor(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TAxis::SetRangeUser(), TAttAxis::SetTitleSize(), TMath::Sqrt(), BmnMassSpectrumAnal::xLow, BmnMassSpectrumAnal::xUp, y, and SdeltaS::yBin.
Referenced by doTargetAnal().
|
private |
Definition at line 650 of file BmnLambdaAnalRun7.cxx.
References TLegend::AddEntry(), TAxis::CenterTitle(), BmnParticlePairCut::dca0(), BmnParticlePairCut::dca1(), BmnParticlePairCut::dca12(), BmnParticlePairCut::dca2(), TLegend::Draw(), TLatex::DrawLatex(), fTargCutsMap, BmnMassSpectrumAnal::fTarget, TH1::GetXaxis(), TH1::GetYaxis(), BmnParticlePairCut::path(), TAttAxis::SetLabelOffset(), TAttAxis::SetLabelSize(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerStyle(), TText::SetNDC(), TAttAxis::SetNdivisions(), TAttText::SetTextFont(), TAttText::SetTextSize(), TNamed::SetTitle(), TAttAxis::SetTitleOffset(), and TAttAxis::SetTitleSize().
Referenced by doAllTargetsAnal().
|
inline |
Definition at line 137 of file BmnLambdaAnalRun7.h.
References fTargCutsMap.
|
inline |
Definition at line 178 of file BmnLambdaAnalRun7.h.
References fTrigEffs, and TObject::TClonesArray.
Referenced by BmnTriggerEfficiencyRun7::triggerEfficiency().
Definition at line 180 of file BmnLambdaAnalRun7.h.
References fSdeltaS_PtBinMap.
Referenced by lambdaAnalRun7().
Definition at line 182 of file BmnLambdaAnalRun7.h.
References fSdeltaS_YBinMap.
Referenced by lambdaAnalRun7().
|
inline |
Definition at line 175 of file BmnLambdaAnalRun7.h.
References fTargCutsMap.
Referenced by BmnTriggerEfficiencyRun7::triggerEfficiency().
|
inline |
Definition at line 198 of file BmnLambdaAnalRun7.h.
References TObjArray::At(), TString::Data(), f, fTrigEffData, fTrigEffs, TH1::GetBinContent(), TH1::GetBinError(), TAxis::GetBinLabel(), TObjArray::GetEntries(), TH1::GetNbinsX(), TH1::GetXaxis(), i, TString::ReplaceAll(), TObject::TClonesArray, and TString::Tokenize().
Referenced by doAllTargetsAnal(), doTargetAnal(), doTargetAnalPath(), and BmnTriggerEfficiencyRun7::triggerEfficiency().
|
inline |
Definition at line 115 of file BmnLambdaAnalRun7.h.
References fTargCutsMap, BmnParticlePairCut::SetDca0(), BmnParticlePairCut::SetDca1(), BmnParticlePairCut::SetDca12(), BmnParticlePairCut::SetDca2(), BmnParticlePairCut::SetNHitsGemNeg(), BmnParticlePairCut::SetNHitsGemPos(), and BmnParticlePairCut::SetPath().
Referenced by lambdaAnalRun7(), lambdaAnalRun7(), lambdaAnalRun7(), lambdaAnalRun7(), trigEffRun7(), and trigEffRun7().
|
inline |
Definition at line 111 of file BmnLambdaAnalRun7.h.
References BmnMassSpectrumAnal::isMc.
Referenced by lambdaAnalRun7().
Definition at line 159 of file BmnLambdaAnalRun7.h.
References BmnMassSpectrumAnal::fPathBins, and BmnMassSpectrumAnal::nPathBins.
Referenced by lambdaAnalRun7().
Definition at line 139 of file BmnLambdaAnalRun7.h.
References BmnMassSpectrumAnal::fPtBinMap, and BmnMassSpectrumAnal::nPtBins.
Referenced by lambdaAnalRun7(), lambdaAnalRun7(), and lambdaAnalRun7().
Definition at line 171 of file BmnLambdaAnalRun7.h.
References fTrigEffData.
Referenced by BmnTriggerEfficiencyRun7::triggerEfficiency().
Definition at line 149 of file BmnLambdaAnalRun7.h.
References BmnMassSpectrumAnal::fYBinMap, and BmnMassSpectrumAnal::nYBins.
Referenced by lambdaAnalRun7(), lambdaAnalRun7(), and lambdaAnalRun7().
|
private |
Definition at line 3 of file BmnLambdaAnalRun7.cxx.
References fTargCutsMap.
Referenced by doAllTargetsAnal().
|
private |
Definition at line 242 of file BmnLambdaAnalRun7.h.
Referenced by BmnLambdaAnalRun7(), doTargetAnal(), and doTargetAnalPath().
|
private |
Definition at line 241 of file BmnLambdaAnalRun7.h.
Referenced by BmnLambdaAnalRun7(), doTargetAnal(), and doTargetAnalPath().
Definition at line 238 of file BmnLambdaAnalRun7.h.
Referenced by doTargetAnal(), and GetSignalPtBinMap().
Definition at line 239 of file BmnLambdaAnalRun7.h.
Referenced by doTargetAnal(), and GetSignalYBinMap().
|
protected |
Definition at line 245 of file BmnLambdaAnalRun7.h.
Referenced by doAllTargetsAnal(), doTargetAnal(), doTargetAnalPath(), DrawH(), GetCuts(), GetTargetCutsMap(), SetCuts(), and targetListsByCutsEstablished().
Definition at line 235 of file BmnLambdaAnalRun7.h.
Referenced by doAllTargetsAnal(), doTargetAnal(), doTargetAnalPath(), ReadData(), and SetTriggerEffData().
|
private |
Definition at line 234 of file BmnLambdaAnalRun7.h.
Referenced by BmnLambdaAnalRun7(), BmnLambdaAnalRun7(), BmnLambdaAnalRun7(), ~BmnLambdaAnalRun7(), doAllTargetsAnal(), doTargetAnal(), doTargetAnalPath(), GetFilledArray(), and ReadData().