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:269
popcon2dropbox.copy
def copy(args, dbName)
Definition:
popcon2dropbox.py:121
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
BPhysicsValidation_cfi.daughters
daughters
Definition:
BPhysicsValidation_cfi.py:10
DecayChannel::SetBranching
void SetBranching(double value)
Definition:
DecayChannel.h:36
DecayChannel::GetDaughters
int * GetDaughters()
Definition:
DecayChannel.h:42
DecayChannel::~DecayChannel
~DecayChannel()
Definition:
DecayChannel.h:33
DecayChannel::fMotherPDG
int fMotherPDG
Definition:
DecayChannel.h:24
value
Definition:
value.py:1
DecayChannel::GetDaughterPDG
int GetDaughterPDG(int i)
Definition:
DecayChannel.cc:64
DecayChannel::SetDaughters
void SetDaughters(int *values, int n)
Definition:
DecayChannel.cc:48
DecayChannel::fNDaughters
int fNDaughters
Definition:
DecayChannel.h:26
DecayChannel::GetMotherPDG
int GetMotherPDG()
Definition:
DecayChannel.h:39
relativeConstraints.value
value
Definition:
relativeConstraints.py:52
DecayChannel
Definition:
DecayChannel.h:22
kMaxDaughters
const int kMaxDaughters
Definition:
DecayChannel.h:19
DecayChannel::AddDaughter
void AddDaughter(int pdg)
Definition:
DecayChannel.cc:57
gen::n
int n
Definition:
Cascade2Hadronizer.cc:79
MuonErrorMatrixValues_cff.values
values
Definition:
MuonErrorMatrixValues_cff.py:6
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