Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
garana
garana
Processors
Mill.h
Go to the documentation of this file.
1
/*
2
* Mill.h
3
*
4
* Created on: Feb 14, 2021
5
* Author: chilgenb
6
*/
7
8
#ifndef GARANA_MILL_H_
9
#define GARANA_MILL_H_
10
11
#include "
garana/Base/TreeReader.h
"
12
#include <TLorentzVector.h>
13
#include <string>
14
15
namespace
garana
{
16
17
class
Mill
{
// : public TreeReader {
18
19
public
:
20
21
virtual
~Mill
(){};
22
23
//SetBranchAddrs passed from TreeReader
24
25
virtual
void
MillTrees
() = 0;
//Fill out tree for given entry
26
virtual
bool
VerifyBranches
() = 0;
//check our expectations vs. input tree for genTree branches
27
28
inline
bool
IsVerified
()
const
{
return
fIsVerified
; }
29
std::string
CharStarToString
(
const
char
* cstr);
30
31
protected
:
32
33
bool
fIsVerified
=
false
;
34
35
TTree*
fTreeOut
=
nullptr
;
36
TFile*
fOutfile
=
nullptr
;
37
38
};
//class Mill
39
40
}
/* namespace garana */
41
42
#endif
/* GARANA_MILL_H_ */
garana::Mill::fOutfile
TFile * fOutfile
Definition:
Mill.h:36
garana::Mill::~Mill
virtual ~Mill()
Definition:
Mill.h:21
garana
Definition:
FlatDetTree.h:15
string
std::string string
Definition:
nybbler.cc:12
garana::Mill::MillTrees
virtual void MillTrees()=0
garana::Mill::CharStarToString
std::string CharStarToString(const char *cstr)
Definition:
Mill.cxx:12
garana::Mill::fIsVerified
bool fIsVerified
Definition:
Mill.h:33
garana::Mill::VerifyBranches
virtual bool VerifyBranches()=0
garana::Mill::IsVerified
bool IsVerified() const
Definition:
Mill.h:28
TreeReader.h
garana::Mill::fTreeOut
TTree * fTreeOut
Definition:
Mill.h:35
garana::Mill
Definition:
Mill.h:17
Generated by
1.8.11