1 |
/*
|
2 |
* TestObjectFactory.h
|
3 |
*
|
4 |
* Created on: 28 Sep 2010
|
5 |
* Author: kreczko
|
6 |
*/
|
7 |
|
8 |
#ifndef TESTOBJECTFACTORY_H_
|
9 |
#define TESTOBJECTFACTORY_H_
|
10 |
#include "../interface/Event.h"
|
11 |
#include "../interface/RecoObjects/Vertex.h"
|
12 |
#include "../interface/RecoObjects/Jet.h"
|
13 |
#include "../interface/RecoObjects/Electron.h"
|
14 |
#include "../interface/RecoObjects/Track.h"
|
15 |
#include "../interface/RecoObjects/Muon.h"
|
16 |
|
17 |
class TestObjectFactory {
|
18 |
private:
|
19 |
static const double goodVertexMaximalAbsoluteRho;
|
20 |
static const double goodVertexMinimalNumberOfDegreesOfFreedom;
|
21 |
static const double goodVertexMaximalAbsoluteZPosition;
|
22 |
|
23 |
static const double isolatedElectronMaximalRelativeIsolation;
|
24 |
static const double goodElectronMaximalAbsoluteEta;
|
25 |
static const double goodElectronMinimalEt;
|
26 |
static const double goodElectronMaximalDistanceFromInteractionPoint;
|
27 |
static const double MaximalNumberOfMissingInnerLayerHitsBeforeCalledConversion;
|
28 |
static const double MinimalDistanceToNextTrackBeforeCalledConversion;
|
29 |
static const double MinimalDCotToNextTrackBeforeCalledConversion;
|
30 |
static const double looseElectronMaximalAbsoluteEta;
|
31 |
static const double looseElectronMinimalEt;
|
32 |
static const double looseIsolatedElectronMaximalRelativeIsolation;
|
33 |
|
34 |
static const double goodJetMaximalAbsoluteEta;
|
35 |
static const double goodJetMinimalPt;
|
36 |
static const double goodJetMinimalElectromagneticFraction;
|
37 |
static const double goodJetMinimalNumberOfRecHitsContaining90PercentOfTheJetEnergy;
|
38 |
static const double goodJetMaximalFractionOfEnergyIntheHottestHPDReadout;
|
39 |
|
40 |
static const double goodMuonMinimalPt;
|
41 |
static const double goodMuonMaximalAbsoluteEta;
|
42 |
static const double isolatedMuonMaximalRelativeIsolation;
|
43 |
public:
|
44 |
TestObjectFactory();
|
45 |
virtual ~TestObjectFactory();
|
46 |
static BAT::VertexPointer goodVertex();
|
47 |
static BAT::VertexPointer badNDOFVertex();
|
48 |
static BAT::VertexPointer badZPositionVertex();
|
49 |
static BAT::VertexPointer badRhoVertex();
|
50 |
static BAT::VertexPointer badFakeVertex();
|
51 |
|
52 |
static BAT::TrackPointer highPurityTrack();
|
53 |
static BAT::TrackPointer lowPurityTrack();
|
54 |
|
55 |
static BAT::ElectronPointer goodCaloElectron();
|
56 |
static BAT::ElectronPointer goodPFElectron();
|
57 |
static BAT::ElectronPointer goodIsolatedElectron();
|
58 |
static BAT::ElectronPointer goodIsolatedElectron2();
|
59 |
static BAT::ElectronPointer goodLooseElectron();
|
60 |
|
61 |
static BAT::ElectronPointer badLooseElectronNoID();
|
62 |
static BAT::ElectronPointer badElectronNoID();
|
63 |
static BAT::ElectronPointer badEtElectron();
|
64 |
static BAT::ElectronPointer badEtaElectron();
|
65 |
static BAT::ElectronPointer badInCrackElectron();
|
66 |
static BAT::ElectronPointer badD0Electron();
|
67 |
static BAT::ElectronPointer electronWithMissingInnerLayerHit();
|
68 |
static BAT::ElectronPointer electronWithMatchingPartnerTrack();
|
69 |
|
70 |
static BAT::JetPointer goodCaloJet();
|
71 |
static BAT::JetPointer goodCaloJetCloseToCaloElectron();
|
72 |
static BAT::JetPointer goodCaloBJetSSVHEM();
|
73 |
|
74 |
static BAT::JetPointer badEMFCaloJet();
|
75 |
static BAT::JetPointer badN90CaloJet();
|
76 |
static BAT::JetPointer badfHPDCaloJet();
|
77 |
static BAT::JetPointer badEtCaloJet();
|
78 |
static BAT::JetPointer badEtaCaloJet();
|
79 |
|
80 |
static BAT::MuonPointer goodIsolatedMuon();
|
81 |
static BAT::MuonPointer goodNonIsolatedMuon();
|
82 |
static BAT::MuonPointer badNonGlobalMuon();
|
83 |
static BAT::MuonPointer badPtMuon();
|
84 |
static BAT::MuonPointer badEtaMuon();
|
85 |
|
86 |
static BAT::METPointer goodMET();
|
87 |
static BAT::METPointer badMET();
|
88 |
|
89 |
};
|
90 |
|
91 |
#endif /* TESTOBJECTFACTORY_H_ */
|