Main Page
Namespaces
Classes
Package Documentation
GeneratorInterface
Hydjet2Interface
interface
DecayChannel.h
Go to the documentation of this file.
1
/*
2
Copyright : The FASTMC and SPHMC Collaboration
3
Author : Ionut Cristian Arsene
4
Affiliation : Oslo University, Norway & Institute for Space Sciences, Bucharest, Romania
5
e-mail : i.c.arsene@fys.uio.no
6
Date : 2007/05/30
7
8
This class is using the particle and decays lists provided by the
9
THERMINATOR (Computer Physics Communications 174 669 (2006)) and
10
SHARE (Computer Physics Communications 167 229 (2005)) collaborations.
11
*/
12
13
#ifndef DECAY_CHANNEL
14
#define DECAY_CHANNEL
15
16
#include "Rtypes.h"
17
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
18
19
const
int
kMaxDaughters
= 3;
20
const
int
kNonsensePDG
= 1000000000;
21
22
class
DecayChannel
{
23
private
:
24
int
fMotherPDG
;
25
double
fBranchingRatio
;
26
int
fNDaughters
;
27
int
fDaughtersPDG
[
kMaxDaughters
];
28
29
public
:
30
DecayChannel
();
// default constructor
31
DecayChannel
(
const
DecayChannel
&
copy
);
// copy constructor
32
DecayChannel
(
int
mother,
double
branching,
int
nDaughters,
int
*
daughters
);
// explicit constructor
33
~DecayChannel
(){};
// destructor
34
35
void
SetMotherPDG
(
int
value
) { fMotherPDG =
value
; }
36
void
SetBranching
(
double
value
) { fBranchingRatio =
value
; }
37
void
SetDaughters
(
int
*
values
,
int
n
);
38
void
AddDaughter
(
int
pdg
);
39
int
GetMotherPDG
() {
return
fMotherPDG
; }
40
double
GetBranching
() {
return
fBranchingRatio
; }
41
int
GetNDaughters
() {
return
fNDaughters
; }
42
int
*
GetDaughters
() {
return
fDaughtersPDG
; }
43
int
GetDaughterPDG
(
int
i
);
// i --> must be the zero-based index of daughter
44
};
45
46
#endif
MessageLogger.h
mps_fire.i
i
Definition:
mps_fire.py:341
DecayChannel::fDaughtersPDG
int fDaughtersPDG[kMaxDaughters]
Definition:
DecayChannel.h:27
DecayChannel::GetNDaughters
int GetNDaughters()
Definition:
DecayChannel.h:41
DecayChannel::SetMotherPDG
void SetMotherPDG(int value)
Definition:
DecayChannel.h:35
DecayChannel::GetBranching
double GetBranching()
Definition:
DecayChannel.h:40
DecayChannel::DecayChannel
DecayChannel()
Definition:
DecayChannel.cc:20
pdg
Definition:
pdg_functions.h:28
BPhysicsValidation_cfi.daughters
daughters
Definition:
BPhysicsValidation_cfi.py:11
DecayChannel::SetBranching
void SetBranching(double value)
Definition:
DecayChannel.h:36
DecayChannel::GetDaughters
int * GetDaughters()
Definition:
DecayChannel.h:42
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
DecayChannel::~DecayChannel
~DecayChannel()
Definition:
DecayChannel.h:33
DecayChannel::fMotherPDG
int fMotherPDG
Definition:
DecayChannel.h:24
contentValuesCheck.values
values
Definition:
contentValuesCheck.py:38
value
Definition:
value.py:1
DecayChannel::GetDaughterPDG
int GetDaughterPDG(int i)
Definition:
DecayChannel.cc:69
filterCSVwithJSON.copy
copy
Definition:
filterCSVwithJSON.py:36
DecayChannel::SetDaughters
void SetDaughters(int *values, int n)
Definition:
DecayChannel.cc:50
DecayChannel::fNDaughters
int fNDaughters
Definition:
DecayChannel.h:26
DecayChannel::GetMotherPDG
int GetMotherPDG()
Definition:
DecayChannel.h:39
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
DecayChannel
Definition:
DecayChannel.h:22
kMaxDaughters
const int kMaxDaughters
Definition:
DecayChannel.h:19
DecayChannel::AddDaughter
void AddDaughter(int pdg)
Definition:
DecayChannel.cc:60
DecayChannel::fBranchingRatio
double fBranchingRatio
Definition:
DecayChannel.h:25
kNonsensePDG
const int kNonsensePDG
Definition:
DecayChannel.h:20
Generated for CMSSW Reference Manual by
1.8.11