1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
#ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecaySpecificBuilder_h
#define HeavyFlavorAnalysis_SpecificDecay_BPHDecaySpecificBuilder_h
/** \class BPHDecaySpecificBuilder
*
* Description:
* Class to plug the usage of BPHRecoBuilder inside BPHGenericBuilder
*
* \author Paolo Ronchese INFN Padova
*
*/
//----------------------
// Base Class Headers --
//----------------------
#include "HeavyFlavorAnalysis/SpecificDecay/interface/BPHDecayGenericBuilder.h"
//------------------------------------
// Collaborating Class Declarations --
//------------------------------------
#include "FWCore/Framework/interface/EventSetup.h"
class BPHRecoBuilder;
//---------------
// C++ Headers --
//---------------
#include <vector>
#include <iostream>
// ---------------------
// -- Class Interface --
// ---------------------
class BPHDecaySpecificBuilderBase {
public:
virtual ~BPHDecaySpecificBuilderBase() = default;
protected:
virtual void fill(BPHRecoBuilder& brb, void* parameters) = 0;
virtual void setup(void* parameters) = 0;
};
template <class ProdType>
class BPHDecaySpecificBuilder : public virtual BPHDecaySpecificBuilderBase,
public virtual BPHDecayGenericBuilder<ProdType> {
public:
/** Constructor
*/
BPHDecaySpecificBuilder() {}
// deleted copy constructor and assignment operator
BPHDecaySpecificBuilder(const BPHDecaySpecificBuilder& x) = delete;
BPHDecaySpecificBuilder& operator=(const BPHDecaySpecificBuilder& x) = delete;
/** Destructor
*/
~BPHDecaySpecificBuilder() override = default;
protected:
/** Operations
*/
/// build candidates
void fillRecList() override;
};
#endif
|