Skip to content

Commit

Permalink
[SIMULATION] apply code-format
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jun 8, 2021
1 parent 366c33c commit 0c5e076
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 21 deletions.
4 changes: 2 additions & 2 deletions SimDataFormats/Associations/interface/TTTrackTruthPair.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class TTTrackTruthPair {
public:
TTTrackTruthPair() : flags_(0) {}
TTTrackTruthPair(const edm::Ref<std::vector<TTTrack<T> > >& ttTrkRef,
const edm::Ref<TrackingParticleCollection>& trkPartRef,
int flags)
const edm::Ref<TrackingParticleCollection>& trkPartRef,
int flags)
: ttTrkRef_(ttTrkRef), trkPartRef_(trkPartRef), flags_(flags) {}

edm::Ref<std::vector<TTTrack<T> > > ttTrk() const { return ttTrkRef_; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class MaterialAccountingStep {

double energyLoss(void) const { return m_energyLoss; }

const GlobalPoint& in(void)const { return m_in; }
const GlobalPoint& in(void) const { return m_in; }

const GlobalPoint& out(void) const { return m_out; }

Expand Down
1 change: 0 additions & 1 deletion SimG4Core/Application/plugins/OscarMTProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <iostream>
#include <memory>


namespace edm {
class StreamID;
}
Expand Down
27 changes: 11 additions & 16 deletions SimGeneral/NoiseGenerators/test/CorrelatedNoisifierTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,17 @@ int main() {
math::ErrorD<10>::type input;
for (int k = 0; k < 10; k++) {
for (int kk = k; kk < 10; kk++) {
input(k, kk) =
kk == k
? 1
: kk == k + 1
? 0.67
: kk == k + 2
? 0.53
: kk == k + 3
? 0.44
: kk == k + 4
? 0.39
: kk == k + 5
? 0.36
: kk == k + 6
? 0.38
: kk == k + 7 ? 0.35 : kk == k + 8 ? 0.36 : kk == k + 9 ? 0.32 : 0.;
input(k, kk) = kk == k ? 1
: kk == k + 1 ? 0.67
: kk == k + 2 ? 0.53
: kk == k + 3 ? 0.44
: kk == k + 4 ? 0.39
: kk == k + 5 ? 0.36
: kk == k + 6 ? 0.38
: kk == k + 7 ? 0.35
: kk == k + 8 ? 0.36
: kk == k + 9 ? 0.32
: 0.;
}
}
CLHEP::HepJamesRandom engine;
Expand Down
2 changes: 1 addition & 1 deletion TauAnalysis/MCEmbeddingTools/plugins/CollectionMerger.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ CollectionMerger<T1, T2>::CollectionMerger(const edm::ParameterSet &iConfig) {
for (auto const &inCollection : inCollections) {
inputs_[inCollection.instance()].push_back(consumes<MergeCollection>(inCollection));
}
for (const auto& toproduce : inputs_) {
for (const auto &toproduce : inputs_) {
// std::cout<<toproduce.first<<"\t"<<toproduce.second.size()<<std::endl;
produces<MergeCollection>(toproduce.first);
}
Expand Down

0 comments on commit 0c5e076

Please sign in to comment.