CbmRoot
Loading...
Searching...
No Matches
LmvmEventMix.h
Go to the documentation of this file.
1/* Copyright (C) 2023-2025 UGiessen, Giessen
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Cornelius Feier-Riesen [committer] */
4
5#ifndef LMVM_EventMix_H
6#define LMVM_EventMix_H
7
8#include "LmvmCand.h"
9#include "LmvmHist.h"
10#include "TObject.h"
11
12#include <string>
13#include <vector>
14
15class LmvmEventMix : public TObject {
16
17 public:
19 virtual ~LmvmEventMix() { ; }
20
21 void DoEventMix(const std::string& dataDir, const std::string& outputDir, const std::string& outFile,
22 const std::string& taskIdStr, int nofFilesToMix);
23
24 private:
25 std::string fDataDir = "";
26 std::string fOutputDir = "";
27 std::string fFileName = "";
29 int fNofEvents = 0;
30
31 std::string fEnergy = "8gev";
32 std::string fSignal = "";
33
35
36 void FillMinvHistos(const std::vector<LmvmCand>& cands, const std::string& mode);
37
38 void CreateHistos();
39
40 void CheckMemory(const std::string& text);
41
42 void SaveHist();
43
46
48};
49
50#endif
std::string fFileName
std::string fDataDir
LmvmHist fHMean
std::string fEnergy
std::string fOutputDir
std::string fSignal
LmvmEventMix operator=(const LmvmEventMix &)
virtual ~LmvmEventMix()
void CheckMemory(const std::string &text)
LmvmEventMix(const LmvmEventMix &)
ClassDef(LmvmEventMix, 1)
void DoEventMix(const std::string &dataDir, const std::string &outputDir, const std::string &outFile, const std::string &taskIdStr, int nofFilesToMix)
void FillMinvHistos(const std::vector< LmvmCand > &cands, const std::string &mode)