Skip to content

Commit

Permalink
remove CondFormats dependency from DataFormats/PatCandidates
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlange6 committed Jun 11, 2020
1 parent 6795fad commit c13ac45
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 37 deletions.
36 changes: 1 addition & 35 deletions CondFormats/L1TObjects/interface/L1GtDefinitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <string>

// user include files
#include "DataFormats/L1GlobalTrigger/interface/L1GtDefinitions.h"

/// board types in GT
enum L1GtBoardType { GTFE, FDL, PSB, GMT, TCS, TIM, BoardNull };
Expand Down Expand Up @@ -88,26 +89,6 @@ std::string l1GtPsbQuadEnumToString(const L1GtPsbQuad&);
/// TypeBptx: BPTX (logical result only; definition in BPTX system)
/// TypeExternal: external conditions (logical result only; definition in L1 GT external systems)
/// Type2CorrWithOverlapRemoval: three particles, first two with spatial correlations among them, third used for removal if overlap
enum L1GtConditionType {
TypeNull,
Type1s,
Type2s,
Type2wsc,
Type2cor,
Type3s,
Type4s,
TypeETM,
TypeETT,
TypeHTT,
TypeHTM,
TypeJetCounts,
TypeCastor,
TypeHfBitCounts,
TypeHfRingEtSums,
TypeBptx,
TypeExternal,
Type2corWithOverlapRemoval
};

struct L1GtConditionTypeStringToEnum {
const char* label;
Expand All @@ -117,21 +98,6 @@ struct L1GtConditionTypeStringToEnum {
L1GtConditionType l1GtConditionTypeStringToEnum(const std::string&);
std::string l1GtConditionTypeEnumToString(const L1GtConditionType&);

/// condition categories
enum L1GtConditionCategory {
CondNull,
CondMuon,
CondCalo,
CondEnergySum,
CondJetCounts,
CondCorrelation,
CondCastor,
CondHfBitCounts,
CondHfRingEtSums,
CondBptx,
CondExternal,
CondCorrelationWithOverlapRemoval
};

struct L1GtConditionCategoryStringToEnum {
const char* label;
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/PatCandidates/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<use name="DataFormats/TrackReco"/>
<use name="DataFormats/HepMCCandidate"/>
<use name="DataFormats/BTauReco"/>
<use name="CondFormats/L1TObjects"/>
<use name="DataFormats/L1GlobalTrigger"/>
<use name="DataFormats/L1Trigger"/>
<use name="DataFormats/HLTReco"/>
<use name="DataFormats/CaloTowers"/>
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/PatCandidates/interface/TriggerCondition.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "DataFormats/Common/interface/RefProd.h"
#include "DataFormats/Common/interface/RefVector.h"
#include "DataFormats/Common/interface/RefVectorIterator.h"
#include "CondFormats/L1TObjects/interface/L1GtFwd.h"
#include "DataFormats/L1GlobalTrigger/interface/L1GtDefinitions.h"
#include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"

namespace pat {
Expand Down
1 change: 1 addition & 0 deletions PhysicsTools/NanoAOD/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<use name="IOPool/Provenance"/>
<use name="DQMServices/Core"/>
<use name="CondFormats/BTauObjects"/>
<use name="CondFormats/L1TObjects"/>
<use name="CondTools/BTau"/>
<use name="fastjet"/>
<use name="fastjet-contrib"/>
Expand Down

0 comments on commit c13ac45

Please sign in to comment.