BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnLambdaAnalRun7 Class Reference

#include <BmnLambdaAnalRun7.h>

Inheritance diagram for BmnLambdaAnalRun7:
Collaboration diagram for BmnLambdaAnalRun7:

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)

Detailed Description

Definition at line 64 of file BmnLambdaAnalRun7.h.

Constructor & Destructor Documentation

◆ BmnLambdaAnalRun7() [1/3]

BmnLambdaAnalRun7::BmnLambdaAnalRun7 ( )
inline

Definition at line 67 of file BmnLambdaAnalRun7.h.

References fTrigEffs, and TObject::TClonesArray.

Referenced by BmnTriggerEfficiencyRun7::BmnTriggerEfficiencyRun7(), and BmnTriggerEfficiencyRun7::triggerEfficiency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BmnLambdaAnalRun7() [2/3]

BmnLambdaAnalRun7::BmnLambdaAnalRun7 ( TString dir)
inline

Definition at line 71 of file BmnLambdaAnalRun7.h.

References BmnMassSpectrumAnal::BmnMassSpectrumAnal(), BmnMassSpectrumAnal::fPtBinMap, fTrigEffs, BmnMassSpectrumAnal::fYBinMap, and BmnMassSpectrumAnal::isMc.

Here is the call graph for this function:

◆ BmnLambdaAnalRun7() [3/3]

BmnLambdaAnalRun7::BmnLambdaAnalRun7 ( TString dirMc,
TString dirData,
TString target = "" )
inline

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().

Here is the call graph for this function:

◆ ~BmnLambdaAnalRun7()

virtual BmnLambdaAnalRun7::~BmnLambdaAnalRun7 ( )
inlinevirtual

Definition at line 105 of file BmnLambdaAnalRun7.h.

References fTrigEffs.

Member Function Documentation

◆ doAllTargetsAnal()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ doTargetAnal() [1/3]

◆ doTargetAnal() [2/3]

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ doTargetAnal() [3/3]

void BmnLambdaAnalRun7::doTargetAnal ( vector< TString > targets)

Definition at line 458 of file BmnLambdaAnalRun7.cxx.

References doTargetAnal(), and BmnMassSpectrumAnal::fTarget.

Here is the call graph for this function:

◆ doTargetAnalPath()

void BmnLambdaAnalRun7::doTargetAnalPath ( )
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawH()

void BmnLambdaAnalRun7::DrawH ( TH1F * h,
Double_t mean,
Double_t sigma,
pair< Double_t, Double_t > T,
pair< Double_t, Double_t > B,
Int_t si = 1 )
private

◆ GetCuts()

BmnParticlePairCut * BmnLambdaAnalRun7::GetCuts ( TString target) const
inline

Definition at line 137 of file BmnLambdaAnalRun7.h.

References fTargCutsMap.

◆ GetFilledArray()

TClonesArray * BmnLambdaAnalRun7::GetFilledArray ( )
inline

Definition at line 178 of file BmnLambdaAnalRun7.h.

References fTrigEffs, and TObject::TClonesArray.

Referenced by BmnTriggerEfficiencyRun7::triggerEfficiency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSignalPtBinMap()

map< Int_t, pair< Double_t, Double_t > > BmnLambdaAnalRun7::GetSignalPtBinMap ( )
inline

Definition at line 180 of file BmnLambdaAnalRun7.h.

References fSdeltaS_PtBinMap.

Referenced by lambdaAnalRun7().

Here is the caller graph for this function:

◆ GetSignalYBinMap()

map< Int_t, pair< Double_t, Double_t > > BmnLambdaAnalRun7::GetSignalYBinMap ( )
inline

Definition at line 182 of file BmnLambdaAnalRun7.h.

References fSdeltaS_YBinMap.

Referenced by lambdaAnalRun7().

Here is the caller graph for this function:

◆ GetTargetCutsMap()

map< TString, BmnParticlePairCut * > BmnLambdaAnalRun7::GetTargetCutsMap ( )
inline

Definition at line 175 of file BmnLambdaAnalRun7.h.

References fTargCutsMap.

