Fork me on GitHub

source: git/modules/Weighter.h@ 44cb6e4

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 44cb6e4 was 9ca0c9c, checked in by Pavel Demin <pavel.demin@…>, 10 years ago

add ifndef CINT to modules/Weighter.h

  • Property mode set to 100644
File size: 800 bytes
RevLine 
[b5e3bbd]1#ifndef Weighter_h
2#define Weighter_h
3
4/** \class Weighter
5 *
6 * Apply a weight depending on PDG code.
7 *
8 * $Date$
9 * $Revision$
10 *
11 *
12 * \author P. Demin - UCL, Louvain-la-Neuve
13 *
14 */
15
16#include "classes/DelphesModule.h"
17
18#include <set>
19#include <map>
20
21class TObjArray;
22
23class Weighter: public DelphesModule
24{
25public:
26
27 Weighter();
28 ~Weighter();
29
30 void Init();
31 void Process();
32 void Finish();
33
34private:
[9ca0c9c]35
36#if !defined(__CINT__) && !defined(__CLING__)
[b5e3bbd]37 struct TIndexStruct
38 {
39 Int_t codes[4];
40 bool operator< (const TIndexStruct &value) const;
41 };
42
43 std::set<Int_t> fWeightSet, fCodeSet;
44 std::map<TIndexStruct, Double_t> fWeightMap;
[9ca0c9c]45#endif
[b5e3bbd]46
47 TIterator *fItInputArray; //!
48
49 const TObjArray *fInputArray; //!
50
51 TObjArray *fOutputArray; //!
52
53 ClassDef(Weighter, 1)
54};
55
56#endif
Note: See TracBrowser for help on using the repository browser.