BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnScWallReconstructor.h
Go to the documentation of this file.
1
/** \file BmnScWallReconstructor.h
2
** \author Nikolay Karpushkin <karpushkin@inr.ru>
3
** \date 03.04.2021
4
**/
5
6
/** \class BmnScWallReconstructor
7
** \brief Class for BmnScWallEvent reconstruction (creation) from BmnScWallDigi {Data} or BmnScWallDigit {Sim}
8
** \version 1.0
9
**/
10
11
#ifndef BMNSCWALLRECONSTRUCTOR_H
12
#define BMNSCWALLRECONSTRUCTOR_H
13
14
#include "BmnScWallCell.h"
15
#include "BmnScWallDigi.h"
16
#include "BmnScWallDigit.h"
17
#include "BmnScWallEvent.h"
18
#include "BmnScWallGeo.h"
19
#include "BmnTask.h"
20
#include "FairLogger.h"
21
#include "FairRootManager.h"
22
23
#include <
TClonesArray.h
>
24
#include <
TStopwatch.h
>
25
#include <boost/program_options.hpp>
26
#include <fstream>
27
#include <iostream>
28
29
class
BmnScWallReconstructor
:
public
BmnTask
30
{
31
public
:
32
BmnScWallReconstructor
(
bool
isExp,
bool
isGlobalCoordinates);
33
~BmnScWallReconstructor
();
34
35
virtual
InitStatus
Init
();
36
void
ParseGeometry
();
37
void
SetRecoCutsFile
(
TString
reco_cuts_file);
38
void
ParseCuts
();
39
virtual
void
Exec
(
Option_t
* opt);
40
virtual
void
Finish
();
41
42
virtual
void
OnlineWrite
(
const
std::unique_ptr<TTree>& resultTree);
43
44
private
:
45
FairRootManager*
fpFairRootMgr
=
nullptr
;
46
TClonesArray
*
fArrayOfDigits
;
// input
47
std::vector<TObject*>
GetSelectedDigiVector
(
TString
formulaString);
// selected input
48
std::vector<TObject*>
fSelectedDigiVector
;
// selected input
49
BmnScWallEvent
*
fBmnScWallEvent
=
nullptr
;
// output
50
51
TString
fRecoCutsFile
;
// config file with cuts
52
TString
fSelectionString
=
"(1)"
;
// selection cuts
53
bool
fIsExp
;
54
bool
fIsGlobal
;
55
56
float
fworkTime
;
57
ClassDef
(
BmnScWallReconstructor
, 3);
58
};
59
60
#endif
/* BMNSCWALLRECONSTRUCTOR_H */
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
TClonesArray.h
TStopwatch.h
BmnScWallEvent
Class for Bmn ScWall data container in event.
Definition
BmnScWallEvent.h:22
BmnScWallReconstructor
Class for BmnScWallEvent reconstruction (creation) from BmnScWallDigi {Data} or BmnScWallDigit {Sim}...
Definition
BmnScWallReconstructor.h:30
BmnScWallReconstructor::fRecoCutsFile
TString fRecoCutsFile
Definition
BmnScWallReconstructor.h:51
BmnScWallReconstructor::Finish
virtual void Finish()
BmnScWallReconstructor::Exec
virtual void Exec(Option_t *opt)
BmnScWallReconstructor::fpFairRootMgr
FairRootManager * fpFairRootMgr
Definition
BmnScWallReconstructor.h:45
BmnScWallReconstructor::~BmnScWallReconstructor
~BmnScWallReconstructor()
BmnScWallReconstructor::fIsGlobal
bool fIsGlobal
Definition
BmnScWallReconstructor.h:54
BmnScWallReconstructor::BmnScWallReconstructor
BmnScWallReconstructor(bool isExp, bool isGlobalCoordinates)
BmnScWallReconstructor::fSelectionString
TString fSelectionString
Definition
BmnScWallReconstructor.h:52
BmnScWallReconstructor::Init
virtual InitStatus Init()
BmnScWallReconstructor::OnlineWrite
virtual void OnlineWrite(const std::unique_ptr< TTree > &resultTree)
Write task resul to tree.
BmnScWallReconstructor::SetRecoCutsFile
void SetRecoCutsFile(TString reco_cuts_file)
BmnScWallReconstructor::fSelectedDigiVector
std::vector< TObject * > fSelectedDigiVector
Definition
BmnScWallReconstructor.h:48
BmnScWallReconstructor::ParseGeometry
void ParseGeometry()
BmnScWallReconstructor::ParseCuts
void ParseCuts()
BmnScWallReconstructor::fworkTime
float fworkTime
Definition
BmnScWallReconstructor.h:56
BmnScWallReconstructor::fBmnScWallEvent
BmnScWallEvent * fBmnScWallEvent
Definition
BmnScWallReconstructor.h:49
BmnScWallReconstructor::fArrayOfDigits
TClonesArray * fArrayOfDigits
Definition
BmnScWallReconstructor.h:46
BmnScWallReconstructor::GetSelectedDigiVector
std::vector< TObject * > GetSelectedDigiVector(TString formulaString)
BmnScWallReconstructor::fIsExp
bool fIsExp
Definition
BmnScWallReconstructor.h:53
BmnTask
BmnTask.
Definition
BmnTask.h:13
TClonesArray
TString
reconstruction
scwall
BmnScWallReconstructor.h
Generated on
for BmnRoot by
1.17.0