-
Notifications
You must be signed in to change notification settings - Fork 68
š„DO NOT MERGEš„ ā add new TPC alignment, hit errors and slewing corrections for 2024 #702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weāll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 21 commits
f24b000
b9352bd
9aae93c
d152e4f
24316ac
921b24e
1fe7ee9
282c28f
5b2ecc5
2be2cf8
d04a560
701026a
ae31ad3
550ae69
5c66e08
10bda9e
ea24401
8828f60
b6046fe
12fa9ff
8496cf4
1088b8f
eee260b
85e5ff6
470757a
a3bfe16
cfd375d
883bc88
92933ae
65ad613
df6a290
d2d77f6
03176b3
d21c128
15106c7
1d9e062
2f52e6c
cac6321
69abeeb
46576ea
bbaaf85
66b02fe
709d840
987442b
75eaec9
36ca1de
d919c1d
77be6db
8acdf8e
dc447f4
8bc3333
8a19542
a1a6883
667b9d7
ca8747c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <!DOCTYPE configuration> | ||
|
|
||
| <configuration xmlns='http://logging.apache.org/'> | ||
|
|
||
| <appender name="stdout" class="org.apache.log4j.ConsoleAppender"> | ||
| <layout class="org.apache.log4j.PatternLayout"> | ||
| <param name="ConversionPattern" value="%-3c{2}:%-5p - %m%n"/> | ||
| </layout> | ||
| <filter class="StarOptionFilter"> | ||
| <!-- | ||
| - - - - - - - - - - - - - - | ||
| RepeatMessageQuote | ||
| - - - - - - - - - - - - - - | ||
| "name" - "RepeatMessagesQuota" parameters to assign to number of messages to be repeated sequeintially | ||
| "value" = -1 there is no limit (by default) | ||
| > 0 the number of times the message can be printed out sequentially | ||
| (without any other message between each occurence) | ||
|
|
||
| the value zero and one have one and the same meaning | ||
| 0 - the message can not be printed at all | ||
| 1 - the message can be printed one time only, so "0" == "1" | ||
| Example: | ||
| - - - - <param name="RepeatMessagesQuota" value="2"/> | ||
| Print each message no more then 2 times sequientialy at most. | ||
| - - - - - - - - - - - - - - | ||
| TotalMessagesQuote | ||
| - - - - - - - - - - - - - - | ||
| "name" - "TotalMessagesQuota" parameters to assign to number of messages to be repeated sequeintially | ||
| "value" = -1 there is no limit (by default) | ||
| > 0 the number of times the message can printed out across the entire output | ||
| the value zero and one have one and the same meaning | ||
| 0 - the message can not be printed at all | ||
| 1 - the message can be printed one time only, so "0" == "1" | ||
| Example: | ||
| - - - - <param name="TotalMessagesQuota" value="200"/> | ||
| The output should contain the 200 lines at most. | ||
| - - - - - - - - - - - - - - | ||
| StringToCount | ||
| - - - - - - - - - - - - - - | ||
| "name" - "StringToCount" parameters define the string pattern to apply the "counter" paramters above | ||
| "value" = "Some string" that the user message should contain to be counted | ||
| as "RepeatMessageQuote" and /or "TotalMessagesQuote" define | ||
| > 0 the number of times the message can printed out across the entire output | ||
| the value zero and one have one and the same meaning | ||
| 0 - there is no repeatition, the message can be printed at once | ||
| 1 - the message can be printed one times only, so "0" == "1" | ||
| Example: | ||
| - - - - <param name="StringToCount" value="TPC"/> | ||
| Count only the messages with the string "TPC" in. | ||
| --> | ||
| <!-- <param name="RepeatMessageQuote" value="2"/> --> | ||
| <!-- <param name="StringToCount" value="My string to filter out pattern"/> --> | ||
| <!-- <param name="StringToCount" value="StageID="/> --> | ||
| <!-- <param name="RepeatMessageQuote" value="0"/> --> | ||
| <param name="RepeatMessageQuote" value="0"/> | ||
| </filter> | ||
| <filter class="StringMatchFilter"> | ||
| <!-- | ||
| Define the pattern to skip the embedded job tracking messages those contain the pattern | ||
| "StepEventId" | ||
| --> | ||
| <param name="StringToMatch" value="StageID=" /> | ||
| <param name="AcceptOnMatch" value="false" /> | ||
| <param name="AcceptOnMatch" value="StTriggerSimuMaker" /> | ||
|
|
||
| </filter> | ||
|
|
||
| </appender> | ||
|
|
||
|
|
||
| <appender name="MYSQL" class="org.apache.log4j.MySQLAppender"> | ||
| <layout class="org.apache.log4j.PatternLayout"> | ||
| <param name="ConversionPattern" value="INSERT INTO StarLogger VALUES ("%-3c{2}:%-5p %d - %m");"/> | ||
| </layout> | ||
| </appender> | ||
|
|
||
|
|
||
| <root> | ||
| <!-- <priority value ="DEBUG" /> --> | ||
| <priority value ="INFO" /> | ||
| <appender-ref ref="stdout" /> | ||
| <!--- <appender-ref ref="MYSQL" /> --> | ||
| </root> | ||
|
|
||
| </configuration> |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ | |
| #include "StTpcLocalSectorAlignedCoordinate.hh" | ||
| #include "StTpcLocalSectorDirection.hh" | ||
| #include "StTpcLocalSectorCoordinate.hh" | ||
| #include "Stiostream.h" | ||
fisyak marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| //________________________________________________________________________________ | ||
| StTpcLocalCoordinate::StTpcLocalCoordinate(double x, double y, double z) : StTpcCoordinate(x,y,z,0,0) {} | ||
| //________________________________________________________________________________ | ||
|
|
@@ -21,6 +22,8 @@ ostream& operator<<(ostream& os, const StTpcCoordinate& a) { | |
| return os << OS; | ||
| } | ||
| //________________________________________________________________________________ | ||
| void StTpcCoordinate::Print(Option_t *option) const {cout << *this << endl;} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does the use of cout and endl prompt the inclusion of
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ignored |
||
| //________________________________________________________________________________ | ||
| ostream& operator<<(ostream& os, const StTpcLocalDirection& a) { | ||
| return os << "TPC_Local Direction( (" << OS; | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.