Skip to content

Commit edc73aa

Browse files
committed
Code format
1 parent 2a8f734 commit edc73aa

File tree

13 files changed

+677
-660
lines changed

13 files changed

+677
-660
lines changed

DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTShower.h

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// Federica Primavera Bologna INFN
1111
// Carlos Vico Oviedo Spain,
1212
// Daniel Estrada Acevedo Oviedo Spain.
13-
//
13+
//
1414
//
1515
//--------------------------------------------------
1616
#ifndef L1Phase2MuDTShower_H
@@ -38,24 +38,23 @@ class L1Phase2MuDTShower {
3838
// Constructors
3939
L1Phase2MuDTShower();
4040

41-
L1Phase2MuDTShower(int wh, // Wheel
42-
int sc, // Sector
43-
int st, // Station
44-
int sl, // Superlayer
45-
int ndigis, // Number of digis within shower
46-
int bx, // BX estimation
47-
int min_wire, // Minimum wire
48-
int max_wire, // Maximum wire
49-
float avg_pos, // Averaged position of the shower
50-
float avg_time, // Averaged time of the shower
51-
const std::vector<int> wires_profile // Wires profile
52-
);
53-
41+
L1Phase2MuDTShower(int wh, // Wheel
42+
int sc, // Sector
43+
int st, // Station
44+
int sl, // Superlayer
45+
int ndigis, // Number of digis within shower
46+
int bx, // BX estimation
47+
int min_wire, // Minimum wire
48+
int max_wire, // Maximum wire
49+
float avg_pos, // Averaged position of the shower
50+
float avg_time, // Averaged time of the shower
51+
const std::vector<int> wires_profile // Wires profile
52+
);
5453

55-
virtual ~L1Phase2MuDTShower(){};
54+
virtual ~L1Phase2MuDTShower() {};
5655

5756
// Operations
58-
57+
5958
int whNum() const;
6059
int scNum() const;
6160
int stNum() const;
@@ -69,7 +68,6 @@ class L1Phase2MuDTShower {
6968
std::vector<int> wiresProfile() const;
7069

7170
private:
72-
7371
int m_wheel;
7472
int m_sector;
7573
int m_station;

DataFormats/L1DTTrackFinder/src/L1Phase2MuDTShower.cc

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,31 @@ L1Phase2MuDTShower::L1Phase2MuDTShower()
4545
m_max_wire(0),
4646
m_avg_pos(0),
4747
m_avg_time(0) {
48-
m_wires_profile.resize(96, 0);
49-
}
50-
51-
L1Phase2MuDTShower::L1Phase2MuDTShower(
52-
int wh, int sc, int st, int sl, int ndigis, int bx, int min_wire, int max_wire, float avg_pos, float avg_time, const std::vector<int> wires_profile)
53-
: m_wheel(wh),
54-
m_sector(sc),
55-
m_station(st),
56-
m_superlayer(sl),
57-
m_ndigis(ndigis),
58-
m_bx(bx),
59-
m_min_wire(min_wire),
60-
m_max_wire(max_wire),
61-
m_avg_pos(avg_pos),
62-
m_avg_time(avg_time),
63-
m_wires_profile(wires_profile) {}
48+
m_wires_profile.resize(96, 0);
49+
}
50+
51+
L1Phase2MuDTShower::L1Phase2MuDTShower(int wh,
52+
int sc,
53+
int st,
54+
int sl,
55+
int ndigis,
56+
int bx,
57+
int min_wire,
58+
int max_wire,
59+
float avg_pos,
60+
float avg_time,
61+
const std::vector<int> wires_profile)
62+
: m_wheel(wh),
63+
m_sector(sc),
64+
m_station(st),
65+
m_superlayer(sl),
66+
m_ndigis(ndigis),
67+
m_bx(bx),
68+
m_min_wire(min_wire),
69+
m_max_wire(max_wire),
70+
m_avg_pos(avg_pos),
71+
m_avg_time(avg_time),
72+
m_wires_profile(wires_profile) {}
6473

6574
//--------------
6675
// Operations --

DataFormats/L1DTTrackFinder/src/L1Phase2MuDTShowerContainer.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@ L1Phase2MuDTShowerContainer::L1Phase2MuDTShowerContainer() {}
3838
//--------------
3939
void L1Phase2MuDTShowerContainer::setContainer(const Shower_Container& inputShowers) { m_showers = inputShowers; }
4040

41-
L1Phase2MuDTShowerContainer::Shower_Container const* L1Phase2MuDTShowerContainer::getContainer() const { return &m_showers; }
41+
L1Phase2MuDTShowerContainer::Shower_Container const* L1Phase2MuDTShowerContainer::getContainer() const {
42+
return &m_showers;
43+
}

L1Trigger/DTTriggerPhase2/interface/MPCoincidenceFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class MPCoincidenceFilter : public MPFilter {
7272
std::vector<cmsdt::metaPrimitive> allMPs,
7373
int co_option,
7474
int co_quality,
75-
int co_wh2option,
75+
int co_wh2option,
7676
double shift_back);
7777

7878
// Private attributes

L1Trigger/DTTriggerPhase2/interface/MPThetaMatching.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ class MPThetaMatching : public MPFilter {
3030
const edm::EventSetup &iEventSetup,
3131
std::vector<cmsdt::metaPrimitive> &allMPaths,
3232
std::vector<cmsdt::metaPrimitive> &inMPaths,
33-
std::vector<cmsdt::metaPrimitive> &outMPaths) override{};
33+
std::vector<cmsdt::metaPrimitive> &outMPaths) override {};
3434
void run(edm::Event &iEvent,
3535
const edm::EventSetup &iEventSetup,
3636
MuonPathPtrs &inMPath,
37-
MuonPathPtrs &outMPath) override{};
37+
MuonPathPtrs &outMPath) override {};
3838

3939
void finish() override;
4040

0 commit comments

Comments
 (0)