StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StEEmcPool
EEmcTreeContainers
EEmcParticleCandidate.h
1
/*
2
* Created by S. Gliske, May 2012
3
*
4
* Description: Container used in the EEmcAnalysisTree. Represents a candidate particle.
5
*
6
* Note: this does not explicitly depend on the STAR framework, and so
7
* the trees can be read outside of the STAR framework. Note: data
8
* members are all public, to allow a lighter weight implementation. from
9
* the TTree.
10
*
11
* While other makers may redefine the interpretation of PID, this
12
* class defaults to a value of PID = 1000.
13
*
14
*/
15
16
#ifndef EEmcParticleCandidate_H__
17
#define EEmcParticleCandidate_H__
18
19
#include <Rtypes.h>
20
#include <TObject.h>
21
#include <TVector3.h>
22
23
class
EEmcHit_t
;
24
25
class
EEmcParticleCandidate_t
:
public
TObject {
26
27
public
:
28
// constructor
29
EEmcParticleCandidate_t
();
30
EEmcParticleCandidate_t
( Int_t hitIdx_,
const
EEmcHit_t
&
hit
, TVector3&
vertex
);
31
32
// default equals operator and copy constructor OK
33
34
Int_t PID, hitIdx1;
35
Float_t E, M, PT;
36
TVector3 position;
// where it hits the endcap
37
TVector3 momentum;
// in the direction from primary vertex to the position
38
39
private
:
40
ClassDef(
EEmcParticleCandidate_t
, 1);
41
};
42
43
inline
EEmcParticleCandidate_t::EEmcParticleCandidate_t() : PID(-9999), hitIdx1(-1), E(0), M(0), PT(0) {
/* */
};
44
45
#endif
46
47
/*
48
* $Id: EEmcParticleCandidate.h,v 1.1 2012/11/26 19:04:30 sgliske Exp $
49
* $Log: EEmcParticleCandidate.h,v $
50
* Revision 1.1 2012/11/26 19:04:30 sgliske
51
* moved from offline/users/sgliske/StRoot/StEEmcPool/EEmcTreeContainers to StRoot/StEEmcPool/EEmcTreeContainers
52
*
53
*
54
*/
vertex
Definition:
L3_Banks.hh:256
EEmcParticleCandidate_t
Definition:
EEmcParticleCandidate.h:25
hit
Definition:
GenericTable.C:6
EEmcHit_t
Definition:
EEmcHit.h:20
Generated by
1.8.5