BmnRoot
Loading...
Searching...
No Matches
BmnScWallReconstructor.h
Go to the documentation of this file.
1
11#ifndef BMNSCWALLRECONSTRUCTOR_H
12#define BMNSCWALLRECONSTRUCTOR_H
13
14#include "BmnTask.h"
15#include "BmnScWallDigi.h"
16#include "BmnScWallDigit.h"
17#include "BmnScWallCell.h"
18#include "BmnScWallEvent.h"
19#include "BmnScWallGeo.h"
20
21#include "FairLogger.h"
22#include "FairRootManager.h"
23
24#include <TStopwatch.h>
25#include <TClonesArray.h>
26
27#include <iostream>
28#include <fstream>
29#include <boost/program_options.hpp>
30
32 public:
33 BmnScWallReconstructor(bool isExp, bool isGlobalCoordinates);
35
36 virtual InitStatus Init();
37 void ParseGeometry();
38 void SetRecoCutsFile(TString reco_cuts_file);
39 void ParseCuts();
40 virtual void Exec(Option_t* opt);
41 virtual void Finish();
42
43 virtual void OnlineWrite(const std::unique_ptr<TTree> &resultTree);
44
45 private:
46 FairRootManager* fpFairRootMgr = nullptr;
47 TClonesArray* fArrayOfDigits; // input
48 std::vector<TObject*> GetSelectedDigiVector(TString formulaString); // selected input
49 std::vector<TObject*> fSelectedDigiVector; // selected input
50 BmnScWallEvent* fBmnScWallEvent = nullptr; // output
51
52 TString fRecoCutsFile; // config file with cuts
53 TString fSelectionString = "(1)"; // selection cuts
54 bool fIsExp;
55 bool fIsGlobal;
56
57 float fworkTime;
58 ClassDef(BmnScWallReconstructor,3);
59};
60
61#endif /* BMNSCWALLRECONSTRUCTOR_H */
Class for Bmn ScWall data container in event.
Class for BmnScWallEvent reconstruction (creation) from BmnScWallDigi {Data} or BmnScWallDigit {Sim}.
void SetRecoCutsFile(TString reco_cuts_file)
virtual void Exec(Option_t *opt)
virtual void OnlineWrite(const std::unique_ptr< TTree > &resultTree)
Write task resul to tree.
BmnTask.
Definition BmnTask.h:13