1 |
loizides |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
loizides |
1.7 |
// $Id: FillerCaloJets.h,v 1.6 2008/09/09 12:51:38 sixie Exp $
|
3 |
loizides |
1.1 |
//
|
4 |
|
|
// FillerCaloJets
|
5 |
|
|
//
|
6 |
|
|
// Imlementation of a filler to fill EDM jets into our mithep::Jet data structure.
|
7 |
|
|
//
|
8 |
|
|
// Authors: C.Loizides
|
9 |
|
|
//--------------------------------------------------------------------------------------------------
|
10 |
|
|
|
11 |
loizides |
1.7 |
#ifndef MITPROD_TREEFILLER_FILLERCALOJETS_H
|
12 |
|
|
#define MITPROD_TREEFILLER_FILLERCALOJETS_H
|
13 |
loizides |
1.1 |
|
14 |
|
|
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
15 |
|
|
#include "DataFormats/JetReco/interface/CaloJetCollection.h"
|
16 |
|
|
#include "MitAna/DataUtil/interface/TreeWriter.h"
|
17 |
|
|
#include "MitAna/DataTree/interface/Collections.h"
|
18 |
|
|
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
19 |
|
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
20 |
|
|
|
21 |
|
|
namespace mithep
|
22 |
|
|
{
|
23 |
|
|
class FillerCaloJets : public BaseFiller
|
24 |
|
|
{
|
25 |
|
|
public:
|
26 |
|
|
FillerCaloJets(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
27 |
|
|
~FillerCaloJets();
|
28 |
|
|
|
29 |
|
|
void BookDataBlock(TreeWriter &tws);
|
30 |
|
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
31 |
|
|
|
32 |
|
|
private:
|
33 |
sixie |
1.4 |
Bool_t flavorMatchingActive_; //=true if flavor matching is done
|
34 |
sixie |
1.6 |
Bool_t bTaggingActive_; //=true if bTagging info is filled
|
35 |
sixie |
1.4 |
std::string edmName_; //edm name of jets collection
|
36 |
|
|
std::string mitName_; //name of Jets in OAK
|
37 |
|
|
std::string flavorMatchingByReferenceName_; //edm name of jets collection
|
38 |
|
|
std::string flavorMatchingDefinition_; //name of Jets in OAK
|
39 |
sixie |
1.6 |
std::string jetProbabilityBJetTagsName_; //names for various bJet Tagging
|
40 |
|
|
std::string jetBProbabilityBJetTagsName_; //algorithms
|
41 |
|
|
std::string simpleSecondaryVertexBJetTagsName_;
|
42 |
|
|
std::string combinedSecondaryVertexBJetTagsName_;
|
43 |
|
|
std::string combinedSecondaryVertexMVABJetTagsName_;
|
44 |
|
|
std::string impactParameterMVABJetTagsName_;
|
45 |
|
|
std::string trackCountingHighEffBJetTagsName_;
|
46 |
|
|
std::string trackCountingHighPurBJetTagsName_;
|
47 |
|
|
std::string softMuonBJetTagsName_;
|
48 |
|
|
std::string softMuonNoIPBJetTagsName_;
|
49 |
|
|
std::string softElectronBJetTagsName_;
|
50 |
bendavid |
1.5 |
std::string caloTowerMapName_; //name of imported CaloTowerMap
|
51 |
sixie |
1.6 |
|
52 |
bendavid |
1.5 |
const mithep::CaloTowerMap *caloTowerMap_; //map wrt CaloTowers
|
53 |
sixie |
1.4 |
mithep::JetArr *jets_; //array of Jets
|
54 |
loizides |
1.1 |
};
|
55 |
|
|
}
|
56 |
|
|
#endif
|