Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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 #include "TObject.h"
26 
27 class TSelector;
28 class TCollection;
29 
30 class TOutputListSelectorDataMap: public TObject {
31 public:
32 
33  TOutputListSelectorDataMap(TSelector* sel = 0);
34  virtual ~TOutputListSelectorDataMap() {}
35 
36  static TOutputListSelectorDataMap* FindInList(TCollection* coll);
37 
38  const char* GetName() const;
39 
40  Bool_t Init(TSelector* sel);
41  Bool_t SetDataMembers(TSelector* sel) const;
42  Bool_t Merge(TObject* obj);
43 
44  TCollection* GetMap() const { return fMap; }
45 
46 private:
47  TCollection* fMap;
48  ClassDef(TOutputListSelectorDataMap, 1) // Converter from output list to TSelector data members
49 };
50 
51 
52 #endif