New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running code-format for reconstruction #27075
Conversation
please test |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27075/10161
|
The tests are being triggered in jenkins. |
A new Pull Request was created by @cmsbuild for master. It involves the following packages: DataFormats/EgammaTrackReco @perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
typedef std::vector<std::string> strVec; | ||
typedef std::vector<std::string>::iterator strVecI; | ||
|
||
std::vector<std::string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments could be reshuffled to avoid this line splitting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
double minFracDiffHBHELaser_; // minimum difference in fractional occupancies between 'good' and 'bad' HBHE regions (i.e., regions whose RBXes receive laser signals and those whose RBXes see no laser) necessary to declare an event as a laser event. In laser events, good fractional occupancy is generally near 1, while bad fractional occupancy is considerably less | ||
edm::InputTag digiLabel_; | ||
edm::EDGetTokenT<HcalCalibDigiCollection> tok_calib_; | ||
std::string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here and the lines below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
std::vector <int> CalibTS_; // time slices used when integrating calib charges | ||
bool filterHBHE_; // Flag to activate laser filter for HBHE | ||
int minCalibChannelsHBHELaser_; // set minimum number of HBHE Calib events that causes an event to be considered a bad (i.e., HBHE laser) event | ||
double |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
//_______________________________________________________________________________ | ||
const double BFit3D::C0[360][4] = { //Constant terms, shifted to left | ||
//(since at B_nom = 0 all of them are equal to zero) | ||
{2.02156144404716e+00, 3.51621670097246e+00, 3.81142532261878e+00, 4.01241090152589e+00}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely the previous version was much more readable.
This is probably a god place where to forbid clang formatting.
{1.34237684985945e-10, 2.53064579553359e-11, 1.50183540218717e-10, 3.71381437949006e-11}, | ||
{3.36871860756778e-10, 2.87290939807854e-10, 6.86524917689277e-10, 1.17431905499043e-09}, | ||
{3.66460831436455e-10, 3.66607928682510e-10, 4.46409858543281e-10, 6.58153206569430e-10}, | ||
{2.96805661632454e-10, -9.447074 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Even more) Definitely the previous version was much more readable.
This is probably a god place where to forbid clang formatting.
{1.34237684985945e-10, 2.53064579553359e-11, 1.50183540218717e-10, 3.71381437949006e-11}, | ||
{3.36871860756778e-10, 2.87290939807854e-10, 6.86524917689277e-10, 1.17431905499043e-09}, | ||
{3.66460831436455e-10, 3.66607928682510e-10, 4.46409858543281e-10, 6.58153206569430e-10}, | ||
{2.96805661632454e-10, -9.447074 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely the previous version was much more readable.
This is probably a god place where to forbid clang formatting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all done
@smuzaffar @fabiocos |
@smuzaffar @perrotta @slava77 we had a similar case yesterday, see https://github.com/cms-sw/cmssw/pull/27067/files/f667b1b79b88ee35a71999e20052446e8a4228dd#diff-cf19564532634461084a77f9f0fa38e7 , I played a bit with moving comments but did not help. So in case we could exclude also that table from formatting. In general I think that this kind of intiializations could be also stored in some data file, I guess it is simply more efficient to avoid too many file accesses during initialization... |
Are the code-format suggestions in #27075 (comment) that prevent the tests starting? |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
Applying code-format for CMSSW category reconstruction.
See the build logs here https://cmssdt.cern.ch/jenkins/job/GitHub-refactor-cmssw-module/350//console
cms-bot has successfully run the following: