-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 77888 b: "refs/heads/CMSSW_7_1_X" c: 8ce8052 h: "refs/heads/CMSSW_7_1_X" v: v3
- Loading branch information
Ronald Charles Remington
committed
Nov 13, 2009
1 parent
e8ff028
commit 3554257
Showing
2 changed files
with
70 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e | ||
"refs/heads/CMSSW_7_1_X": 3a9437898dfee2ce6854565744b2c66e5585e76b | ||
"refs/heads/CMSSW_7_1_X": 8ce805234521c038c9dd34d34ca0a07262221bba |
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,69 @@ | ||
#ifndef DATAFORMATS_METRECO_CSCHALODATA_H | ||
#define DATAFORMATS_METRECO_CSCHALODATA_H | ||
#include "TMath.h" | ||
#include <vector> | ||
|
||
#include "DataFormats/TrackReco/interface/TrackFwd.h" | ||
#include "DataFormats/TrackReco/interface/Track.h" | ||
#include "DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h" | ||
#include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTReadoutRecord.h" | ||
#include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTReadoutCollection.h" | ||
#include "DataFormats/GeometrySurface/interface/Cylinder.h" | ||
#include "DataFormats/GeometrySurface/interface/Plane.h" | ||
#include "DataFormats/GeometrySurface/interface/Cone.h" | ||
#include "DataFormats/GeometryVector/interface/GlobalPoint.h" | ||
#include "DataFormats/GeometryVector/interface/GlobalVector.h" | ||
#include "DataFormats/GeometryVector/interface/LocalPoint.h" | ||
#include "DataFormats/GeometryVector/interface/LocalVector.h" | ||
|
||
#include "DataFormats/Common/interface/RefVector.h" | ||
#include "DataFormats/Common/interface/Ref.h" | ||
#include "DataFormats/Common/interface/RefProd.h" | ||
/* | ||
[class]: CSCHaloData | ||
[authors]: R. Remington, The University of Florida | ||
[description]: Container class to store beam halo data specific to the CSC subdetector | ||
[date]: October 15, 2009 | ||
*/ | ||
|
||
namespace reco { | ||
class CSCHaloData{ | ||
|
||
public: | ||
// Default constructor | ||
CSCHaloData(); | ||
|
||
virtual ~CSCHaloData(){} | ||
|
||
// Number of HaloTriggers in +/- endcap | ||
int NumberOfHaloTriggers (int z=0) const ; | ||
// Number of Halo Tracks in +/- endcap | ||
int NumberOfHaloTracks(int z=0) const ; | ||
|
||
// Get Reference to the Tracks | ||
edm::RefVector<reco::TrackCollection>& GetTracks(){return TheTrackRefs;} | ||
|
||
// Set Number of Halo Triggers | ||
void SetNumberOfHaloTriggers(int PlusZ, int MinusZ ){ nTriggers_PlusZ =PlusZ; nTriggers_MinusZ = MinusZ ;} | ||
|
||
// Get GlobalPoints of CSC tracking rechits nearest to the calorimeters | ||
//std::vector<const GlobalPoint>& GetCSCTrackImpactPositions() const {return TheGlobalPositions;} | ||
const std::vector<GlobalPoint>& GetCSCTrackImpactPositions() const {return TheGlobalPositions;} | ||
std::vector<GlobalPoint>& GetCSCTrackImpactPositions() {return TheGlobalPositions;} | ||
|
||
private: | ||
edm::RefVector<reco::TrackCollection> TheTrackRefs; | ||
|
||
// The GlobalPoints from constituent rechits nearest to the calorimeter of CSC tracks | ||
std::vector<GlobalPoint> TheGlobalPositions; | ||
int nTriggers_PlusZ; | ||
int nTriggers_MinusZ; | ||
|
||
int nTracks_PlusZ; | ||
int nTracks_MinusZ; | ||
}; | ||
|
||
} | ||
|
||
|
||
#endif |