Skip to content

Commit

Permalink
Clang-Format
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsbuild committed Jun 19, 2019
1 parent fbec54c commit 5c94e58
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions DataFormats/HGCRecHit/interface/HGCRecHit.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,20 @@ class HGCRecHit : public CaloRecHit {
enum HGCbheFlags { kHGCbheGood, kHGCbheDead, kHGCbheHot, kHGCbhePassBX, kHGCbheSaturated };

// HFnose rechit flags
enum HFNoseFlags { kHFNoseGood, kHFNosePoorReco, kHFNoseOutOfTime, kHFNoseFaultyHardware, kHFNoseNoisy, kHFNosePoorCalib, kHFNoseSaturated, kHFNoseDead, kHFNoseKilled, kHFNoseWeird, kHFNoseDiWeird, kHFNoseUnknown };

enum HFNoseFlags {
kHFNoseGood,
kHFNosePoorReco,
kHFNoseOutOfTime,
kHFNoseFaultyHardware,
kHFNoseNoisy,
kHFNosePoorCalib,
kHFNoseSaturated,
kHFNoseDead,
kHFNoseKilled,
kHFNoseWeird,
kHFNoseDiWeird,
kHFNoseUnknown
};

/** bit structure of CaloRecHit::flags_ used in EcalRecHit:
*
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/HGCRecHit/src/HGCRecHit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ std::ostream& operator<<(std::ostream& s, const HGCRecHit& hit) {
return s << HGCSiliconDetId(hit.detid()) << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
else if (hit.detid().det() == DetId::HGCalHSc)
return s << HGCScintillatorDetId(hit.detid()) << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
else if (hit.detid().det() == DetId::Forward && hit.detid().subdetId() == HFNose)
else if (hit.detid().det() == DetId::Forward && hit.detid().subdetId() == HFNose)
return s << HFNoseDetId(hit.detid()) << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
else
return s << "HGCRecHit undefined subdetector";
Expand Down

0 comments on commit 5c94e58

Please sign in to comment.