GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
ExampleFragmentSelector.h
Go to the documentation of this file.
1//////////////////////////////////////////////////////////
2// This class has been automatically generated on
3// Tue Oct 25 13:18:27 2016 by ROOT version 5.34/24
4// from TTree FragmentTree/FragmentTree
5// found on file: fragment07844_000.root
6//////////////////////////////////////////////////////////
7
8#ifndef ExampleFragmentSelector_h
9#define ExampleFragmentSelector_h
10
11#include "TChain.h"
12#include "TFile.h"
13
14// Header file for the classes stored in the TTree if any.
15#include "TFragment.h"
16#include "TGRSISelector.h"
17
18// Fixed size dimensions of array or collections stored in the TTree if any.
19
21
22public:
24
25 explicit ExampleFragmentSelector(TTree* /*tree*/ = nullptr) : TGRSISelector() { SetOutputPrefix("ExampleFragment"); }
26 virtual ~ExampleFragmentSelector() = default;
27 virtual Int_t Version() const { return 2; }
28 void CreateHistograms();
29 void FillHistograms();
30 void InitializeBranches(TTree* tree);
31
33};
34
35#endif
36
37#ifdef ExampleFragmentSelector_cxx
39{
40 if(!tree) return;
41 tree->SetBranchAddress("TFragment", &fFragment);
42}
43
44#endif // #ifdef ExampleFragmentSelector_cxx
virtual ~ExampleFragmentSelector()=default
void InitializeBranches(TTree *tree)
virtual Int_t Version() const
ExampleFragmentSelector(TTree *=nullptr)
ClassDef(ExampleFragmentSelector, 2)
void SetOutputPrefix(const char *prefix)