Logo ROOT   6.08/07
Reference Guide
TOutputListSelectorDataMap.h
Go to the documentation of this file.
1 // @(#)root/proofplayer:$Id$
2 // Author: Axel Naumann 2010-06-09
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2010, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TOutputListSelectorDataMap
13 #define ROOT_TOutputListSelectorDataMap
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TOutputListSelectorDataMap //
18 // //
19 // Set the selector's data members to the corresponding elements of the //
20 // output list. //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 
25 #ifndef ROOT_TObject
26 #include "TObject.h"
27 #endif
28 
29 class TSelector;
30 class TCollection;
31 
33 public:
34 
37 
39 
40  const char* GetName() const;
41 
42  Bool_t Init(TSelector* sel);
43  Bool_t SetDataMembers(TSelector* sel) const;
44  Bool_t Merge(TObject* obj);
45 
46  TCollection* GetMap() const { return fMap; }
47 
48 private:
50  ClassDef(TOutputListSelectorDataMap, 1) // Converter from output list to TSelector data members
51 };
52 
53 
54 #endif
TOutputListSelectorDataMap(TSelector *sel=0)
Create a mapper between output list items and TSelector data members.
Bool_t Merge(TObject *obj)
Merge another TOutputListSelectorDataMap object, check consistency.
bool Bool_t
Definition: RtypesCore.h:59
Bool_t Init(TSelector *sel)
Initialize the data member <-> output list mapping from a selector.
static TOutputListSelectorDataMap * FindInList(TCollection *coll)
Find a TOutputListSelectorDataMap in a collection.
#define ClassDef(name, id)
Definition: Rtypes.h:254
Bool_t SetDataMembers(TSelector *sel) const
Given an output list, set the data members of a TSelector.
const char * GetName() const
Return static name for TOutputListSelectorDataMap objects.
Collection abstract base class.
Definition: TCollection.h:48
Set the selector&#39;s data members to the corresponding elements of the output list. ...
Mother of all ROOT objects.
Definition: TObject.h:37
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
Definition: TSelector.h:39