|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnTriggerEfficiencyRun7.h>
Public Member Functions | |
| BmnTriggerEfficiencyRun7 () | |
| BmnTriggerEfficiencyRun7 (TString dir) | |
| virtual | ~BmnTriggerEfficiencyRun7 () |
| void | SetTrigger (TString trigg) |
| void | SetMultiplicityMap (vector< pair< Int_t, Int_t > > bins) |
| void | SetSpectraFile (TString f) |
| void | SetEffFiles (TString f) |
| void | triggerEfficiency () |
| Public Member Functions inherited from BmnLambdaAnalRun7 | |
| 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 |
Private Types | |
| enum | TriggConditions { base = 0 , severe } |
Private Member Functions | |
| vector< TString > | createFilelist (vector< TString >) |
| void | ReadFile (TString, BmnParticlePairCut *cut0) |
| Int_t | FinMultBin (Int_t multValue) |
| void | DoNormalization (TH1F *h) |
Private Attributes | |
| TString | fEoSNode |
| TString | fTrigger |
| Bool_t | isAddTriggerCondition |
| TString | fSpectraFile |
| vector< TString > | fEffFiles |
| Int_t | nFdCounts |
| Int_t | nBdCounts |
| Int_t | nMultBins |
| map< Int_t, pair< Int_t, Int_t > > | fMultMap |
| TH1F *** | hSpectra |
| TH1F ** | hMult |
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) |
| Protected Attributes inherited from BmnLambdaAnalRun7 | |
| 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 | |
Definition at line 11 of file BmnTriggerEfficiencyRun7.h.
|
private |
| Enumerator | ||
|---|---|---|
| base | 0 | |
| severe | ||
Definition at line 71 of file BmnTriggerEfficiencyRun7.h.
|
inline |
Definition at line 14 of file BmnTriggerEfficiencyRun7.h.
|
inline |
Definition at line 16 of file BmnTriggerEfficiencyRun7.h.
References BmnLambdaAnalRun7::BmnLambdaAnalRun7(), fEoSNode, fMultMap, fSpectraFile, isAddTriggerCondition, nBdCounts, nFdCounts, and nMultBins.
|
inlinevirtual |
Definition at line 37 of file BmnTriggerEfficiencyRun7.h.
Definition at line 374 of file BmnTriggerEfficiencyRun7.cxx.
References BmnMassSpectrumAnal::fBeam, BmnMassSpectrumAnal::fFinishRun, BmnMassSpectrumAnal::fInFiles, BmnMassSpectrumAnal::fPeriod, BmnMassSpectrumAnal::fStartRun, BmnMassSpectrumAnal::fTarget, UniRun::GetBeamParticle(), UniRun::GetRun(), UniRun::GetTargetParticle(), and BmnDataTriggerInfo::GetTrigger().
|
inlineprivate |
Definition at line 110 of file BmnTriggerEfficiencyRun7.h.
References TH1::GetBinContent(), TH1::GetEntries(), TH1::GetMaximum(), TH1::GetNbinsX(), TH1::GetYaxis(), TH1::SetBinContent(), TH1::SetBinError(), and TAxis::SetRangeUser().
Definition at line 95 of file BmnTriggerEfficiencyRun7.h.
References fMultMap, max(), and min().
Referenced by ReadFile().
|
private |
Definition at line 440 of file BmnTriggerEfficiencyRun7.cxx.
References TMath::Abs(), TChain::Add(), base, DstEventHeaderExtended::bd(), BmnParticlePairCut::dca0(), BmnParticlePairCut::dca1(), BmnParticlePairCut::dca12(), BmnParticlePairCut::dca2(), f, DstEventHeaderExtended::fd(), FinMultBin(), fTrigger, BmnParticlePair::GetDCA0(), BmnParticlePair::GetDCA1(), BmnParticlePair::GetDCA12(), BmnParticlePair::GetDCA2(), TChain::GetEntries(), TObjArray::GetEntriesFast(), TChain::GetEntry(), TChain::GetFile(), BmnParticlePair::GetInvMass(), BmnParticlePair::GetNHitsPart1(), BmnParticlePair::GetNHitsPart2(), BmnParticlePair::GetPath(), BmnParticlePair::GetV0Z(), hSpectra, isAddTriggerCondition, nBdCounts, nFdCounts, BmnParticlePairCut::nHitsGemNeg(), BmnParticlePairCut::nHitsGemPos(), DstEventHeaderExtended::nTracks(), BmnParticlePairCut::path(), TChain::SetBranchAddress(), severe, TObjArray::UncheckedAt(), DstEventHeaderExtended::Vp(), TVector3::Z(), and z.
Referenced by triggerEfficiency().
|
inline |
Definition at line 55 of file BmnTriggerEfficiencyRun7.h.
Referenced by trigEffRun7().
Definition at line 43 of file BmnTriggerEfficiencyRun7.h.
References fMultMap, and nMultBins.
Referenced by trigEffRun7(), and trigEffRun7().
|
inline |
Definition at line 53 of file BmnTriggerEfficiencyRun7.h.
References f, and fSpectraFile.
Referenced by trigEffRun7().
|
inline |
Definition at line 41 of file BmnTriggerEfficiencyRun7.h.
References fTrigger.
Referenced by trigEffRun7(), and trigEffRun7().
| void BmnTriggerEfficiencyRun7::triggerEfficiency | ( | ) |
Definition at line 3 of file BmnTriggerEfficiencyRun7.cxx.
References BmnLambdaAnalRun7::BmnLambdaAnalRun7(), TCanvas::cd(), TAxis::CenterTitle(), TH1::Clone(), BmnMassSpectrumAnal::createFilelist(), d, TString::Data(), BmnMassSpectrumAnal::deltaB(), TPad::Divide(), TH1::Draw(), TLatex::DrawLatex(), TriggerEfficiency::efficiency(), TriggerEfficiency::efficiencyError(), f, TObject::Fatal(), fEffFiles, BmnMassSpectrumAnal::fFinishRun, TList::FindObject(), BmnMassSpectrumAnal::fitSpectrum(), fMultMap, TString::Format(), fSpectraFile, BmnMassSpectrumAnal::fStartRun, BmnMassSpectrumAnal::fTarget, fTrigger, TObjArray::GetEntriesFast(), BmnLambdaAnalRun7::GetFilledArray(), TH1::GetListOfFunctions(), BmnLambdaAnalRun7::GetTargetCutsMap(), TH1::GetXaxis(), TH1::GetYaxis(), hMult, hSpectra, isAddTriggerCondition, max(), min(), TriggerEfficiency::multilplicity(), n, nMultBins, BmnLambdaAnalRun7::ReadData(), ReadFile(), TString::ReplaceAll(), TPad::SaveAs(), TH1::SetBinContent(), TH1::SetBinError(), TAxis::SetBinLabel(), TAttAxis::SetLabelOffset(), TAttAxis::SetLabelSize(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerStyle(), TText::SetNDC(), TAttAxis::SetNdivisions(), TAttText::SetTextSize(), TNamed::SetTitle(), TAttAxis::SetTitleOffset(), TAttAxis::SetTitleSize(), BmnLambdaAnalRun7::SetTriggerEffData(), severe, TMath::Sqrt(), TObject::TClonesArray, TriggerEfficiency::trigger(), TObjArray::UncheckedAt(), TFile::Write(), TObject::Write(), BmnMassSpectrumAnal::xLow, and BmnMassSpectrumAnal::xUp.
Referenced by trigEffRun7(), and trigEffRun7().
|
private |
Definition at line 69 of file BmnTriggerEfficiencyRun7.h.
Referenced by SetEffFiles(), and triggerEfficiency().
|
private |
Definition at line 63 of file BmnTriggerEfficiencyRun7.h.
Referenced by BmnTriggerEfficiencyRun7().
Definition at line 81 of file BmnTriggerEfficiencyRun7.h.
Referenced by BmnTriggerEfficiencyRun7(), FinMultBin(), SetMultiplicityMap(), and triggerEfficiency().
|
private |
Definition at line 68 of file BmnTriggerEfficiencyRun7.h.
Referenced by BmnTriggerEfficiencyRun7(), SetSpectraFile(), and triggerEfficiency().
|
private |
Definition at line 65 of file BmnTriggerEfficiencyRun7.h.
Referenced by ReadFile(), SetTrigger(), and triggerEfficiency().
|
private |
Definition at line 87 of file BmnTriggerEfficiencyRun7.h.
Referenced by triggerEfficiency().
|
private |
Definition at line 84 of file BmnTriggerEfficiencyRun7.h.
Referenced by ReadFile(), and triggerEfficiency().
|
private |
Definition at line 66 of file BmnTriggerEfficiencyRun7.h.
Referenced by BmnTriggerEfficiencyRun7(), ReadFile(), and triggerEfficiency().
|
private |
Definition at line 78 of file BmnTriggerEfficiencyRun7.h.
Referenced by BmnTriggerEfficiencyRun7(), and ReadFile().
|
private |
Definition at line 77 of file BmnTriggerEfficiencyRun7.h.
Referenced by BmnTriggerEfficiencyRun7(), and ReadFile().
|
private |
Definition at line 79 of file BmnTriggerEfficiencyRun7.h.
Referenced by BmnTriggerEfficiencyRun7(), SetMultiplicityMap(), and triggerEfficiency().