10#ifndef ProofEventProc_h
11#define ProofEventProc_h
48 void InitEvent() {
event = 0 ; fEventName = 0; fTracks = 0;
49 fHighPt = 0; fMuons = 0; fH = 0; fIsValid =
kFALSE; }
100 virtual void SlaveBegin(
TTree *tree);
104 virtual void SetOption(
const char *
option) { fOption =
option; }
105 virtual void SetObject(
TObject *obj) { fObject = obj; }
107 virtual TList *GetOutputList()
const {
return fOutput; }
108 virtual void SlaveTerminate();
109 virtual void Terminate();
116#ifdef ProofEventProc_cxx
117void ProofEventProc::Init(
TTree *tree)
131 if (tree == 0)
return;
156Bool_t ProofEventProc::Notify()
168 Info(
"Notify",
"processing file: %s",
fn.Data());
181 Info(
"Notify",
"assigned new file: create ProcFileElements entry");
188 b_event_fType = fChain->
GetBranch(
"fType[20]");
189 b_fEventName = fChain->
GetBranch(
"fEventName");
190 b_event_fNtrack = fChain->
GetBranch(
"fNtrack");
191 b_event_fNseg = fChain->
GetBranch(
"fNseg");
192 b_event_fNvertex = fChain->
GetBranch(
"fNvertex");
193 b_event_fFlag = fChain->
GetBranch(
"fFlag");
194 b_event_fTemperature = fChain->
GetBranch(
"fTemperature");
195 b_event_fMeasures = fChain->
GetBranch(
"fMeasures[10]");
196 b_event_fMatrix = fChain->
GetBranch(
"fMatrix[4][4]");
197 b_fClosestDistance = fChain->
GetBranch(
"fClosestDistance");
198 b_event_fEvtHdr = fChain->
GetBranch(
"fEvtHdr");
199 b_fTracks = fChain->
GetBranch(
"fTracks");
200 b_fHighPt = fChain->
GetBranch(
"fHighPt");
202 b_event_fLastTrack = fChain->
GetBranch(
"fLastTrack");
203 b_event_fWebHistogram = fChain->
GetBranch(
"fWebHistogram");
205 b_event_fTriggerBits = fChain->
GetBranch(
"fTriggerBits");
206 b_event_fIsValid = fChain->
GetBranch(
"fIsValid");
Class to hold information about the processed elements of a file.
#define ClassDef(name, id)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Info(const char *location, const char *msgfmt,...)
Use this function for informational messages.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
A TTree is a list of TBranches.
An array of clone (identical) objects.
1-D histogram with a float per channel (see TH1 documentation)
2-D histogram with a float per channel (see TH1 documentation)
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
An array of references to TObjects.
Persistent Reference link to a TObject A TRef is a lightweight object pointing to any TObject.
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
A TTree represents a columnar dataset.
virtual TBranch * GetBranch(const char *name)
Return pointer to the branch with the given name in this tree or its friends.
TFile * GetCurrentFile() const
Return pointer to the current file.
virtual void SetMakeClass(Int_t make)
Set all the branches in this TTree to be in decomposed object mode (also known as MakeClass mode).
virtual Int_t SetBranchAddress(const char *bname, void *add, TBranch **ptr=nullptr)
Change branch address, dealing with clone trees properly.
void Init(TClassEdit::TInterpreterLookupHelper *helper)