Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8310504
CWeight.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
722 B
Subscribers
None
CWeight.h
View Options
/**
*!\brief weighted Monte Carlo
*
* Class CWeight is a base class that deals with a weighted
* Monte Carlo scheme. It is used to enhance the probabilty of IMF emission.
* To compensate for this, each event is given a weight.
* This weight should be used when histogramming events.
*
*/
class
CWeight
{
protected
:
float
fact
;
//!< weighting factor
int
iWeight
;
//!< ==0, no weighting
float
runningWeight
;
//!< running weight of event
void
findFactor
(
float
Glight
,
float
Gimf
,
float
Gfission
,
float
Ggamma
);
public
:
int
chooseChannel
(
float
Glight
,
float
Gimf
,
float
Gfission
,
float
Ggamma
,
float
xran
);
void
setWeightIMF
();
float
getWeightFactor
();
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Dec 21, 6:41 PM (5 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4001166
Default Alt Text
CWeight.h (722 B)
Attached To
rSARTRESVN sartresvn
Event Timeline
Log In to Comment