Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:31:35

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.                                                           //
0022 //                                                                      //
0023 //////////////////////////////////////////////////////////////////////////
0024 
0025 
0026 #include "TParameter.h"
0027 
0028 #include "Rtypes.h"
0029 
0030 
0031 class TCollection;
0032 
0033 class TSelectorScalar : public TParameter<Long64_t> {
0034 
0035 public:
0036    TSelectorScalar(const char *name = "", Long64_t val = 0)
0037              : TParameter<Long64_t>(name, val) { }
0038    ~TSelectorScalar() override { }
0039 
0040    void     Inc(Long_t n = 1);
0041    Int_t    Merge(TCollection *list) override;
0042 
0043    ClassDefOverride(TSelectorScalar,1)  // Mergeable scalar
0044 };
0045 
0046 
0047 #endif