15 #ifndef FAIRMCSTAGE_H_
16 #define FAIRMCSTAGE_H_
28 FairMCStage(Int_t
id,
const std::string& fileName,
const std::string& branchName, Double_t weight = 1.0);
32 , fBranchName(mcStage.fBranchName)
33 , fFileName(mcStage.fFileName)
34 , fWeight(mcStage.fWeight)
35 , fLoaded(mcStage.fLoaded)
36 , fFill(mcStage.fFill)
42 if (
this == &result) {
47 fBranchName = result.fBranchName;
48 fFileName = result.fFileName;
49 fWeight = result.fWeight;
50 fLoaded = result.fLoaded;
58 void SetBranchName(
const std::string& branchName) { fBranchName = branchName; }
59 void SetFileName(
const std::string& fileName) { fFileName = fileName; }
60 void SetWeight(Double_t weight) { fWeight = weight; }
62 void SetFill(Bool_t fill) { fFill = fill; }
68 Bool_t
GetFill(
void)
const {
return fFill; }
76 virtual void PrintInfo(std::ostream& out) { out << *
this; }
87 std::string fBranchName;
88 std::string fFileName;
void SetWeight(Double_t weight)
std::string GetFileName(void) const
friend std::ostream & operator<<(std::ostream &out, const FairMCStage &stage)
void SetFill(Bool_t fill)
FairMCObject & operator=(const FairMCObject &from)
void SetLoaded(Bool_t loaded)
Bool_t GetFill(void) const
Double_t GetWeight(void) const
virtual void PrintInfo(std::ostream &out)
virtual void ClearEntries()
Bool_t GetLoaded(void) const
void SetBranchName(const std::string &branchName)
FairMCStage & operator=(const FairMCStage &result)
void SetFileName(const std::string &fileName)
virtual void ClearEntries()
Int_t GetStageId(void) const
std::string GetBranchName(void) const
FairMCStage(const FairMCStage &mcStage)