CbmRoot
|
#include <PairAnalysisSignalMC.h>
Public Types | |
enum | EBranchRelation { kUndefined = 0, kSame, kDifferent } |
enum | ESource { kDontCare = 0, kPrimary, kSecondary, kFinalState, kDirect, kSecondaryFromWeakDecay, kSecondaryFromMaterial } |
enum | EDalitz { kWhoCares = 0, kIsDalitz, kIsNotDalitz } |
enum | 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 [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.
Enumerator | |
---|---|
kUndefined | |
kSame | |
kDifferent |
Definition at line 18 of file PairAnalysisSignalMC.h.
Enumerator | |
---|---|
kWhoCares | |
kIsDalitz | |
kIsNotDalitz |
Definition at line 28 of file PairAnalysisSignalMC.h.
Definition at line 29 of file PairAnalysisSignalMC.h.
Enumerator | |
---|---|
kDontCare | |
kPrimary | |
kSecondary | |
kFinalState | |
kDirect | |
kSecondaryFromWeakDecay | |
kSecondaryFromMaterial |
Definition at line 19 of file PairAnalysisSignalMC.h.
PairAnalysisSignalMC::PairAnalysisSignalMC | ( | ) |
Definition at line 100 of file PairAnalysisSignalMC.cxx.
PairAnalysisSignalMC::PairAnalysisSignalMC | ( | const Char_t * | name, |
const Char_t * | title | ||
) |
Definition at line 110 of file PairAnalysisSignalMC.cxx.
PairAnalysisSignalMC::PairAnalysisSignalMC | ( | EDefinedSignal | defaultSignal | ) |
Definition at line 120 of file PairAnalysisSignalMC.cxx.
References 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 468 of file PairAnalysisSignalMC.cxx.
|
private |
|
private |
|
inline |
Definition at line 180 of file PairAnalysisSignalMC.h.
References fCheckBothChargesGrandMother1, and fCheckBothChargesGrandMother2.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 184 of file PairAnalysisSignalMC.h.
References fCheckBothChargesGreatGrandMother1, and fCheckBothChargesGreatGrandMother2.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 174 of file PairAnalysisSignalMC.h.
References fCheckBothChargesLeg1, and fCheckBothChargesLeg2.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 177 of file PairAnalysisSignalMC.h.
References fCheckBothChargesMother1, and fCheckBothChargesMother2.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 190 of file PairAnalysisSignalMC.h.
References fCheckGEANTProcess.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 204 of file PairAnalysisSignalMC.h.
References fDalitz.
Referenced by PairAnalysisMC::CheckDalitzDecision().
|
inline |
Definition at line 205 of file PairAnalysisSignalMC.h.
References fDalitzPdg.
Referenced by PairAnalysisMC::CheckIsDalitz().
|
inline |
Definition at line 197 of file PairAnalysisSignalMC.h.
References fFillPureMCStep.
Referenced by PairAnalysis::FillCutStepHistogramsMC(), and PairAnalysis::ProcessMC().
|
inline |
Definition at line 189 of file PairAnalysisSignalMC.h.
References fGEANTProcess.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 146 of file PairAnalysisSignalMC.h.
References fGrandMother1, and fGrandMother2.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 158 of file PairAnalysisSignalMC.h.
References fGrandMother1Exclude, and fGrandMother2Exclude.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 171 of file PairAnalysisSignalMC.h.
References fGrandMother1Source, and fGrandMother2Source.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 149 of file PairAnalysisSignalMC.h.
References fGreatGrandMother1, and fGreatGrandMother2.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 161 of file PairAnalysisSignalMC.h.
References fGreatGrandMother1Exclude, and fGreatGrandMother2Exclude.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 142 of file PairAnalysisSignalMC.h.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 152 of file PairAnalysisSignalMC.h.
References fLeg1Exclude, and fLeg2Exclude.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 165 of file PairAnalysisSignalMC.h.
References fLeg1Source, and fLeg2Source.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 143 of file PairAnalysisSignalMC.h.
References fMother1, and fMother2.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 155 of file PairAnalysisSignalMC.h.
References fMother1Exclude, and fMother2Exclude.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 168 of file PairAnalysisSignalMC.h.
References fMother1Source, and fMother2Source.
Referenced by PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 188 of file PairAnalysisSignalMC.h.
References fMothersRelation.
Referenced by PairAnalysis::FillMCHistograms(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 191 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 198 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 407 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 121 of file PairAnalysisSignalMC.h.
References fCheckBothChargesGrandMother1, and fCheckBothChargesGrandMother2.
|
inline |
Definition at line 113 of file PairAnalysisSignalMC.h.
References fCheckBothChargesLeg1, and fCheckBothChargesLeg2.
|
inline |
Definition at line 117 of file PairAnalysisSignalMC.h.
References fCheckBothChargesMother1, and fCheckBothChargesMother2.
|
inline |
Definition at line 139 of file PairAnalysisSignalMC.h.
References fFillPureMCStep.
|
inline |
Definition at line 128 of file PairAnalysisSignalMC.h.
References fCheckGEANTProcess, and fGEANTProcess.
Referenced by PairAnalysisSignalMC().
|
inline |
Definition at line 83 of file PairAnalysisSignalMC.h.
References fGrandMother1, fGrandMother1Exclude, fGrandMother2, and fGrandMother2Exclude.
Definition at line 109 of file PairAnalysisSignalMC.h.
References fGrandMother1Source, and fGrandMother2Source.
|
inline |
Definition at line 92 of file PairAnalysisSignalMC.h.
References fGreatGrandMother1, fGreatGrandMother1Exclude, fGreatGrandMother2, and fGreatGrandMother2Exclude.
|
inline |
Definition at line 200 of file PairAnalysisSignalMC.h.
References fDalitz, and fDalitzPdg.
|
inline |
Definition at line 140 of file PairAnalysisSignalMC.h.
References fIsSingleParticle.
|
inline |
Definition at line 65 of file PairAnalysisSignalMC.h.
References fLeg1, fLeg1Exclude, fLeg2, and fLeg2Exclude.
Definition at line 101 of file PairAnalysisSignalMC.h.
References fLeg1Source, and fLeg2Source.
|
inline |
Definition at line 74 of file PairAnalysisSignalMC.h.
References fMother1, fMother1Exclude, fMother2, and fMother2Exclude.
Definition at line 105 of file PairAnalysisSignalMC.h.
References fMother1Source, and fMother2Source.
|
inline |
Definition at line 125 of file PairAnalysisSignalMC.h.
References fMothersRelation.
|
inline |
Definition at line 138 of file PairAnalysisSignalMC.h.
References fWeight.
|
inline |
Definition at line 133 of file PairAnalysisSignalMC.h.
|
private |
Definition at line 247 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesGrandMothers(), Print(), and SetCheckBothChargesGrandMothers().
|
private |
Definition at line 248 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesGrandMothers(), Print(), and SetCheckBothChargesGrandMothers().
|
private |
Definition at line 249 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesGreatGrandMothers(), and Print().
|
private |
Definition at line 251 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesGreatGrandMothers(), and Print().
|
private |
Definition at line 243 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesLegs(), PairAnalysisSignalMC(), Print(), and SetCheckBothChargesLegs().
|
private |
Definition at line 244 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesLegs(), PairAnalysisSignalMC(), Print(), and SetCheckBothChargesLegs().
|
private |
Definition at line 245 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesMothers(), PairAnalysisSignalMC(), Print(), and SetCheckBothChargesMothers().
|
private |
Definition at line 246 of file PairAnalysisSignalMC.h.
Referenced by GetCheckBothChargesMothers(), PairAnalysisSignalMC(), Print(), and SetCheckBothChargesMothers().
|
private |
Definition at line 253 of file PairAnalysisSignalMC.h.
Referenced by GetCheckGEANTProcess(), and SetGEANTProcess().
Definition at line 264 of file PairAnalysisSignalMC.h.
Referenced by GetDalitz(), PairAnalysisSignalMC(), and SetIsDalitz().
|
private |
Definition at line 265 of file PairAnalysisSignalMC.h.
Referenced by GetDalitzPdg(), PairAnalysisSignalMC(), and SetIsDalitz().
|
private |
Definition at line 267 of file PairAnalysisSignalMC.h.
Referenced by GetFillPureMCStep(), and SetFillPureMCStep().
|
private |
Definition at line 257 of file PairAnalysisSignalMC.h.
Referenced by GetGEANTProcess(), and SetGEANTProcess().
|
static |
Definition at line 207 of file PairAnalysisSignalMC.h.
Referenced by PairAnalysisSignalExt::Draw(), and PairAnalysisSignalMC().
|
private |
Definition at line 217 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherPDG(), PairAnalysisSignalMC(), Print(), and SetGrandMotherPDGs().
|
private |
Definition at line 229 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherPDGexclude(), Print(), and SetGrandMotherPDGs().
Definition at line 239 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherSource(), and SetGrandMotherSources().
|
private |
Definition at line 218 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherPDG(), PairAnalysisSignalMC(), Print(), and SetGrandMotherPDGs().
|
private |
Definition at line 230 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherPDGexclude(), Print(), and SetGrandMotherPDGs().
Definition at line 240 of file PairAnalysisSignalMC.h.
Referenced by GetGrandMotherSource(), and SetGrandMotherSources().
|
private |
Definition at line 219 of file PairAnalysisSignalMC.h.
Referenced by GetGreatGrandMotherPDG(), Print(), and SetGreatGrandMotherPDGs().
|
private |
Definition at line 231 of file PairAnalysisSignalMC.h.
Referenced by GetGreatGrandMotherPDGexclude(), Print(), and SetGreatGrandMotherPDGs().
|
private |
Definition at line 220 of file PairAnalysisSignalMC.h.
Referenced by GetGreatGrandMotherPDG(), Print(), and SetGreatGrandMotherPDGs().
|
private |
Definition at line 232 of file PairAnalysisSignalMC.h.
Referenced by GetGreatGrandMotherPDGexclude(), Print(), and SetGreatGrandMotherPDGs().
|
private |
Definition at line 268 of file PairAnalysisSignalMC.h.
Referenced by IsSingleParticle(), PairAnalysisSignalMC(), Print(), and SetIsSingleParticle().
|
private |
Definition at line 213 of file PairAnalysisSignalMC.h.
Referenced by GetLegPDG(), PairAnalysisSignalMC(), Print(), and SetLegPDGs().
|
private |
Definition at line 225 of file PairAnalysisSignalMC.h.
Referenced by GetLegPDGexclude(), Print(), and SetLegPDGs().
Definition at line 235 of file PairAnalysisSignalMC.h.
Referenced by GetLegSource(), and SetLegSources().
|
private |
Definition at line 214 of file PairAnalysisSignalMC.h.
Referenced by GetLegPDG(), PairAnalysisSignalMC(), Print(), and SetLegPDGs().
|
private |
Definition at line 226 of file PairAnalysisSignalMC.h.
Referenced by GetLegPDGexclude(), Print(), and SetLegPDGs().
Definition at line 236 of file PairAnalysisSignalMC.h.
Referenced by GetLegSource(), and SetLegSources().
|
private |
Definition at line 215 of file PairAnalysisSignalMC.h.
Referenced by GetMotherPDG(), PairAnalysisSignalMC(), Print(), and SetMotherPDGs().
|
private |
Definition at line 227 of file PairAnalysisSignalMC.h.
Referenced by GetMotherPDGexclude(), Print(), and SetMotherPDGs().
Definition at line 237 of file PairAnalysisSignalMC.h.
Referenced by GetMotherSource(), PairAnalysisSignalMC(), and SetMotherSources().
|
private |
Definition at line 216 of file PairAnalysisSignalMC.h.
Referenced by GetMotherPDG(), PairAnalysisSignalMC(), Print(), and SetMotherPDGs().
|
private |
Definition at line 228 of file PairAnalysisSignalMC.h.
Referenced by GetMotherPDGexclude(), Print(), and SetMotherPDGs().
Definition at line 238 of file PairAnalysisSignalMC.h.
Referenced by GetMotherSource(), PairAnalysisSignalMC(), and SetMotherSources().
|
private |
Definition at line 255 of file PairAnalysisSignalMC.h.
Referenced by GetMothersRelation(), PairAnalysisSignalMC(), and SetMothersRelation().
|
private |
Definition at line 261 of file PairAnalysisSignalMC.h.
Referenced by GetWeight(), and SetWeight().
|
private |
Definition at line 259 of file PairAnalysisSignalMC.h.
Referenced by GetWeight(), and SetWeight().
|
private |
Definition at line 260 of file PairAnalysisSignalMC.h.
Referenced by GetWeight(), and SetWeight().