Referenced by BmnTriggerEfficiencyRun7::triggerEfficiency().

Here is the caller graph for this function:

◆ ReadData()

void BmnLambdaAnalRun7::ReadData ( )
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetCuts()

void BmnLambdaAnalRun7::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 )
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetIsMc()

void BmnLambdaAnalRun7::SetIsMc ( Bool_t flag)
inline

Definition at line 111 of file BmnLambdaAnalRun7.h.

References BmnMassSpectrumAnal::isMc.

Referenced by lambdaAnalRun7().

Here is the caller graph for this function:

◆ SetPathBins()

void BmnLambdaAnalRun7::SetPathBins ( vector< pair< Double_t, Double_t > > bins)
inline

Definition at line 159 of file BmnLambdaAnalRun7.h.

References BmnMassSpectrumAnal::fPathBins, and BmnMassSpectrumAnal::nPathBins.

Referenced by lambdaAnalRun7().

Here is the caller graph for this function:

◆ SetPtBins()

void BmnLambdaAnalRun7::SetPtBins ( vector< pair< Double_t, Double_t > > bins)
inline

Definition at line 139 of file BmnLambdaAnalRun7.h.

References BmnMassSpectrumAnal::fPtBinMap, and BmnMassSpectrumAnal::nPtBins.

Referenced by lambdaAnalRun7(), lambdaAnalRun7(), and lambdaAnalRun7().

Here is the caller graph for this function:

◆ SetTriggerEffData()

void BmnLambdaAnalRun7::SetTriggerEffData ( TString trigger,
TString data )
inline

Definition at line 171 of file BmnLambdaAnalRun7.h.

References fTrigEffData.

Referenced by BmnTriggerEfficiencyRun7::triggerEfficiency().

Here is the caller graph for this function:

◆ SetYBins()

void BmnLambdaAnalRun7::SetYBins ( vector< pair< Double_t, Double_t > > bins)
inline

Definition at line 149 of file BmnLambdaAnalRun7.h.

References BmnMassSpectrumAnal::fYBinMap, and BmnMassSpectrumAnal::nYBins.

Referenced by lambdaAnalRun7(), lambdaAnalRun7(), and lambdaAnalRun7().

Here is the caller graph for this function:

◆ targetListsByCutsEstablished()

void BmnLambdaAnalRun7::targetListsByCutsEstablished ( set< TString > & commonCuts,
set< TString > & uniqueCuts )
private

Definition at line 3 of file BmnLambdaAnalRun7.cxx.

References fTargCutsMap.

Referenced by doAllTargetsAnal().

Here is the caller graph for this function:

Member Data Documentation

◆ fDataList

vector<TString> BmnLambdaAnalRun7::fDataList
private

Definition at line 242 of file BmnLambdaAnalRun7.h.

Referenced by BmnLambdaAnalRun7(), doTargetAnal(), and doTargetAnalPath().

◆ fMcList

vector<TString> BmnLambdaAnalRun7::fMcList
private

Definition at line 241 of file BmnLambdaAnalRun7.h.

Referenced by BmnLambdaAnalRun7(), doTargetAnal(), and doTargetAnalPath().

◆ fSdeltaS_PtBinMap

map<Int_t, pair<Double_t, Double_t> > BmnLambdaAnalRun7::fSdeltaS_PtBinMap
private

Definition at line 238 of file BmnLambdaAnalRun7.h.

Referenced by doTargetAnal(), and GetSignalPtBinMap().

◆ fSdeltaS_YBinMap

map<Int_t, pair<Double_t, Double_t> > BmnLambdaAnalRun7::fSdeltaS_YBinMap
private

Definition at line 239 of file BmnLambdaAnalRun7.h.

Referenced by doTargetAnal(), and GetSignalYBinMap().

◆ fTargCutsMap

map<TString, BmnParticlePairCut*> BmnLambdaAnalRun7::fTargCutsMap
protected

◆ fTrigEffData

map<TString, TString> BmnLambdaAnalRun7::fTrigEffData
private

◆ fTrigEffs


The documentation for this class was generated from the following files: