Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
FemtoWeightGeneratorResidual.h
1/*
2 * FemtoWeightGeneratorResidual.h
3 *
4 * Created on: 30 sie 2021
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALFEMTO_ANALYSIS_FEMTO_WEIGHTS_HALFEMTOWEIGHTGENERATORRESIDUAL_H_
10#define HALFEMTO_ANALYSIS_FEMTO_WEIGHTS_HALFEMTOWEIGHTGENERATORRESIDUAL_H_
11
12#include "FemtoWeightGenerator.h"
13
14
18namespace Hal {
19 class FemtoPair;
20 class McTrack;
23 FemtoWeightGenerator* fMainWeight;
24 FemtoPair* fResPair;
25 enum class eWeightType { kLednicky, kOther };
26 eWeightType fWeightType;
27 Bool_t fComplexFormat;
28 void SetPairData(McTrack* tr1, McTrack* tr2);
29
30 public:
33 virtual Bool_t Init(Int_t task_id, FemtoPair* pair);
34 virtual Double_t GenerateWeight(FemtoPair* pair);
35 virtual Package* Report() const;
39 };
40} // namespace Hal
41
42
43#endif /* HALFEMTO_ANALYSIS_FEMTO_WEIGHTS_HALFEMTOWEIGHTGENERATORRESIDUAL_H_ */
virtual Double_t GenerateWeight(FemtoPair *pair)
virtual Bool_t Init(Int_t task_id, FemtoPair *pair)