Merged refs/pull/6263/head from repository cms-sw
Merged refs/pull/6214/head from repository cms-sw
Jira tickets 168 and 169, both HLT and GRun
Fix the name of one sequence, allow CMSHLT-133 and 162 in GRun
Customize FastSim for Displaced Dijet Triggers for Exo (CMSHLT-168)
Prescales for CMSHLT-160; add CMSHLT-137 to GRun; further FastSim fixes for CMSHLT-168
Fix the fastsim fix...
Add CMSHLT-145 and CMSHLT-155 to GRun
Remove `operator[](std::ptrdiff_t) const` from boost::shared_ptr

Starting Boost 1.53.0 a new feature was introduced into
boost::shared_ptr: a support for a pointer to a dynamically
allocated array.

This is achieved by adding `operator[](std::ptrdiff_t) const` to
all instances on boost::shared_ptr. There are two levels of protection
here:

- Runtime checks that the pointer you hold is an array
- A trait returns `void` return type for non-array types in
  `boost::shared_ptr`

The second point creates compilation errors in Reflex dictionaries.
Reflex needs to generate a call for `operator[]`, but by doing that we
get `operator[]` with return type `void` and with `return` statement.

Think about it as a static assert.

Simply put Reflex does not know, that it should not call `operator[]` on
not array `boost::shared_ptr`.

reco::parser::ExpressionPtr : boost::shared_ptr<reco::parser::ExpressionBase>
reco::parser::SelectorPtr   : boost::shared_ptr<reco::parser::SelectorBase>

These are not pointers to dynamically allocated arrays.

The patch disables `operator[]` on them (will not be visible in
interpreter).

More details available in: https://github.com/cms-sw/cmsdist/issues/1167

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
SUSYBSMAnalysis/HSCP: fix Clang reported errors

Hscp_hasTrack, Hscp_hasMuon and Hscp_hasRpc are bool arrays (not
dynamically alloced). Bool conversion on the address of the array
will always return true.

I believe, the intention was to do, e.g., Hscp_hasTrack[NHSCPs]

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Merge pull request #6272 from perrotta/hltIntegrationsMidday141107

Integration of a lot of HLT paths from different PAGs meant to the Run2 menu; FastSim customization for a few of them
Merge pull request #6289 from davidlt/disable-boost-shared_ptr-array-operator

Remove `operator[](std::ptrdiff_t) const` from boost::shared_ptr
Merge pull request #6291 from davidlt/resolve-clang-err-SUSYBSMAnalysis

SUSYBSMAnalysis/HSCP: fix Clang reported errors
Merge remote branch 'origin/CMSSW_7_3_X' into CMSSW_7_0_X