forked from cms-sw/cmssw
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cms-sw#192 from dildick/for-75X-GEM-CSC-Trigger
For 75 x gem csc trigger
- Loading branch information
Showing
24 changed files
with
5,399 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#ifndef CSCDigi_GEMCSCLCTDigi_h | ||
#define CSCDigi_GEMCSCLCTDigi_h | ||
|
||
#include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigi.h" | ||
#include <boost/cstdint.hpp> | ||
#include <iosfwd> | ||
|
||
class GEMCSCLCTDigi | ||
{ | ||
public: | ||
|
||
/// Constructors | ||
GEMCSCLCTDigi(const CSCCorrelatedLCTDigi, float); | ||
GEMCSCLCTDigi(); /// default | ||
|
||
/// return track number | ||
const CSCCorrelatedLCTDigi& getDigi() const { return digi_; } | ||
|
||
/// return bend | ||
int getBend() const { return bend_; } | ||
|
||
///Comparison | ||
bool operator == (const GEMCSCLCTDigi &) const; | ||
bool operator != (const GEMCSCLCTDigi &rhs) const | ||
{ return !(this->operator==(rhs)); } | ||
|
||
private: | ||
CSCCorrelatedLCTDigi digi_; | ||
float bend_; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef GEMCSCLCTDigi_GEMCSCLCTDigiCollection_h | ||
#define GEMCSCLCTDigi_GEMCSCLCTDigiCollection_h | ||
|
||
#include <DataFormats/MuonDetId/interface/CSCDetId.h> | ||
#include <DataFormats/CSCDigi/interface/GEMCSCLCTDigi.h> | ||
#include <DataFormats/MuonData/interface/MuonDigiCollection.h> | ||
|
||
typedef MuonDigiCollection<CSCDetId,GEMCSCLCTDigi> GEMCSCLCTDigiCollection; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#include "DataFormats/CSCDigi/interface/GEMCSCLCTDigi.h" | ||
#include "FWCore/MessageLogger/interface/MessageLogger.h" | ||
#include <iostream> | ||
|
||
/// Constructors | ||
GEMCSCLCTDigi::GEMCSCLCTDigi(const CSCCorrelatedLCTDigi digi, float bend) : | ||
digi_(digi), | ||
bend_(bend) | ||
{} | ||
|
||
/// Default | ||
GEMCSCLCTDigi::GEMCSCLCTDigi() { | ||
} | ||
|
||
/// Comparison | ||
bool GEMCSCLCTDigi::operator==(const GEMCSCLCTDigi &rhs) const { | ||
return ( digi_ == rhs.getDigi() && bend_ == rhs.getBend() ); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.