|
||||
Warning, file /include/root/TSelectorScalar.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // @(#)root/tree:$Id$ 0002 // Author: Maarten Ballintijn 13/02/2005 0003 0004 /************************************************************************* 0005 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * 0006 * All rights reserved. * 0007 * * 0008 * For the licensing terms see $ROOTSYS/LICENSE. * 0009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0010 *************************************************************************/ 0011 0012 #ifndef ROOT_TSelectorScalar 0013 #define ROOT_TSelectorScalar 0014 0015 0016 ////////////////////////////////////////////////////////////////////////// 0017 // // 0018 // TSelectorScalar // 0019 // // 0020 // Named scalar type, based on Long64_t, streamable, storable and // 0021 // mergeable. Ideally to be used in tree selectors in the PROOF // 0022 // environment due to its merge functionality which allows a single // 0023 // merged value to be returned to the user. // 0024 // // 0025 ////////////////////////////////////////////////////////////////////////// 0026 0027 0028 #include "TParameter.h" 0029 0030 #include "Rtypes.h" 0031 0032 0033 class TCollection; 0034 0035 class TSelectorScalar : public TParameter<Long64_t> { 0036 0037 public: 0038 TSelectorScalar(const char *name = "", Long64_t val = 0) 0039 : TParameter<Long64_t>(name, val) { } 0040 ~TSelectorScalar() override { } 0041 0042 void Inc(Long_t n = 1); 0043 Int_t Merge(TCollection *list) override; 0044 0045 ClassDefOverride(TSelectorScalar,1) // Mergeable scalar 0046 }; 0047 0048 0049 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |