CbmRoot
|
#include <PairAnalysisSignalMC.h>
Public Types | |
enum class | EBranchRelation { kUndefined = 0 , kSame , kDifferent } |
enum class | ESource { kDontCare = 0 , kPrimary , kSecondary , kFinalState , kDirect , kSecondaryFromWeakDecay , kSecondaryFromMaterial } |
enum class | EDalitz { kWhoCares = 0 , kIsDalitz , kIsNotDalitz } |
enum class | EDefinedSignal { kInclJpsi = 0 , kNonRadJpsi , kRadJpsi , kPsi2S , kConversion , kRho0 , kOmegaDalitz , kOmega , kPhi , kEtaDalitz , kEta , kPi0Dalitz , kPi0Gamma , kPi0 , kK0Short , kLambda , kInclElePM , kDeltaElectron , kPrimElectron , kPrimMuon , kPrimPion , kPrimKaon , kPrimProton , kDeuteron , kTriton , kHe3 , kAlpha , kNSignals } |
Public Member Functions | |
PairAnalysisSignalMC () | |
PairAnalysisSignalMC (const Char_t *name, const Char_t *title) | |
PairAnalysisSignalMC (EDefinedSignal defaultSignal) | |
virtual | ~PairAnalysisSignalMC () |
void | SetLegPDGs (Int_t pdg1, Int_t pdg2, Bool_t exclude1=kFALSE, Bool_t exclude2=kFALSE) |
void | SetMotherPDGs (Int_t pdg1, Int_t pdg2, Bool_t exclude1=kFALSE, Bool_t exclude2=kFALSE) |
void | SetGrandMotherPDGs (Int_t pdg1, Int_t pdg2, Bool_t exclude1=kFALSE, Bool_t exclude2=kFALSE) |
void | SetGreatGrandMotherPDGs (Int_t pdg1, Int_t pdg2, Bool_t exclude1=kFALSE, Bool_t exclude2=kFALSE) |
void | SetLegSources (ESource s1, ESource s2) |
void | SetMotherSources (ESource s1, ESource s2) |
void | SetGrandMotherSources (ESource s1, ESource s2) |
void | SetCheckBothChargesLegs (Bool_t flag1, Bool_t flag2) |
void | SetCheckBothChargesMothers (Bool_t flag1, Bool_t flag2) |
void | SetCheckBothChargesGrandMothers (Bool_t flag1, Bool_t flag2) |
void | SetMothersRelation (EBranchRelation relation) |
void | SetGEANTProcess (TMCProcess processID, Bool_t check=kTRUE) |
void | SetWeight (TSpline3 *wghts, UInt_t var) |
void | SetWeight (Double_t wght) |
void | SetFillPureMCStep (Bool_t fill=kTRUE) |
void | SetIsSingleParticle (Bool_t fill=kTRUE) |
Int_t | GetLegPDG (Int_t branch) const |
Int_t | GetMotherPDG (Int_t branch) const |
Int_t | GetGrandMotherPDG (Int_t branch) const |
Int_t | GetGreatGrandMotherPDG (Int_t branch) const |
Bool_t | GetLegPDGexclude (Int_t branch) const |
Bool_t | GetMotherPDGexclude (Int_t branch) const |
Bool_t | GetGrandMotherPDGexclude (Int_t branch) const |
Bool_t | GetGreatGrandMotherPDGexclude (Int_t branch) const |
ESource | GetLegSource (Int_t branch) const |
ESource | GetMotherSource (Int_t branch) const |
ESource | GetGrandMotherSource (Int_t branch) const |
Bool_t | GetCheckBothChargesLegs (Int_t branch) const |
Bool_t | GetCheckBothChargesMothers (Int_t branch) const |
Bool_t | GetCheckBothChargesGrandMothers (Int_t branch) const |
Bool_t | GetCheckBothChargesGreatGrandMothers (Int_t branch) const |
EBranchRelation | GetMothersRelation () const |
TMCProcess | GetGEANTProcess () const |
Bool_t | GetCheckGEANTProcess () const |
Double_t | GetWeight () const |
Double_t | GetWeight (Double_t *const values) const |
Bool_t | GetFillPureMCStep () const |
Bool_t | IsSingleParticle () const |
void | SetIsDalitz (EDalitz dal, Int_t pdg=0) |
EDalitz | GetDalitz () const |
Int_t | GetDalitzPdg () const |
void | Print (Option_t *option="") const |
Static Public Attributes | |
static const char * | fgkSignals [static_cast< int >(EDefinedSignal::kNSignals)][2] |
Private Member Functions | |
PairAnalysisSignalMC (const PairAnalysisSignalMC &c) | |
PairAnalysisSignalMC & | operator= (const PairAnalysisSignalMC &c) |
ClassDef (PairAnalysisSignalMC, 5) | |
Definition at line 15 of file PairAnalysisSignalMC.h.
|
strong |
Enumerator | |
---|---|
kUndefined | |
kSame | |
kDifferent |
Definition at line 18 of file PairAnalysisSignalMC.h.
|
strong |
Enumerator | |
---|---|
kWhoCares | |
kIsDalitz | |
kIsNotDalitz |
Definition at line 34 of file PairAnalysisSignalMC.h.
|
strong |
Definition at line 40 of file PairAnalysisSignalMC.h.
|
strong |
Enumerator | |
---|---|
kDontCare | |
kPrimary | |
kSecondary | |
kFinalState | |
kDirect | |
kSecondaryFromWeakDecay | |
kSecondaryFromMaterial |
Definition at line 24 of file PairAnalysisSignalMC.h.
PairAnalysisSignalMC::PairAnalysisSignalMC | ( | ) |
Definition at line 101 of file PairAnalysisSignalMC.cxx.
PairAnalysisSignalMC::PairAnalysisSignalMC | ( | const Char_t * | name, |
const Char_t * | title ) |
Definition at line 111 of file PairAnalysisSignalMC.cxx.
PairAnalysisSignalMC::PairAnalysisSignalMC | ( | EDefinedSignal | defaultSignal | ) |
Definition at line 120 of file PairAnalysisSignalMC.cxx.
References Error, fCheckBothChargesLeg1, fCheckBothChargesLeg2, fCheckBothChargesMother1, fCheckBothChargesMother2, fDalitz, fDalitzPdg, fgkSignals, fGrandMother1, fGrandMother2, fIsSingleParticle, fLeg1, fLeg2, fMother1, fMother1Source, fMother2, fMother2Source, fMothersRelation, kAlpha, kConversion, kDeltaElectron, kDeuteron, kEta, kEtaDalitz, kHe3, kInclElePM, kInclJpsi, kIsDalitz, kIsNotDalitz, kK0Short, kLambda, kNonRadJpsi, kOmega, kOmegaDalitz, kPhi, kPi0, kPi0Dalitz, kPi0Gamma, kPrimary, kPrimElectron, kPrimKaon, kPrimMuon, kPrimPion, kPrimProton, kPsi2S, kRadJpsi, kRho0, kSame, kSecondary, kTriton, and SetGEANTProcess().
|
virtual |
Definition at line 470 of file PairAnalysisSignalMC.cxx.
|
private |
|
private |
|
inline |
Definition at line 177 of file PairAnalysisSignalMC.h.
References fCheckBothChargesGrandMother1, and fCheckBothChargesGrandMother2.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 181 of file PairAnalysisSignalMC.h.
References fCheckBothChargesGreatGrandMother1, and fCheckBothChargesGreatGrandMother2.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 169 of file PairAnalysisSignalMC.h.
References fCheckBothChargesLeg1, and fCheckBothChargesLeg2.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 173 of file PairAnalysisSignalMC.h.
References fCheckBothChargesMother1, and fCheckBothChargesMother2.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 187 of file PairAnalysisSignalMC.h.
References fCheckGEANTProcess.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 201 of file PairAnalysisSignalMC.h.
References fDalitz.
Referenced by PairAnalysisMC::CheckDalitzDecision().
|
inline |
Definition at line 202 of file PairAnalysisSignalMC.h.
References fDalitzPdg.
Referenced by PairAnalysisMC::CheckIsDalitz().
|
inline |
Definition at line 193 of file PairAnalysisSignalMC.h.
References fFillPureMCStep.
Referenced by PairAnalysis::FillCutStepHistogramsMC(), and PairAnalysis::ProcessMC().
|
inline |
Definition at line 186 of file PairAnalysisSignalMC.h.
References fGEANTProcess.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 154 of file PairAnalysisSignalMC.h.
References fGrandMother1, and fGrandMother2.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 158 of file PairAnalysisSignalMC.h.
References fGrandMother1Exclude, and fGrandMother2Exclude.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 168 of file PairAnalysisSignalMC.h.
References fGrandMother1Source, and fGrandMother2Source.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 155 of file PairAnalysisSignalMC.h.
References fGreatGrandMother1, and fGreatGrandMother2.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 162 of file PairAnalysisSignalMC.h.
References fGreatGrandMother1Exclude, and fGreatGrandMother2Exclude.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 152 of file PairAnalysisSignalMC.h.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 156 of file PairAnalysisSignalMC.h.
References fLeg1Exclude, and fLeg2Exclude.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 166 of file PairAnalysisSignalMC.h.
References fLeg1Source, and fLeg2Source.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 153 of file PairAnalysisSignalMC.h.
References fMother1, and fMother2.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 157 of file PairAnalysisSignalMC.h.
References fMother1Exclude, and fMother2Exclude.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 167 of file PairAnalysisSignalMC.h.
References fMother1Source, and fMother2Source.
Referenced by PairAnalysisMC::IsMCTruth(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 185 of file PairAnalysisSignalMC.h.
References fMothersRelation.
Referenced by PairAnalysis::FillMCHistograms(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 188 of file PairAnalysisSignalMC.h.
References fWeight.
Referenced by PairAnalysis::FillMCHistograms(), and PairAnalysis::FillTrackArrays().
Double_t PairAnalysisSignalMC::GetWeight | ( | Double_t *const | values | ) | const |
|
inline |
Definition at line 194 of file PairAnalysisSignalMC.h.
References fIsSingleParticle.
Referenced by PairAnalysis::AddSignalMC(), PairAnalysis::FillHistograms(), PairAnalysis::FillMCHistograms(), and PairAnalysisMC::IsMCTruth().
|
private |
void PairAnalysisSignalMC::Print | ( | Option_t * | option = "" | ) | const |
Definition at line 432 of file PairAnalysisSignalMC.cxx.
References fCheckBothChargesGrandMother1, fCheckBothChargesGrandMother2, fCheckBothChargesGreatGrandMother1, fCheckBothChargesGreatGrandMother2, fCheckBothChargesLeg1, fCheckBothChargesLeg2, fCheckBothChargesMother1, fCheckBothChargesMother2, fGrandMother1, fGrandMother1Exclude, fGrandMother2, fGrandMother2Exclude, fGreatGrandMother1, fGreatGrandMother1Exclude, fGreatGrandMother2, fGreatGrandMother2Exclude, fIsSingleParticle, fLeg1, fLeg1Exclude, fLeg2, fLeg2Exclude, fMother1, fMother1Exclude, fMother2, and fMother2Exclude.
|
inline |
Definition at line 130 of file PairAnalysisSignalMC.h.
References fCheckBothChargesGrandMother1, and fCheckBothChargesGrandMother2.
|
inline |
Definition at line 120 of file PairAnalysisSignalMC.h.
References fCheckBothChargesLeg1, and fCheckBothChargesLeg2.
|
inline |
Definition at line 125 of file PairAnalysisSignalMC.h.
References fCheckBothChargesMother1, and fCheckBothChargesMother2.
|
inline |
Definition at line 149 of file PairAnalysisSignalMC.h.
References fFillPureMCStep.
|
inline |
Definition at line 136 of file PairAnalysisSignalMC.h.
References fCheckGEANTProcess, and fGEANTProcess.
Referenced by PairAnalysisSignalMC().
|
inline |
Definition at line 91 of file PairAnalysisSignalMC.h.
References fGrandMother1, fGrandMother1Exclude, fGrandMother2, and fGrandMother2Exclude.
Definition at line 115 of file PairAnalysisSignalMC.h.
References fGrandMother1Source, and fGrandMother2Source.
|
inline |
Definition at line 98 of file PairAnalysisSignalMC.h.
References fGreatGrandMother1, fGreatGrandMother1Exclude, fGreatGrandMother2, and fGreatGrandMother2Exclude.
|
inline |
Definition at line 196 of file PairAnalysisSignalMC.h.
References fDalitz, and fDalitzPdg.
|
inline |
Definition at line 150 of file PairAnalysisSignalMC.h.
References fIsSingleParticle.
|
inline |
Definition at line 77 of file PairAnalysisSignalMC.h.
References fLeg1, fLeg1Exclude, fLeg2, and fLeg2Exclude.
Definition at line 105 of file PairAnalysisSignalMC.h.
References fLeg1Source, and fLeg2Source.
|
inline |
Definition at line 84 of file PairAnalysisSignalMC.h.
References fMother1, fMother1Exclude, fMother2, and fMother2Exclude.
Definition at line 110 of file PairAnalysisSignalMC.h.
References fMother1Source, and fMother2Source.
|
inline |
Definition at line 135 of file PairAnalysisSignalMC.h.
References fMothersRelation.
|
inline |
Definition at line 148 of file PairAnalysisSignalMC.h.
References fWeight.
|
inline |
Definition at line 142 of file PairAnalysisSignalMC.h.
|
private |
Definition at line 244 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesGrandMothers(), Print(), and SetCheckBothChargesGrandMothers().
|
private |
Definition at line 245 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesGrandMothers(), Print(), and SetCheckBothChargesGrandMothers().
|
private |
Definition at line 246 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesGreatGrandMothers(), and Print().
|
private |
Definition at line 247 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesGreatGrandMothers(), and Print().
|
private |
Definition at line 240 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesLegs(), PairAnalysisSignalMC(), Print(), and SetCheckBothChargesLegs().
|
private |
Definition at line 241 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesLegs(), PairAnalysisSignalMC(), Print(), and SetCheckBothChargesLegs().
|
private |
Definition at line 242 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesMothers(), PairAnalysisSignalMC(), Print(), and SetCheckBothChargesMothers().
|
private |
Definition at line 243 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesMothers(), PairAnalysisSignalMC(), Print(), and SetCheckBothChargesMothers().
|
private |
Definition at line 248 of file PairAnalysisSignalMC.h.
Referenced by GetCheckGEANTProcess(), and SetGEANTProcess().
|
private |
Definition at line 257 of file PairAnalysisSignalMC.h.
Referenced by GetDalitz(), PairAnalysisSignalMC(), and SetIsDalitz().
|
private |
Definition at line 258 of file PairAnalysisSignalMC.h.
Referenced by GetDalitzPdg(), PairAnalysisSignalMC(), and SetIsDalitz().
|
private |
Definition at line 260 of file PairAnalysisSignalMC.h.
Referenced by GetFillPureMCStep(), and SetFillPureMCStep().
|
private |
Definition at line 251 of file PairAnalysisSignalMC.h.
Referenced by GetGEANTProcess(), and SetGEANTProcess().
|
static |
Definition at line 204 of file PairAnalysisSignalMC.h.
Referenced by PairAnalysisSignalExt::Draw(), and PairAnalysisSignalMC().
|
private |
Definition at line 214 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherPDG(), PairAnalysisSignalMC(), Print(), and SetGrandMotherPDGs().
|
private |
Definition at line 226 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherPDGexclude(), Print(), and SetGrandMotherPDGs().
|
private |
Definition at line 236 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherSource(), and SetGrandMotherSources().
|
private |
Definition at line 215 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherPDG(), PairAnalysisSignalMC(), Print(), and SetGrandMotherPDGs().
|
private |
Definition at line 227 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherPDGexclude(), Print(), and SetGrandMotherPDGs().
|
private |
Definition at line 237 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherSource(), and SetGrandMotherSources().
|
private |
Definition at line 216 of file PairAnalysisSignalMC.h.
Referenced by GetGreatGrandMotherPDG(), Print(), and SetGreatGrandMotherPDGs().
|
private |
Definition at line 228 of file PairAnalysisSignalMC.h.
Referenced by GetGreatGrandMotherPDGexclude(), Print(), and SetGreatGrandMotherPDGs().
|
private |
Definition at line 217 of file PairAnalysisSignalMC.h.
Referenced by GetGreatGrandMotherPDG(), Print(), and SetGreatGrandMotherPDGs().
|
private |
Definition at line 229 of file PairAnalysisSignalMC.h.
Referenced by GetGreatGrandMotherPDGexclude(), Print(), and SetGreatGrandMotherPDGs().
|
private |
Definition at line 261 of file PairAnalysisSignalMC.h.
Referenced by IsSingleParticle(), PairAnalysisSignalMC(), Print(), and SetIsSingleParticle().
|
private |
Definition at line 210 of file PairAnalysisSignalMC.h.
Referenced by GetLegPDG(), PairAnalysisSignalMC(), Print(), and SetLegPDGs().
|
private |
Definition at line 222 of file PairAnalysisSignalMC.h.
Referenced by GetLegPDGexclude(), Print(), and SetLegPDGs().
|
private |
Definition at line 232 of file PairAnalysisSignalMC.h.
Referenced by GetLegSource(), and SetLegSources().
|
private |
Definition at line 211 of file PairAnalysisSignalMC.h.
Referenced by GetLegPDG(), PairAnalysisSignalMC(), Print(), and SetLegPDGs().
|
private |
Definition at line 223 of file PairAnalysisSignalMC.h.
Referenced by GetLegPDGexclude(), Print(), and SetLegPDGs().
|
private |
Definition at line 233 of file PairAnalysisSignalMC.h.
Referenced by GetLegSource(), and SetLegSources().
|
private |
Definition at line 212 of file PairAnalysisSignalMC.h.
Referenced by GetMotherPDG(), PairAnalysisSignalMC(), Print(), and SetMotherPDGs().
|
private |
Definition at line 224 of file PairAnalysisSignalMC.h.
Referenced by GetMotherPDGexclude(), Print(), and SetMotherPDGs().
|
private |
Definition at line 234 of file PairAnalysisSignalMC.h.
Referenced by GetMotherSource(), PairAnalysisSignalMC(), and SetMotherSources().
|
private |
Definition at line 213 of file PairAnalysisSignalMC.h.
Referenced by GetMotherPDG(), PairAnalysisSignalMC(), Print(), and SetMotherPDGs().
|
private |
Definition at line 225 of file PairAnalysisSignalMC.h.
Referenced by GetMotherPDGexclude(), Print(), and SetMotherPDGs().
|
private |
Definition at line 235 of file PairAnalysisSignalMC.h.
Referenced by GetMotherSource(), PairAnalysisSignalMC(), and SetMotherSources().
|
private |
Definition at line 250 of file PairAnalysisSignalMC.h.
Referenced by GetMothersRelation(), PairAnalysisSignalMC(), and SetMothersRelation().
|
private |
Definition at line 254 of file PairAnalysisSignalMC.h.
Referenced by GetWeight(), and SetWeight().
|
private |
Definition at line 252 of file PairAnalysisSignalMC.h.
Referenced by GetWeight(), GetWeight(), and SetWeight().
|
private |
Definition at line 253 of file PairAnalysisSignalMC.h.
Referenced by GetWeight(), and SetWeight().