1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
#ifndef DTRecHit_DTChamberRecSegment2D_h
#define DTRecHit_DTChamberRecSegment2D_h
/** \class DTChamberRecSegment2D
*
* A 2D segment for the DT system for Phi projection.
* It's an intermediate data class between the normal DTSLRecSegment2D class and
* the DTRecSegment4D. The difference wrt DTSLRecSegment2D is that the segments it
* represents is build with the two phi SL. So this segment DOES not belong to
* the SL (as DTSLRecSegment2D), but to the chamber (via a DTRecSegment4D).
* A DTRecSegment4D has one of these objects, and so can access the full
* information of the two projections.
*
* \author Stefano Lacaprara - INFN Legnaro <stefano.lacaprara@pd.infn.it>
* \author Riccardo Bellan - INFN TO <riccardo.bellan@cern.ch>
*
*/
/* Base Class Headers */
#include "DataFormats/DTRecHit/interface/DTRecSegment2D.h"
#include "DataFormats/MuonDetId/interface/DTChamberId.h"
/* Collaborating Class Declarations */
/* C++ Headers */
/* ====================================================================== */
/* Class DTChamberRecSegment2D Interface */
class DTChamberRecSegment2D : public DTRecSegment2D {
public:
/// empty c'tor
DTChamberRecSegment2D() {}
/// c'tor from hits
DTChamberRecSegment2D(DTChamberId id, const std::vector<DTRecHit1D> &hits);
/// complete constructor
DTChamberRecSegment2D(DTChamberId id,
LocalPoint &position,
LocalVector &direction,
AlgebraicSymMatrix &covMatrix,
double chi2,
std::vector<DTRecHit1D> &hits1D);
/// Destructor
~DTChamberRecSegment2D() override {}
/* Operations */
/// The clone method needed by the clone policy
DTChamberRecSegment2D *clone() const override;
/// The id of the chamber on which reside the segment
DTChamberId chamberId() const;
private:
// in DTSegmentCand, setPosition and setDirection can be used
friend class DTSegmentCand;
friend class DTSegmentUpdator;
void setChamberId(DTChamberId chId) { setId(chId); }
protected:
};
#endif // DTRecHit_DTChamberRecSegment2D_h
|